TypeError

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
Hello,

I receive the following error popup just about every time I navigate to the Apps Menu.

Title: TypeError
Description: Object of type set is not JSON serializable
More Info:
Code:
Error: Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 147, in call_method
    self._send({
  File "/usr/lib/python3/dist-packages/middlewared/main.py", line 97, in _send
    asyncio.run_coroutine_threadsafe(self.response.send_str(json.dumps(data)), loop=self.loop)
  File "/usr/lib/python3/dist-packages/middlewared/client/ejson.py", line 39, in dumps
    return json.dumps(obj, cls=JSONEncoder, **kwargs)
  File "/usr/lib/python3.9/json/__init__.py", line 234, in dumps
    return cls(
  File "/usr/lib/python3.9/json/encoder.py", line 199, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/lib/python3.9/json/encoder.py", line 257, in iterencode
    return _iterencode(o, 0)
  File "/usr/lib/python3/dist-packages/middlewared/client/ejson.py", line 18, in default
    return super(JSONEncoder, self).default(obj)
  File "/usr/lib/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type set is not JSON serializable


Current Train: TrueNAS-SCALE-Angelfish-BETA
TrueCharts Catalog is installed as well - Installed apps include Plex (Official IX), Handbrake & Emby (TrueCharts) and a manual working install of 7 Days to Die Dedicated Server.

Any other information I should provide?
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Can you disable the "7 Days" app to see if its the culprit?

Suggest you Report as a bug if you can't find a similar bug entry.
 

Zain

Contributor
Joined
Mar 18, 2021
Messages
124
7 Days was disabled when that error populated this morning.

I will report it as a bug. Thanks!
 
Top