UnserializableValueError

Hi guys,
I see this error when I using rpc method to get a very big dict.

The dict is like
{"asd": [],
 "asdas": []}

I just modified the rpc.py and it worked. Please take a look at it.

        error = self.resp_body.get('error')
        if error:
            if error["exc_type"] == "UnserializableValueError":
                return eval(eval(error["value"].replace("Unserializable value: ", "")))
            raise deserialize(error)
        return self.resp_body['result']

image

@MMmaomao sorry, this got stuck in a moderation queue. Discourse thought you were a bot!

The screenshot cuts off the interesting part of the stacktrace. There is something in your return value that is not serializable to json.