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
Both of the above views trigger the following error:
Uncaught exception
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "fiftyone/core/client.py", line 155, in __setattr__
super().__setattr__(name, value)
File "fiftyone/core/session.py", line 85, in wrapper
self._update_state()
File "fiftyone/core/session.py", line 313, in _update_state
self.state = self.state
File "fiftyone/core/client.py", line 153, in __setattr__
self._hc_client.update(value)
File "fiftyone/core/client.py", line 101, in update
self.emit("update", {"data": data.serialize(), "include_self": False})
File "/lib/python3.6/site-packages/socketio/namespace.py", line 171, in emit
callback=callback)
File "/lib/python3.6/site-packages/socketio/client.py", line 344, in emit
binary=binary))
File "/lib/python3.6/site-packages/socketio/client.py", line 452, in _send_packet
encoded_packet = pkt.encode()
File "/lib/python3.6/site-packages/socketio/packet.py", line 71, in encode
encoded_packet += self.json.dumps(data, separators=(',', ':'))
File "/usr/lib/python3.6/json/__init__.py", line 238, in dumps
**kw).encode(obj)
File "/usr/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/lib/python3.6/json/encoder.py", line 180, in default
o.__class__.__name__)
TypeError: Object of type 'ObjectId' is not JSON serializable
Other info / logs
This was likely introduced in the original implementation, #616
I was also able to reproduce on develop by obtaining a sample/field ID manually from the app, so this is not specific to obj-selection:
System information
fiftyone --version
): 0.6.3 (85c0142)Commands to reproduce
On
obj-selection
(currently at 85c0142), select some objects in the app, then run:Describe the problem
Both of the above views trigger the following error:
Other info / logs
This was likely introduced in the original implementation, #616
I was also able to reproduce on develop by obtaining a sample/field ID manually from the app, so this is not specific to obj-selection:
What areas of FiftyOne does this bug affect?
App
: FiftyOne application issueCore
: Corefiftyone
Python library issueServer
: Fiftyone server issueThe text was updated successfully, but these errors were encountered: