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
203 stars 131 forks source link

šŸ› Bug: TypeError: expected str, bytes or os.PathLike object, not NoneType #321

Closed muskansawa closed 1 year ago

muskansawa commented 1 year ago

Describe the bug.

It fetches the model , after the fetch is completed it asks for password and then there is a traceback error every time , it also says : The operation couldnā€™t be completed. Unable to locate a Java Runtime that supports ap but i did install JAVA jdk from oracle.

it also has a type error in the end

Describe the steps to reproduce the behavior

  1. activate the ersilia environment
  2. run : ersilia -v fetch eos2re5

Expected behavior.

should fetch the model for me

Screenshots.

Screenshot 2022-10-12 at 12 19 37 PM

i have also found this error message:

image

in the end it gave traceback error of module not found

image

Operating environment

macos 12.6

Additional context

i have python 3.9.12 installed

P.S. these commands work fine for me : ersilia --help ersilia catalog

risper25 commented 1 year ago

Hi @muskansawa, do you have docker installed?

muskansawa commented 1 year ago

Hi @muskansawa, do you have docker installed?

yes i do Docker version 20.10.18, build b40c2f6b5d

Zainab-ik commented 1 year ago

I also encounter the same error while running the dummy model with the ersilia -v fetch eos3b5e ersilia serve eos3b5e model and I've been unable to run the model. @GemmaTuron

AnneO1 commented 1 year ago

I successfully installed ersilia until encountered same error while running the dummy model. On ersilia -v fetch eos3b5e i got these warning:

ersilia -v fetch eos3b5e warningerror

On ersilia serve eos3b5e i got the error:

ersilia serve eos3b5e erroroutput

GemmaTuron commented 1 year ago

Hello @muskansawa !

This model is quite particular because it requires python 2.7. I thought we had solved this issue but apparently not. Don't worry about this model and skip it for the moment, I need to think how to go about this error.

@Zainab-ik and @AnneO1 please open a bug with the model name, your error as you can see is not related to the error @muskansawa was having, check the screenshots and you will see different outputs. It will be easy to debug if you open an issue withthe specific log of the model error. I'll close this issue for model eos2r5e