You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the cause of an ActivityTaskFailed is that a django model's .get() raised DoesNotExist, or MultipleObjectsReturned (and probably for many other errors). The JSON encoder encodes this into the details here
Python 3.4, botoflow 0.8, django 1.9
When the cause of an ActivityTaskFailed is that a django model's
.get()
raisedDoesNotExist
, orMultipleObjectsReturned
(and probably for many other errors). The JSON encoder encodes this into the details herehttps://github.com/boto/botoflow/blob/master/botoflow/data_converter/json_data_converter.py#L152
That leads to something like this
"__obj": [ "app.models:DoesNotExist", {}]
Which causes an error when trying to decode it here https://github.com/boto/botoflow/blob/master/botoflow/data_converter/json_data_converter.py#L189, since
app.models
does not haveDoesNotExist
, theDoesNotExist
is part of the model class which raised the error. IMO, the encoding should write something likeinstead. That might be impossible though :(
The text was updated successfully, but these errors were encountered: