[SQS-Script] Completion-Propagation/DMCA/Retention check

Share your scripts or request scripts with specific features.
Forum rules
Please keep the forum clean - one topic per script. Questions not related to a specific script should be posted in Support forum.
kloaknet
Posts: 328
Joined: 23 Jul 2014, 08:52

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by kloaknet » 31 Aug 2018, 15:40

tintin wrote:
25 Aug 2018, 12:36
The nzb is valid. nzbget is able to process it just fine. I'm adding nzb through the watch directory feature, may be the script is trying to read the nzb file while it's still being downloaded?
please PM me the nzb that is causing the issue.

also check if in your settings in NZBGet the joingroup command is set to yes in your case.

tintin
Posts: 3
Joined: 21 Aug 2018, 06:56

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by tintin » 31 Aug 2018, 17:14

I pmed an nzb that is seen as invalid by the script but downloads just fine in nzbget. I also enabled the joingroup command on all my news servers, but so far it didn't have any effect on new nzbs.

AmericanGringo
Posts: 1
Joined: 17 Oct 2018, 04:22

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by AmericanGringo » 17 Oct 2018, 04:33

Starting today, I began getting this error and I can't figure out how to stop it. I haven't changed any settings at all, and it has been working fine for the last several months. The only event that occurred was I ran out of disk space, nzbget autopaused, and I resumed like normal (this has happened several times and has never been an issue in the past).

I redownloaded the script, setup a new docker image, cleared out the lock file... It is happening with every nzb, not just a few. If I manually resume them, they download completely fine.

Any ideas? Tried searching through the history a bit, couldn't find what I was looking for.

Code: Select all


[INFO] Completion: Traceback (most recent call last):
[INFO] Completion:   File "/config/scripts/Completion.py", line 1702, in <module>
[INFO] Completion:     main()
[INFO] Completion:   File "/config/scripts/Completion.py", line 1678, in main
[INFO] Completion:     if 'NZBNA_NZBNAME' in os.environ: queue_call()
[INFO] Completion:   File "/config/scripts/Completion.py", line 1582, in queue_call
[INFO] Completion:     if not lock_file():  # check if script is not already running
[INFO] Completion:   File "/config/scripts/Completion.py", line 1330, in lock_file
[INFO] Completion:     time_stamp = int(fd.readline())
[INFO] Completion: ValueError: invalid literal for int() with base 10: ''

kloaknet
Posts: 328
Joined: 23 Jul 2014, 08:52

Re: [SQS-Script] Completion-Propagation/DMCA/Retention check

Post by kloaknet » 19 Oct 2018, 19:09

AmericanGringo wrote:
17 Oct 2018, 04:33
Starting today, I began getting this error and I can't figure out how to stop it. I haven't changed any settings at all, and it has been working fine for the last several months. The only event that occurred was I ran out of disk space, nzbget autopaused, and I resumed like normal (this has happened several times and has never been an issue in the past).

I redownloaded the script, setup a new docker image, cleared out the lock file... It is happening with every nzb, not just a few. If I manually resume them, they download completely fine.

Any ideas? Tried searching through the history a bit, couldn't find what I was looking for.

Code: Select all


[INFO] Completion: Traceback (most recent call last):
[INFO] Completion:   File "/config/scripts/Completion.py", line 1702, in <module>
[INFO] Completion:     main()
[INFO] Completion:   File "/config/scripts/Completion.py", line 1678, in main
[INFO] Completion:     if 'NZBNA_NZBNAME' in os.environ: queue_call()
[INFO] Completion:   File "/config/scripts/Completion.py", line 1582, in queue_call
[INFO] Completion:     if not lock_file():  # check if script is not already running
[INFO] Completion:   File "/config/scripts/Completion.py", line 1330, in lock_file
[INFO] Completion:     time_stamp = int(fd.readline())
[INFO] Completion: ValueError: invalid literal for int() with base 10: ''
there has been some issue with that part in the past, I guess you are using the latest version?

but what happens is that the time from the .lock file in the /temp map is read, but its not an integer. That is odd, because it should be one. Especially as the code should put a value in that file.

Could u check if there is a number in the .lock file?

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests