Search found 11 matches

by anny50
May 20th, 2024, 10:28 am
Forum: Post-Processing Scripts
Topic: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script
Replies: 8
Views: 7051

Re: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script

::DEBUG::[newsunpack:261] Failed script C:\\test.py, Traceback: ... FileNotFoundError: [WinError 2] The system cannot find the specified file So check c:\test.py does exist. If not: solve that. If so: run "python3 c:\test.py" and see the result ... As I suspected, it can't be because it c...
by anny50
May 20th, 2024, 9:48 am
Forum: Post-Processing Scripts
Topic: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script
Replies: 8
Views: 7051

Re: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script

"The system cannot find the specified file" ... different error. Just solve that. Why can't it find the file if I have to explicitly specify a script folder in sabnzb and select the scripts it contains? I do not understand. Especially as it works with the batch script. Very confusing! Doe...
by anny50
May 20th, 2024, 9:27 am
Forum: Post-Processing Scripts
Topic: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script
Replies: 8
Views: 7051

Re: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script

That is not valid python code. Make sure you can run the python code from CLI before going further import os print("SABnzbd version:", os.environ['SAB_VERSION']) print("Job location:", os.environ['SAB_COMPLETE_DIR']) print("Fail msg:", os.environ['SAB_FAIL_MSG']) # You...
by anny50
May 20th, 2024, 9:21 am
Forum: Bug Reports
Topic: If archive has several NZB = &sabname of API is ignored.
Replies: 5
Views: 3909

Re: If archive has several NZB = &sabname of API is ignored.

So i think i need a Pre-queue script, right?
Won't duplicate detection intervene?
by anny50
May 20th, 2024, 9:12 am
Forum: Post-Processing Scripts
Topic: Post-processing scripts | Python on Windows = Exit(-1): Cannot run script
Replies: 8
Views: 7051

Post-processing scripts | Python on Windows = Exit(-1): Cannot run script

python import os import subprocess import json if "SAB_NZO_ID" not in os.environ: print("The environment variable SAB_NZO_ID is not set.") exit(1) else ECHO %SAB_NZO_ID% I got Exit(-1): Cannot run script everytime. Same Script with .bat works perectly. I see value of SAB_NZO_ID. ...
by anny50
May 20th, 2024, 5:22 am
Forum: Bug Reports
Topic: If archive has several NZB = &sabname of API is ignored.
Replies: 5
Views: 3909

If archive has several NZB = &sabname of API is ignored.

Hi, i insert the NZB files with the following command: https://url.com/XXX.nzb.7z&nzbname=XXX&cat=up&priority=-1 However, as soon as there is more than one NZB file in an archive, it simply takes the name of the contained NZB file. However, it should give all NZB files the transferred na...
by anny50
July 12th, 2020, 4:15 pm
Forum: General Help
Topic: articles had non-matching duplicates
Replies: 7
Views: 3138

Re: articles had non-matching duplicates

Then we got it wrong. You should see from the link that these are not personal backups.

I would be happy if you could help me with the solution.

I think: Either the articles are uploaded incorrectly / twice or the NZB is created incorrectly.
by anny50
July 12th, 2020, 2:44 pm
Forum: General Help
Topic: articles had non-matching duplicates
Replies: 7
Views: 3138

Re: articles had non-matching duplicates

sander wrote: July 12th, 2020, 12:25 pm No, nyuu is a good tool.
Okay, but why do I only have this error when I use nyuu?
sander wrote: July 12th, 2020, 12:25 pm Question: what are you posting? Useful content for others, or a backup of your files / disk?
Both. But shouldn't that make a difference?
by anny50
July 12th, 2020, 12:05 pm
Forum: General Help
Topic: articles had non-matching duplicates
Replies: 7
Views: 3138

Re: articles had non-matching duplicates

How can I prevent this error from occurring?
Is this a posting tool (nyuu) error when uploading or creating the NZB?
by anny50
July 12th, 2020, 9:12 am
Forum: General Help
Topic: articles had non-matching duplicates
Replies: 7
Views: 3138

articles had non-matching duplicates

Hi,

when I download my own created NZBs with sabnzbd, I often (not always) get the following error message:

[numbers] articles had non-matching duplicates
Aborted, cannot be completed.


What is the result of this error?
How can I prevent it?
What am I doing wrong?