error running prodigy on macOS Mojave

I am running Prodigy - prodigy-1.6.1-cp35.cp36.cp37-cp35m.cp36m.cp37m-macosx_10_13_x86_64.whl - on a MAcOS 10.14.6 (Mojave).
The Prodigy service starts, but I get the following errors when I call the service:

Traceback (most recent call last):
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/waitress/channel.py", line 356, in service
task.service()
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/waitress/task.py", line 172, in service
self.execute()
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/waitress/task.py", line 440, in execute
app_iter = self.channel.server.application(environ, start_response)
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/hug/api.py", line 502, in api_auto_instantiate
return module.hug_wsgi(*args, **kwargs)
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/falcon/api.py", line 286, in call
process_response(req, resp, resource, req_succeeded)
TypeError: process_response() takes 4 positional arguments but 5 were given
22:56:57 - Exception while serving /favicon.ico
Traceback (most recent call last):
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/waitress/channel.py", line 356, in service
task.service()
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/waitress/task.py", line 172, in service
self.execute()
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/waitress/task.py", line 440, in execute
app_iter = self.channel.server.application(environ, start_response)
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/hug/api.py", line 502, in api_auto_instantiate
return module.hug_wsgi(*args, **kwargs)
File "/opt/anaconda3/envs/aic/lib/python3.6/site-packages/falcon/api.py", line 286, in call
process_response(req, resp, resource, req_succeeded)
TypeError: process_response() takes 4 positional arguments but 5 were given

It looks very much like some dependency problems, but I cannot figure out what it is.

Can anyone help me solving this annoying problem :slight_smile:


package versions:

pip freeze

blis==0.2.4
cachetools==3.1.1
certifi==2019.9.11
channel==0.1.0
chardet==3.0.4
Click==7.0
cymem==2.0.2
cytoolz==0.9.0.1
dill==0.2.9
Django==2.2.6
django-class==2019.4.13
falcon==2.0.0
Flask==1.1.1
hug==2.6.0
hug-middleware-cors==1.0.0
idna==2.8
itsdangerous==1.1.0
Jinja2==2.10.1
jsonschema==2.6.0
MarkupSafe==1.1.1
mmh3==2.5.1
msgpack==0.5.6
msgpack-numpy==0.4.3.2
murmurhash==1.0.2
numpy==1.17.2
peewee==2.10.2
plac==0.9.6
preshed==2.0.1
prodigy==1.6.1
public==2019.4.13
pytz==2019.3
regex==2018.1.10
requests==2.22.0
six==1.12.0
spacy==2.0.18
sqlparse==0.3.0
srsly==0.1.0
task==2019.6.11
thinc==6.12.1
toolz==0.10.0
tqdm==4.35.0
ujson==1.35
urllib3==1.25.3
waitress==1.3.1
wasabi==0.2.2
Werkzeug==0.15.6
wrapt==1.10.11

Hi! Could you try downgrading hug to 2.4.1? Not sure if that's what's going on, but maybe you ended up with a newer version pre-installed in your environment.

that helped - now it is working !

Thanks a lot !! :slight_smile:

1 Like