ersilia-os / ersilia

The Ersilia Model Hub, a repository of AI/ML models for infectious and neglected disease research.
https://ersilia.io
GNU General Public License v3.0
224 stars 148 forks source link

🐛 Bug: ersilia -v fetch eos3b5e returns TypeError: expected str, bytes or os.PathLike object, not NoneType #337

Closed EstherIdabor closed 2 years ago

EstherIdabor commented 2 years ago

Describe the bug.

@GemmaTuron i am unable to fetch the dummy model eos3b5e and hence test the model as ersilia -v fetch eos3b5e is throwing a typeError as well as other addition error contained in error.log

Describe the steps to reproduce the behavior

I ensured I ran ersilia --help to make sure ersilia is installed and there is no error of installation. i also ran git-lfs --version to ensure git LFS is installed and then ran : ersilia -v fetch eos3b5e > error.log 2>&1

Expected behavior.

To fetch the model eos3b5e without errors

Screenshots.

A screensshot of the error below Screenshot (111)

No response

Operating environment

Ubuntu 18.04.5

Additional context

ersilia --help ersilia catalog
are both working fine Screenshot (108)

EstherIdabor commented 2 years ago

Hi @GemmaTuron this is the issue and I have been on it yet still thesame output

Malikbadmus commented 2 years ago

Hello @EstherIdabor, use this command conda activate ersilia to activate conda and then proceed with your fetch command.

EstherIdabor commented 2 years ago

Hi @Malikbadmus thanks for the response, I did that, the log shows the result of the fetch which is a typeerror

GemmaTuron commented 2 years ago

Hello @EstherIdabor !

You are facing the same issues as @Zainab-ik and @AnneO1, it is not related to Ersilia but it depends on your network configuration. See for example #323 The error lines that indicate that are the messages: NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fa5c16ce450>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/rdkit-pypi/

I hope we can solve this together, but you need to first check if you are using a VPN or similar.

EstherIdabor commented 2 years ago

Ok thank you @GemmaTuron