Medusa icon indicating copy to clipboard operation
Medusa copied to clipboard

[APP SUBMITTED]: AttributeError: 'NoneType' object has no attribute 'paused'

Open Anatharias opened this issue 2 years ago • 2 comments

INFO

Python Version: 3.9.13 (main, Jul 26 2022, 13:12:30) [GCC 10.3.1 20211027] Operating System: Linux-3.10.105-x86_64-with Locale: UTF-8 Branch: master Database: 44.19 Commit: pymedusa/Medusa@d45caa6b010ad704f4fa84ad120ef4e0b8402e30 Link to Log: No Log available

ERROR

2022-09-04 10:47:39 ERROR    TORNADO :: [d45caa6] API :: AttributeError("'NoneType' object has no attribute 'paused'")
Traceback (most recent call last):
  File "/app/medusa/medusa/server/api/v1/core.py", line 165, in get
    out_dict = _call_dispatcher(args, kwargs)
  File "/app/medusa/medusa/server/api/v1/core.py", line 235, in call_dispatcher
    cur_out_dict = func(cur_args, cur_kwargs).run()  # call function and get response
  File "/app/medusa/medusa/server/api/v1/core.py", line 2452, in run
    error, show = Show.pause(INDEXER_TVDBV2, self.indexerid, self.pause)
  File "/app/medusa/medusa/show/show.py", line 208, in pause
    show.paused = pause
AttributeError: 'NoneType' object has no attribute 'paused'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

Anatharias avatar Sep 04 '22 17:09 Anatharias

I see that you are using the apiv1. In what context are you using the api?

p0psicles avatar Sep 05 '22 08:09 p0psicles

Hey, I have zero idea how this has been in use. idk what it is used for. So if this is bad, please give me pointers on how to no longer use it. thx

Anatharias avatar Sep 06 '22 10:09 Anatharias