error: (2, 'GetShortPathName', 'The system cannot find the f

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

error: (2, 'GetShortPathName', 'The system cannot find the f

Post by blackkatt »

I recently reinstalled windows so I'm not sure if this error is something I forgot when i restored my old sab install or if its something new in the latest release (on windows 10)

Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.pyo", line 801, in __bootstrap_inner
File "sabnzbd\postproc.pyo", line 168, in run
File "sabnzbd\postproc.pyo", line 682, in handle_empty_queue
File "sabnzbd\__init__.pyo", line 798, in run_script
File "sabnzbd\newsunpack.pyo", line 1588, in build_command
error: (2, 'GetShortPathName', 'The system cannot find the file specified.')

2016-06-07 11:36:10,788::INFO::[__init__:1055] Restarting because of crashed postprocessor
2016-06-07 11:36:15,323::INFO::[__init__:386] SABnzbd shutting down...
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by shypike »

Under what circumstances does this happen?
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by blackkatt »

After a download completes. It says "in run_script" is this where sab to run a user defined script or something else?
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by shypike »

That would be the "run script when queue becomes empty" option.
Check the setting, it's easiest check in the sabnzbd.ini file:

Code: Select all

queue_complete =
queue_complete_pers =
They should have values of "" and 0 respesctively.
Did you copy over your sabnzbd.ini file?
Then possibly there's still a setting in it, while the actual script is missing.
Of course SABnzbd should handle this properly.
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by blackkatt »

says

Code: Select all

queue_complete = script_None
queue_complete_pers = 0
So should I just clear those two?

PS: Yes I had a complete backup. But my %UserName% is different this time, maybe thats why?
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by shypike »

Just remove "script_None".
I'll fix the code to handle this properly.
blackkatt
Newbie
Newbie
Posts: 49
Joined: July 6th, 2011, 6:03 am

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by blackkatt »

thank you for the fast support! much appreciated.
The Problem is not the problem. The problem is your attitude about the problem.
Do you understand?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: error: (2, 'GetShortPathName', 'The system cannot find t

Post by shypike »

Did removing the value work?
Post Reply