nzb not added to queue, download does not start [SmartOS]

Get help with all aspects of 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.
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: nzb not added to queue, download does not start [SmartOS

Post by sander »

That's strange: I changed to code to 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 dirpath
I would expect the raise the dump the calling sequence of procedures. However ... SABnzbd hangs:

Code: 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)
... and then nothing. So ... have I created the same / similar problem as you have?

Strange. I have to think about this.
n_goossens
Newbie
Newbie
Posts: 9
Joined: November 28th, 2014, 7:40 pm

Re: nzb not added to queue, download does not start [SmartOS

Post by n_goossens »

Thanks for the help up to now, please let me know if I can help anywhere!
User avatar
sander
Release Testers
Release Testers
Posts: 9429
Joined: January 22nd, 2008, 2:22 pm

Re: nzb not added to queue, download does not start [SmartOS

Post by sander »

I tried some things (python tracing, @syncrhonized versus raise), but no luck. The only thing I can think is placing more logging.info() lines, and so find the hanging position.
Post Reply