Page 1 of 1

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

Posted: June 7th, 2016, 4:43 am
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...

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

Posted: June 7th, 2016, 5:09 am
by shypike
Under what circumstances does this happen?

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

Posted: June 7th, 2016, 5:12 am
by blackkatt
After a download completes. It says "in run_script" is this where sab to run a user defined script or something else?

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

Posted: June 7th, 2016, 6:11 am
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.

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

Posted: June 7th, 2016, 6:17 am
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?

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

Posted: June 7th, 2016, 6:20 am
by shypike
Just remove "script_None".
I'll fix the code to handle this properly.

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

Posted: June 7th, 2016, 6:24 am
by blackkatt
thank you for the fast support! much appreciated.

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

Posted: June 7th, 2016, 6:36 am
by shypike
Did removing the value work?