-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Activity Hangs on Import #193
Comments
What version are you running? Do the logs say anything? |
Kapowarr version v1.0.0
Python version 3.8.17.final.0
Database version 27
This seems to be happening with GetComics. I've attached my logs.
On Thu, Oct 24, 2024 at 7:27 AM Casvt ***@***.***> wrote:
What version are you running? Do the logs say anything?
—
Reply to this email directly, view it on GitHub
<#193 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOSMGXZY2N3LPTMZV7EFTBLZ5DRUDAVCNFSM6AAAAABQP2JOJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVGE2TQMJSG4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[OP pasted extremely long logs here. Logs did not contain useful information. Removed from comment by Casvt to maintain readability of thread.]
|
The logs are cut off. It seems smarter to just share the log file that you can download at Settings -> General -> Logging -> Download Logs. |
That is the log I sent. Here is another copy in Debug logging. See if that
is what you need.
On Thu, Oct 24, 2024 at 9:43 AM Casvt ***@***.***> wrote:
The logs are cut off. It seems smarter to just share the log file that you
can download at Settings -> General -> Logging -> Download Logs.
—
Reply to this email directly, view it on GitHub
<#193 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOSMGXZI3RS7EKFV2P6H4T3Z5EBSLAVCNFSM6AAAAABQP2JOJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZVGQ4TQMRYGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
[OP pasted extremely long logs here. Logs did not contain useful information. Removed from comment by Casvt to maintain readability of thread. The last few lines of the logs OP shared, are left below, as they are referred to (they're cut off).]
2024-10-12T09:10:18-0500 | MainProcess | Task Handler | download_queue.pyL422 | INFO | Adding download for volume 142: https://getcomics.org/marvel/deadpool-1-2019/
2024-10-12T09:10:18-0500 | MainProcess | Task Handler | download_queue.pyL466 | WARNING | Unable to extract download links from source; fail_reason="No links found that match to volume and are not blocklisted"
2024-10-12T09:10:18-0500 | MainProcess | Task Handler | download_queue.pyL422 | INFO | Adding download for volume 184: https://getcomics.org/cat/dc/
2024-10-12T09:10:19-0500 | MainProcess | Task Han
|
The logs are still cut off. Go to the bottom of your own message, don't you see that the logs stop in the middle of the line? As I requested, please just share the downloaded file. Don't paste the logs in your message, share the file. |
I am having the same issue but I don't see anything in the logs about imports. OS: Docker on Debian Edit: I've noticed it happening on GetComics and Mega downloads. |
Thanks for responding. The logs indeed don't give any error whatsoever, which is weird. Normally when the queue stalls it's because there was some error. Can you set the logging level to DEBUG at Settings -> General -> Logging, then wait until the queue stalls again and then share the log file? Hope that will give more information. |
If you notice shutdowns/startups that's me restarting it from the GUI because I've noticed it's hung on import, it was hunt on Batman Gotham Nights (2020) Volume 01 Issue 021 and I restarted it and now it's moved to being hung on Batman Gotham Nights (2020) Volume 01 Issue 020. I do see an errors in the logs but I'm not sure they're related since they're not near the events related to the files I mentioned as examples and don't re-appear whenever it hangs. Kapowarr_log_2024_11_11_15_29.txt Edit: The error about a conversion failure due to the file not being a zip is due to it being corrupted even though it is a zip so that may have been because I restarted it during a move operation and it was a large zip file of several GBs. |
Sorry, if there are any errors they don't appear in the log file you're downloading, but they do appear in the console (using docker CLI, |
This is where mine is stuck currently.
```
[13:36:01][INFO] Postprocessing of successful download: 3
[13:36:01][WARNING] The file/folder /data/Fantastic Four/Volume 03
(1998)/Fantastic Four (1998) Volume 03 Issue 031 - 045.zip already exists;
replacing with downloaded file
Exception in thread Download Handler:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/threading.py", line 932, in
_bootstrap_inner
self.run()
File "/usr/local/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/app/backend/download_queue.py", line 124, in __run_download
PostProcesser.success(download)
File "/app/backend/post_processing.py", line 236, in success
cls._run_actions(cls.actions_success, download)
File "/app/backend/post_processing.py", line 230, in _run_actions
action(download)
File "/app/backend/post_processing.py", line 117, in convert_file
mass_convert(
File "/app/backend/conversion.py", line 243, in mass_convert
resulting_files = converter.convert(f)
File "/app/backend/converters.py", line 253, in convert
resulting_files = mass_rename(
File "/app/backend/naming.py", line 710, in mass_rename
cursor.executemany(
sqlite3.IntegrityError: UNIQUE constraint failed: files.filepath
```
…On Mon, Nov 11, 2024 at 3:26 PM Casvt ***@***.***> wrote:
Sorry, if there are any errors they don't appear in the log file you're
downloading, but they do appear in the console (using docker CLI, docker
logs kapowarr). Check there.
—
Reply to this email directly, view it on GitHub
<#193 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOSMGX22B7K7ZLYLDQEDDKL2AEOJDAVCNFSM6AAAAABQP2JOJOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRZGA2DOMJWGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
@hwwilliams I checked the log file and I'm pretty sure there is an error happening that is not logged in the log file. That is what I meant with:
To clarify, pretty much always the queue gets stuck because an error occurred. These errors are not logged to the file, but are sent to the console. So check the logs at Based on the logs you've given, the error will not be the same one as the one bigsteve76 has. @bigsteve76 thank you for supplying an error. Looking at the error, you've downloaded an archive covering multiple issues (correct, zip file for 31-45), you've set up that it gets extracted (the setting "Extract Archives Covering Multiple Issues"), Kapowarr succeeds in doing this, but when trying to rename the extracted files, it fails because files already existed with the planned new names. I'll update the handling of Kapowarr so that it handles this better, but the source of this problem is that Kapowarr downloaded for issues that were already downloaded. The file |
|
Experiencing this too, following up from reddit post.
|
In the activity log, the downloaded file hangs on import (100% Complete) until I restart the Docker instance on Unraid. Does not happen with every file, but does randomly. Will continue to next files after the restart. Downloading with Mega, GetComics, etc. No torrents. I've noticed it with GetComics, but not sure on the others.
The text was updated successfully, but these errors were encountered: