Skip to content

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

@YasCoMa

Description

@YasCoMa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions