Re: nzb not added to queue, download does not start [SmartOS
Posted: December 3rd, 2014, 1:12 am
That's strange: I changed to code to this:
I would expect the raise the dump the calling sequence of procedures. However ... SABnzbd hangs:
... and then nothing. So ... have I created the same / similar problem as you have?
Strange. I have to think about this.
Code: Select all
@synchronized(DIR_LOCK)
def create_dirs(dirpath):
""" Create directory tree, obeying permissions """
if not os.path.exists(dirpath):
logging.info('Creating directories: %s', dirpath)
if not create_all_dirs(dirpath, True):
logging.error(Ta('Failed making (%s)'), dirpath)
return None
logging.info('Creating directories ... done: %s', dirpath)
raise Exception('spam', 'eggs')
return dirpathCode: Select all
2014-12-03 07:06:54,451::INFO::[urlgrabber:77] URLGrabber starting up
2014-12-03 07:07:11,924::INFO::[__init__:627] Adding avi (7).nzb
2014-12-03 07:07:11,926::INFO::[misc:806] Creating directories: /home/sander/Downloads/incomplete/avi (7)
2014-12-03 07:07:11,927::INFO::[misc:810] Creating directories ... done: /home/sander/Downloads/incomplete/avi (7)Strange. I have to think about this.