From 4b7f5459be2ad1914b12dad457ce3be7ef7a370e Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Tue, 24 Jun 2025 10:53:57 -0400 Subject: [PATCH] [project] Add new task for TV series bug --- PROJECT.org | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/PROJECT.org b/PROJECT.org index 8e450b5..1c5cecc 100644 --- a/PROJECT.org +++ b/PROJECT.org @@ -1,6 +1,35 @@ #+title: TODOs * Backlog [5/21] +** TODO [#A] Fix small bug in views for TV series where next episode is now None :vrobbler:bug:personal:videos: + +#+begin_src python +ERROR django.request:241 log_response Internal Server Error: /series/c24100d1-da45-4abe-86bf-27cfce9b1f89/ +Traceback (most recent call last): + File "/usr/local/lib/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner + response = get_response(request) + ^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.11/site-packages/django/views/generic/base.py", line 104, in view + return self.dispatch(request, *args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.11/site-packages/django/contrib/auth/mixins.py", line 73, in dispatch + return super().dispatch(request, *args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.11/site-packages/django/views/generic/base.py", line 143, in dispatch + return handler(request, *args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.11/site-packages/django/views/generic/detail.py", line 109, in get + context = self.get_context_data(object=self.object) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/usr/local/lib/python3.11/site-packages/vrobbler/apps/videos/views.py", line 33, in get_context_data + context_data["next_episode_id"] = "tt" + next_episode_id + ~~~~~^~~~~~~~~~~~~~~~~ +TypeError: can only concatenate str (not "NoneType") to str +#+end_src + ** TODO [#A] Send periodic check notifications for board games and beer that ask if you're still scrobbling :vrobbler:personal:project:beers:boardgames:notifications:feature: ** TODO [#A] Fix raw text webpage title not truncating to 254 chars :vrobbler:personal:bug:webpages: ** TODO [#A] Fix koreader scrobble imports to use DST properly :vrobbler:personal:bug:books:imports: