rtd icon indicating copy to clipboard operation
rtd copied to clipboard

rtd does not start because of dependency?

Open alochschmied opened this issue 11 years ago • 6 comments

After following the steps here http://rtd.xolv.io/ there is:

-bash-4.2$ ./rtd Downloading http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip Downloading http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar Warning: Corrupted zip : can't find end of central directory Use --force to continue. Aborted due to warnings.

After trying to run ./rtd again, there is:

bash-4.2$ ./rtd Downloading reason: SHA configured in rtd.config.js does not match '2d505ae37d16030d07b4cf2760222ca54b15603b' ownloading http://chromedriver.storage.googleapis.com/2.9/chromedriver_linux64.zip Downloading reason: SHA configured in rtd.config.js does not match '2d505ae37d16030d07b4cf2760222ca54b15603b' Downloading http://selenium.googlecode.com/files/selenium-server-standalone-2.39.0.jar Warning: Corrupted zip : can't find end of central directory Use --force to continue. Aborted due to warnings.

Any suggestion how to avoid this would be great.

Thanks, Alexander

alochschmied avatar Feb 14 '14 08:02 alochschmied

You need to specify the correct version of selenium-server to use for your OS. Looking at rtd.conf.js, it seems that Mac os X and Linux 64bits only are defined.

AdrienLemaire avatar Feb 17 '14 05:02 AdrienLemaire

Thanks for the idea. OS is however Fedora x86_64. I also notice that downloading the jar manually with wget and then manually calculating the sha1 hash returns the value that is also specified in the config file. Are proxy settings used by whatever is downloading the jar in rtd?

alochschmied avatar Feb 17 '14 08:02 alochschmied

no proxy settings are used, it's just a plain old request. Did you manage to get this resolved?

samhatoum avatar Mar 02 '14 06:03 samhatoum

No. We are behind a corporate proxy and thus depend on proxy settings being used.

alochschmied avatar Mar 04 '14 10:03 alochschmied

Is there a plan to use proxy?

alochschmied avatar Mar 13 '14 13:03 alochschmied

There isn't at the moment but a pull request is welcome :)

samhatoum avatar Mar 17 '14 07:03 samhatoum