Casvt / Kapowarr

Kapowarr is a software to build and manage a comic book library, fitting in the *arr suite of software.
https://casvt.github.io/Kapowarr/
GNU General Public License v3.0
389 stars 14 forks source link

Imported files show up in Library Import #167

Closed dangioffre closed 1 month ago

dangioffre commented 1 month ago

I installed Kapowarr. I was using Mylar.

I have a decent-sized library that needs to be imported into Kapowarr. I am only doing the import by 5 because of API limit.

I ran in import of 5. It showed me 5 comics. It loaded. It imported. I waited about 30 minutes or so before trying a new import but when I do a new import. It shows me the same 5 comics I already imported.

Kapowarr version | v1.0.0-beta-4

Logs:

[2024-07-18 14:13:45][waitress-4][INFO] Loading library import [2024-07-18 14:14:04][waitress-4][INFO] Starting library import [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added [2024-07-18 14:14:04][waitress-4][WARNING] Volume is already added

Casvt commented 1 month ago

The files are for a volume that is already in your library. However, the files haven't matched to the volume in your library. They're not matched, so they pop up in Library Import. What are the filenames and what is the volume (that is already in your library) that they are for?

dangioffre commented 1 month ago

Thanks for the reply.

So I had a folder that has 100s of series but that was when I was using Mylar. So of those series are still active and releasing. I just installed Kapowarr a few hours a go and I wanted to import those comics into Kapowarr. So I went to Volume -> Library Import. I told it to Scan 5 folders to add into volumes and it worked. So I went to add more comics from my folder into Kapowarr volume but it only shows me the 5 folders I just did.

Example: "A Hunted girl" image which I already imported is in my library but if I go to import more comics. It shows me the same one again. image

My Folder: image

Casvt commented 1 month ago

Ah you've reproduced a bug that was 'lost'. A few months ago, a few people encountered this too, I was unable to reproduce it, but they also wouldn't respond when I asked for extra information.

It happens only when running directly on Windows. The file path of the file doesn't match up with the file path registered in the database, even though they refer to the same file.

If you feel comfortable doing so, could you share your database file with me via Discord DM? The information stored inside should be sufficient for finally figuring out what is happening, but if I need more information I'll message you here again of course.

dangioffre commented 1 month ago

We are not on windows. We are on a QNAP using docker.

I just mapped my PC to the QNAP so I can easily look at files.

I can touch base with you on Discord tho.

Casvt commented 1 month ago

Hmm that's interesting. Up to now, the people encountering this were always directly on Windows. Please DM me your database on discord and we can troubleshoot further there.

Casvt commented 1 month ago

dangioffre started fresh and it fixed the problem. We were not able to find the cause of the problem and cannot afterwards. For any other people reading, please report any similar problems here.