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
2025-02-01 14:36:58 ERROR TORNADO :: [d996387] Uncaught exception in APIv2: AttributeError("'str' object has no attribute 'get'")
Request: GET /api/v2/history?page=1&limit=50&sort=[%22[%7B%5C%22field%5C%22:%5C%22date%5C%22,%5C%22type%5C%22:%5C%22desc%5C%22%7D]%22]&filter=%7B%7D&compact=true (192.168.1.121)
Traceback (most recent call last):
File "/share/CACHEDEV1_DATA/.qpkg/OMedusa/repo-cache/ext/tornado/web.py", line 1704, in _execute
result = await result
^^^^^^^^^^^^
File "/share/CACHEDEV1_DATA/.qpkg/OMedusa/repo-cache/ext/tornado/gen.py", line 769, in run
yielded = self.gen.throw(*exc_info) # type: ignore
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/share/CACHEDEV1_DATA/.qpkg/OMedusa/repo-cache/medusa/server/api/v2/base.py", line 64, in async_call
content = yield IOLoop.current().run_in_executor(executor, prepared)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/share/CACHEDEV1_DATA/.qpkg/OMedusa/repo-cache/ext/tornado/gen.py", line 762, in run
value = future.result()
^^^^^^^^^^^^^^^
File "/opt/lib/python3.11/concurrent/futures/thread.py", line 58, in run
File "/share/CACHEDEV1_DATA/.qpkg/OMedusa/repo-cache/medusa/server/api/v2/history.py", line 139, in get
field = sort[0].get('field').lower()
^^^^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
INFO
Python Version:
3.11.10 (main, Jan 14 2025, 07:39:54) [GCC 8.4.0]
Operating System:
Linux-5.10.60-qnap-x86_64-with-glibc2.27
Locale:
UTF-8
Branch: master
Database:
44.19
Commit: d996387
Link to Log: https://gist.github.com/papampi/4b9ab45f1b44402de2355a4b2268b238
ERROR
STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators
The text was updated successfully, but these errors were encountered: