Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken recipe on installing from conda env linux v.20 #206

Open
YasCoMa opened this issue Oct 10, 2023 · 0 comments
Open

Broken recipe on installing from conda env linux v.20 #206

YasCoMa opened this issue Oct 10, 2023 · 0 comments

Comments

@YasCoMa
Copy link

YasCoMa commented Oct 10, 2023

The first error that appears is that it returns an error of max recursions exceeded, this was solved by installing chromium-chromedriver by apt. This information is in binder folder but it is not mentioned in the main readme.

Next error:
ValueError: There is no such driver by url https://chromedriver.storage.googleapis.com/LATEST_RELEASE_117.0.5938
Indeed it will try to download the latest driver but in the xml returned, the latest version existing is the 114....

Two additional steps are needed to get it launched correctly, to fix this last error:

  • Download the latest driver from other source for 117.0.5938
  • Pass the path instead of calling the install() method in WebResource.py line 53: WEB_BROWSER_HEADLESS = webdriver.Chrome( "/home//.wdm/drivers/chromedriver/linux64/117.0.5938.149/chromedriver-linux64/chromedriver", options=chrome_options )
  • Update the selenium package: pip3 install selenium==4.9.0

Then, it works, :)

I think it is useful to mention in the main readme that to parse and retrieve ontologies data from ncbo bioportal one has to get an account and setup the access api key and create and .env file attaching this token to BIOPORTAL_TOKEN variable. The person only discovers this procedure while testing one of command line examples. Then one has to go to utils.py line, then jump to config.py and then read the commented lines guiding to the .env file generation with the variables.

The check functionality also depends on the mongo db server running and its port enable to listen. The user only discovers checking the log info. This starter conditions could be added in the main read me since the docs pages do not cover these configurations and they are needed to test the pages.

When using the cli.py commands the pandas is required but it is not in the env dependency list yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant