Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[APP SUBMITTED]: AttributeError: 'NoneType' object has no attribute 'isoformat' #10343

Closed
nydave69 opened this issue Feb 13, 2022 · 1 comment

Comments

@nydave69
Copy link

INFO

Python Version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
Operating System: Windows-7-6.1.7601-SP1
Locale: cp1252
Branch: master
Database: 44.19
Commit: dd0b950
Link to Log: No Log available

ERROR

2022-02-13 08:15:12 ERROR    TORNADO :: [dd0b950] Uncaught exception in APIv2: AttributeError("'NoneType' object has no attribute 'isoformat'")
Request: GET /api/v2/internal/getEpisodeBacklog?period=all&status=all (192.168.10.75)
Traceback (most recent call last):
  File "C:\Medusa\Medusa\ext\tornado\web.py", line 1704, in _execute
    result = await result
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 769, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Medusa\Medusa\medusa\server\api\v2\base.py", line 64, in async_call
    content = yield IOLoop.current().run_in_executor(executor, prepared)
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 762, in run
    value = future.result()
  File "C:\Medusa\Python\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Medusa\Medusa\medusa\server\api\v2\internal.py", line 68, in get
    return resource_function()
  File "C:\Medusa\Medusa\medusa\server\api\v2\internal.py", line 407, in resource_get_episode_backlog
    cur_result['airdate'] = air_date.isoformat('T')
AttributeError: 'NoneType' object has no attribute 'isoformat'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

@nydave69
Copy link
Author

INFO

Python Version: 3.7.3 (v3.7.3:ef4ec6ed12, Mar 25 2019, 22:22:05) [MSC v.1916 64 bit (AMD64)]
Operating System: Windows-7-6.1.7601-SP1
Locale: cp1252
Branch: master
Database: 44.19
Commit: e4870f8
Link to Log: No Log available

ERROR

2022-04-21 11:54:25 ERROR    TORNADO :: [e4870f8] Uncaught exception in APIv2: AttributeError("'NoneType' object has no attribute 'isoformat'")
Request: GET /api/v2/internal/getEpisodeBacklog?period=all&status=all (192.168.10.76)
Traceback (most recent call last):
  File "C:\Medusa\Medusa\ext\tornado\web.py", line 1704, in _execute
    result = await result
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 769, in run
    yielded = self.gen.throw(*exc_info)  # type: ignore
  File "C:\Medusa\Medusa\medusa\server\api\v2\base.py", line 64, in async_call
    content = yield IOLoop.current().run_in_executor(executor, prepared)
  File "C:\Medusa\Medusa\ext\tornado\gen.py", line 762, in run
    value = future.result()
  File "C:\Medusa\Python\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Medusa\Medusa\medusa\server\api\v2\internal.py", line 70, in get
    return resource_function()
  File "C:\Medusa\Medusa\medusa\server\api\v2\internal.py", line 409, in resource_get_episode_backlog
    cur_result['airdate'] = air_date.isoformat('T')
AttributeError: 'NoneType' object has no attribute 'isoformat'

STAFF NOTIFIED: @pymedusa/support @pymedusa/moderators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants