Skip to content
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

[Bug]: Broken queue after failed video. #307

Closed
1 task done
pairofcrocs opened this issue Aug 15, 2022 · 4 comments
Closed
1 task done

[Bug]: Broken queue after failed video. #307

pairofcrocs opened this issue Aug 15, 2022 · 4 comments
Labels
bug Something isn't working

Comments

@pairofcrocs
Copy link
Contributor

Latest and Greatest

  • I'm running the latest version of Tube Archivist and have read the release notes.

Operating System

Unraid

Your Bug Report

Describe the bug

After a download fails, trying to manually download another video causes ALL downloads to not work.

You can't select "Start Download" because that will download the already failed video.
Ignoring the failed video, still hangs on the next video in the queue.

Steps To Reproduce

Download single video that was previously stuck (SER1RsBS_pY)

Press "Start Download"

Broke

Expected behavior

It should just download the video without failing.

Relevant log output

Pressing the "Start Download" button after the queue is broke, gives:

DcxpZA9tEyQ: downloading now
set task id: 4160ed19-52f7-4f09-905e-b2afdc190ca3
[2022-08-14 19:55:22,274: INFO/MainProcess] Task home.tasks.download_single[4160ed19-52f7-4f09-905e-b2afdc190ca3] received
[2022-08-14 19:55:22,276: WARNING/ForkPoolWorker-16] Added to queue with priority: DcxpZA9tEyQ
[2022-08-14 19:55:22,276: WARNING/ForkPoolWorker-16] Download queue already running.
[2022-08-14 19:55:22,277: INFO/ForkPoolWorker-16] Task home.tasks.download_single[4160ed19-52f7-4f09-905e-b2afdc190ca3] succeeded in 0.0018353695049881935s: None

Anything else?

It seems that TA thinks that there is a video downloading when that's not the case.

@bbilly1
Copy link
Member

bbilly1 commented Aug 16, 2022

So the interesting question would be, why the previous video failed to download?

In any case, you can release any lingering locks by restarting the container, there is a check at startup.

Then we'll need to find a better way on how to validate that, to see if the task is actually running or not...

@bbilly1 bbilly1 added the bug Something isn't working label Aug 16, 2022
@pairofcrocs
Copy link
Contributor Author

Yeah the restart works, just knew that this wasn’t normal behavior :)

@p-rintz
Copy link

p-rintz commented Jan 25, 2023

This is happening pretty often for me. At least once every two/three days.

I cant find any information in the logs about which video failed why.

A restart fixes the issue, but having to manually restart the container is getting tiresome after a while 😄

Is there anything I can provide that will help in debugging this?

@bbilly1
Copy link
Member

bbilly1 commented Apr 10, 2023

This problem is now addressed in v0.3.5, please update.

@bbilly1 bbilly1 closed this as completed Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants