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: TypeError: No registered converter was able to produce a C++ rvalue #383

Closed muskansawa closed 2 years ago

muskansawa commented 2 years ago

Describe the bug.

facing an error whilst runningersilia -v api calculate -i "eml_canonical.csv" -o "output.csv" but this ersilia -v api calculate -i "CCCC" works fine with the same model

TypeError: No registered converter was able to produce a C++ rvalue of type std::basic_string<wchar_t, std::char_traits, std::allocator > from this Python object of type NoneType

Describe the steps to reproduce the behavior

  1. ersilia -v fetch eos2mrz
  2. ersilia serve eos2mrz
  3. ersilia -v api calculate -i 'input.csv' -o 'output.csv'

Expected behavior.

to give the predictions in input.csv file

Screenshots.

image

at the end it mentions a type error: image

Operating environment

ubuntu on WSL

Additional context

No response

muskansawa commented 2 years ago
  1. make sure to put the names of the csv files under a quotation mark
  2. make sure the input csv file is in your current working directory, double check by doing anls on your terminal