i am using v8.0.79-master (Sakuya Splendide, 4242db8f)
I have uploaded some songs with that version and it seems that I also need to synchronize with our repository after that.
When i select only our repository and push on sycnronize following error i get
I can reproduce this issue on kmapp 8.0.79 and kmserver on latest master; Download in general works with “Update all repositories” or when manually clicking on the download button of a song, but the “Synchronize” button causes an error:
05/26/2025 8:49:11 PM - Downloads: Unable to queue new download : error: null value in column "name" of relation "download" violates not-null constraint
{
"code": "23502",
"column": "name",
"detail": "Failing row contains (ae66db14-203a-4fd5-b8d9-805ccedc9ece, null, 5266373, DL_PLANNED, 2025-05-26 20:49:11.38336, repo.eventkoe.de, ENG - Chvrches - IS - Graffiti.mp4, 5956532b-41e6-49e0-ba81-1121672e677f).",
"file": "execMain.c",
"length": 374,
"line": "2003",
"name": "error",
"routine": "ExecConstraints",
"schema": "public",
"severity": "ERROR",
"table": "download"
}
karas in the repository haven’t been updated to UUID
Yes currently it’s mixed: A few newer karas have UUIDs but most older ones are still on songname.
Can we switch to UUIDs alltogether (was there a script for that?) without much hassle on user side or would it be easier to make the changes in app and keep going on like that?
Having mixed UUIDs/non-UUIDs isn’t the issue. Songnames missing is, though.
I just pushed a commit to next which should allievate that issue except for quizzes, but I’ll have to look into it further and see what can be done. (as of now, quizzes might display a null result to users when displaying the song’s name when revealing the final answer. Perhaps.)
Repos can be converted to UUIDs via the “convert to UUID format” button in the repository settings page in system panel. There’s no way to just fill in the songnames in kara files.
Thank you for the quick fix! I tested the commit in the current master and the synchronization works again without errors. Quizzes are not relevant in this case.
Since KOE is in preparation for Dokomi next week, is there another way to download all medias or are there chances to do a release including this fix?