Here are some log error that I could trace-
Process Process-3:
Traceback (most recent call last):
File "/home/ubuntu/prodigy17/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4380, in get_value
return libindex.get_value_box(s, key)
File "pandas/_libs/index.pyx", line 52, in pandas._libs.index.get_value_box
File "pandas/_libs/index.pyx", line 48, in pandas._libs.index.get_value_at
File "pandas/_libs/util.pxd", line 113, in pandas._libs.util.get_value_at
File "pandas/_libs/util.pxd", line 98, in pandas._libs.util.validate_indexer
TypeError: 'str' object cannot be interpreted as an integer
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self._kwargs)
File "/home/ubuntu/Gurki-prodigy/prodigyserver/prodigyserver/annotation.py", line 344, in creating_gl_user_streams
stream.runner_func()
File "annotationtool/annotationStreams.py", line 599, in runner_func
user_obj.runProdigy() #not being called for the last port/annotator
File "annotationtool/annotationStreams.py", line 98, in runProdigy
stream = self.createStream()
File "annotationtool/annotationStreams.py", line 396, in createStream
for _, row in tagging_df.iterrows()]
File "annotationtool/annotationStreams.py", line 396, in
for _, row in tagging_df.iterrows()]
File "/home/ubuntu/prodigy17/lib/python3.6/site-packages/pandas/core/series.py", line 868, in getitem
result = self.index.get_value(self, key)
File "/home/ubuntu/prodigy17/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4388, in get_value
raise e1
File "/home/ubuntu/prodigy17/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 4374, in get_value
tz=getattr(series.dtype, 'tz', None))
File "pandas/_libs/index.pyx", line 81, in pandas._libs.index.IndexEngine.get_value
File "pandas/_libs/index.pyx", line 89, in pandas._libs.index.IndexEngine.get_value
File "pandas/_libs/index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1601, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1608, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'delivery'
I think it has something to do with the data that I am providing but the problem is, I am not able to figure out why would it fail for only the last port always. annotation.py and annotationStream.py is the code written by us.