[release] Bump to version 50.2
All checks were successful
build / test (push) Successful in 2m6s
deploy / test (push) Successful in 2m7s
deploy / build-and-deploy (push) Successful in 35s

- Koreader imports only import single-page scrobbles the next day
- Fix bugs in celery tasks causing imports to fail
This commit is contained in:
2026-06-11 09:58:56 -04:00
parent 248d3f2d3e
commit 0a880a2f2f
2 changed files with 25 additions and 3 deletions

View File

@ -88,7 +88,7 @@ fetching and simple saving.
*** Metadata sources *** Metadata sources
**** Scraper **** Scraper
* Backlog [1/17] :vrobbler:project:personal: * Backlog [0/15] :vrobbler:project:personal:
** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :vrobbler:personal:bug:music:scrobbles: ** TODO [#C] Create small utility to clean up tracks scrobbled with wonky playback times :vrobbler:personal:bug:music:scrobbles:
:PROPERTIES: :PROPERTIES:
:ID: 702462cf-d54b-48c6-8a7c-78b8de751deb :ID: 702462cf-d54b-48c6-8a7c-78b8de751deb
@ -544,6 +544,7 @@ log a warning and move on.
We should have a global view `/favorites/` that shows the logged in users's We should have a global view `/favorites/` that shows the logged in users's
favorited media objects. favorited media objects.
* Version 50.2 [2/2]
** DONE [#B] Koreader imports only import single-page scrobbles the next day :bug:books:importers: ** DONE [#B] Koreader imports only import single-page scrobbles the next day :bug:books:importers:
:PROPERTIES: :PROPERTIES:
:ID: b50141fd-cda6-4a3a-afd3-cd8499e7523e :ID: b50141fd-cda6-4a3a-afd3-cd8499e7523e
@ -554,7 +555,7 @@ favorited media objects.
When you read a single page in a book in Koreader and try to import it, the scrobble is only When you read a single page in a book in Koreader and try to import it, the scrobble is only
created the day after, not on the day of the reading. created the day after, not on the day of the reading.
** STRT [#A] Fix bugs in celery tasks causing imports to fail :bug:celery:tasks: ** DONE [#A] Fix bugs in celery tasks causing imports to fail :bug:celery:tasks:
:PROPERTIES: :PROPERTIES:
:ID: d1171cb0-6413-44b8-a68a-019a4d2fb285 :ID: d1171cb0-6413-44b8-a68a-019a4d2fb285
:END: :END:
@ -565,6 +566,7 @@ Seems like all celery tasks are failing for different reasons except the chart
updates. updates.
*** Errors *** Errors
**** scrobbles.tasks.send_notification_for_in_progress
#+begin_src bash #+begin_src bash
KeyError: 'track' KeyError: 'track'
@ -579,6 +581,26 @@ LINE 1: ..."."title", "music_track"."base_run_time_seconds", "music_tra...
^ ^
HINT: Perhaps you meant to reference the column "music_track.artist_fk_id". HINT: Perhaps you meant to reference the column "music_track.artist_fk_id".
#+end_src #+end_src
**** scrobbles.tasks.import_from_webdav_all_users
#+begin_src bash
File "/usr/local/lib/python3.11/site-packages/vrobbler/apps/scrobbles/importers/webdav.py", line 166, in scan_webdav_for_koreader
if last_import and last_import.webdav_etag and remote_etag:
^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'KoReaderImport' object has no attribute 'webdav_etag'
#+end_src
**** scrobbles.tasks.process_bgstats_import
#+begin_src bash
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/django/db/backends/utils.py", line 89, in _execute
return self.cursor.execute(sql, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
psycopg2.errors.NotNullViolation: null value in column "visibility" of relation "scrobbles_scrobble" violates not-null constraint
DETAIL: Failing row contains (374463, 2026-06-11 13:27:06.528319+00, 2026-06-11 13:27:06.52834+00, 2026-06-11 13:17:34+00, 180, f, f, BG Stats, 1, null, t, {"players": [{"new": false, "win": false, "rank": 0, "role": "",..., null, null, null, 8e73ceec-b731-4623-9637-712bbf9f76ce, null, null, null, null, , null, BoardGame, 324, null, null, America/New_York, null, null, , null, null, , null, null, null, null, null, null, null, null, null, null, null).
#+end_src
* Version 50.1 [1/1] * Version 50.1 [1/1]
** DONE [#B] Fix bug in charts where only #1 is displayed :charts:templates: ** DONE [#B] Fix bug in charts where only #1 is displayed :charts:templates:
:PROPERTIES: :PROPERTIES:

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "vrobbler" name = "vrobbler"
version = "50.1" version = "50.2"
description = "" description = ""
authors = ["Colin Powell <colin@unbl.ink>"] authors = ["Colin Powell <colin@unbl.ink>"]