# process\_response error when serving Prodigy

**URL:** <https://support.prodi.gy/t/process-response-error-when-serving-prodigy/1509>\
**Category:** Uncategorized\
**Tags:** install, solved\
**Created:** [May 10, 2019, 9:35am UTC](https://support.prodi.gy/t/process-response-error-when-serving-prodigy/1509 "2019-05-10T09:35:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramesh](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@ramesh](https://support.prodi.gy/u/ramesh)\
**Post date:** [May 10, 2019, 9:35am UTC](https://support.prodi.gy/t/process-response-error-when-serving-prodigy/1509/1 "2019-05-10T09:35:46Z")

</div>

Hi,

Installed “prodigy-1.5.1-cp35.cp36-cp35m.cp36m-linux\_x86\_64.whl” on ubuntu 18.04.

When I am trying to invoke prodigy url to annotate, facing the below error.  
Internal Server Error

Traceback (most recent call last):  
File “/home/ramesh/anaconda3/envs/nlp/lib/python3.6/site-packages/waitress/channel.py”, line 356, in service  
task.service()  
File “/home/ramesh/anaconda3/envs/nlp/lib/python3.6/site-packages/waitress/task.py”, line 176, in service  
self.execute()  
File “/home/ramesh/anaconda3/envs/nlp/lib/python3.6/site-packages/waitress/task.py”, line 447, in execute  
app\_iter = self.channel.server.application(env, start\_response)  
File “/home/ramesh/anaconda3/envs/nlp/lib/python3.6/site-packages/hug/api.py”, line 491, in api\_auto\_instantiate  
return module. **hug\_wsgi** (\*args, \*\*kwargs)  
File “falcon/api.py”, line 289, in falcon.api.API. **call**  
File “falcon/api.py”, line 286, in falcon.api.API. **call**  
TypeError: process\_response() takes 4 positional arguments but 5 were given

(generated by waitress)

* * *

Installed packages and version:

falcon (2.0.0)  
hug (2.5.1)  
hug-middleware-cors (1.0.0)  
spacy (2.0.13)  
thinc (6.10.3)  
waitress (1.3.0)

Please advise.

Thanks,  
ramesh.

---

<div class="post-metadata">

**Author:** ![ramesh](https://avatars.discourse-cdn.com/v4/letter/r/d07c76/32.png) [@ramesh](https://support.prodi.gy/u/ramesh)\
**Post date:** [May 10, 2019, 10:17am UTC](https://support.prodi.gy/t/process-response-error-when-serving-prodigy/1509/2 "2019-05-10T10:17:07Z")

</div>

Never mind.

This is working for me by changing versions as  
falcon==1.4.1  
hug==2.4.1  
thinc==6.10.3  
spacy==2.0.12  
prodigy==1.5.1

Thanks,  
ramesh.

---

<div class="post-metadata">

**Author:** ![ines](https://sea2.discourse-cdn.com/flex020/user_avatar/support.prodi.gy/ines/32/3_2.png) [@ines](https://support.prodi.gy/u/ines)\
**Post date:** [May 10, 2019, 11:36am UTC](https://support.prodi.gy/t/process-response-error-when-serving-prodigy/1509/3 "2019-05-10T11:36:13Z")

</div>

Thanks for updating with your solution! I think this might be related to an update to Hug or conflicting dependency versions. I’ll have a look to see if there’s anything we need to pin more strictly / explicitly for the next release.

---

<div class="post-metadata">

**Author:** ![araykhel](https://avatars.discourse-cdn.com/v4/letter/a/e9bcb4/32.png) [@araykhel](https://support.prodi.gy/u/araykhel)\
**Post date:** [May 10, 2019, 7:18pm UTC](https://support.prodi.gy/t/process-response-error-when-serving-prodigy/1509/4 "2019-05-10T19:18:30Z")

</div>

RAMESH THANK YOU SO MUCH! We were banging our heads against the wall the past day wondering why suddenly things stopped working.
