Scan .NZB Directory not working automatically

Support for the Debian/Ubuntu package, created by JCFP.
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
PC_Arcade
Newbie
Newbie
Posts: 6
Joined: July 17th, 2019, 1:28 pm

Scan .NZB Directory not working automatically

Post by PC_Arcade »

Works fine if I press the hamburger menu then "Scan Watched Folder"

is it anything to do with this warning?

Code: Select all

Traceback (most recent call last):
  File "/usr/share/sabnzbdplus/cherrypy/_cprequest.py", line 670, in respond
    response.body = self.handler()
  File "/usr/share/sabnzbdplus/cherrypy/lib/encoding.py", line 220, in __call__
    self.body = self.oldhandler(*args, **kwargs)
  File "/usr/share/sabnzbdplus/cherrypy/_cpdispatch.py", line 60, in __call__
    return self.callable(*self.args, **self.kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/interface.py", line 468, in tapi
    return api_handler(kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 109, in api_handler
    response = _api_table.get(mode, (_api_undefined, 2))[0](name, output, kwargs)
  File "/usr/share/sabnzbdplus/sabnzbd/api.py", line 693, in _api_watched_now
    sabnzbd.dirscanner.dirscan()
  File "/usr/share/sabnzbdplus/sabnzbd/dirscanner.py", line 449, in dirscan
    DirScanner.do.scan()
  File "/usr/share/sabnzbdplus/sabnzbd/dirscanner.py", line 428, in scan
    run_dir(dirscan_dir, None)
  File "/usr/share/sabnzbdplus/sabnzbd/dirscanner.py", line 400, in run_dir
    res, nzo_ids = ProcessArchiveFile(filename, path, catdir=catdir, url=path)
  File "/usr/share/sabnzbdplus/sabnzbd/decorators.py", line 48, in call_func
    return func(*params, **kparams)
  File "/usr/share/sabnzbdplus/sabnzbd/dirscanner.py", line 114, in ProcessArchiveFile
    status, zf, extension = is_archive(path)
  File "/usr/share/sabnzbdplus/sabnzbd/dirscanner.py", line 72, in is_archive
    if zipfile.is_zipfile(path):
  File "/usr/lib/python2.7/zipfile.py", line 176, in is_zipfile
    result = _check_zipfile(fp)
  File "/usr/lib/python2.7/zipfile.py", line 159, in _check_zipfile
    if _EndRecData(fp):
  File "/usr/lib/python2.7/zipfile.py", line 254, in _EndRecData
    return _EndRecData64(fpin, -sizeEndCentDir, endrec)
  File "/usr/lib/python2.7/zipfile.py", line 200, in _EndRecData64
    raise BadZipfile("zipfiles that span multiple disks are not supported")
BadZipfile: zipfiles that span multiple disks are not supported
If not, how do I fix the auto nzb scan and fix what ever is causing the error?

From looking at the log :

Code: Select all

2019-07-18 20:04:43,814::INFO::[_cplogging:219] [18/Jul/2019:20:04:43] ENGINE Bus STOPPING
2019-07-18 20:04:43,863::INFO::[_cplogging:219] [18/Jul/2019:20:04:43] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.0.5', 8080)) shut down
2019-07-18 20:04:43,863::INFO::[_cplogging:219] [18/Jul/2019:20:04:43] ENGINE Bus STOPPED
2019-07-18 20:04:43,864::INFO::[_cplogging:219] [18/Jul/2019:20:04:43] ENGINE Bus EXITING
2019-07-18 20:04:43,864::INFO::[_cplogging:219] [18/Jul/2019:20:04:43] ENGINE Bus EXITED
2019-07-18 20:04:43,875::INFO::[_cplogging:219] [18/Jul/2019:20:04:43] ENGINE Re-spawning /usr/bin/python2 /usr/bin/<USERNAME>plus --daemon --pidfile /var/run/<USERNAME>plus/pid --server 192.168.0.5:8080
2019-07-18 20:04:48,242::INFO::[_cplogging:219] [18/Jul/2019:20:04:48] ENGINE Bus STARTING
2019-07-18 20:04:48,733::INFO::[_cplogging:219] [18/Jul/2019:20:04:48] ENGINE Serving on https://192.168.0.5:8080
2019-07-18 20:04:48,733::INFO::[_cplogging:219] [18/Jul/2019:20:04:48] ENGINE Bus STARTED
Am I right in thinking it's the line

ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('192.168.0.5', 8080)) shut down

Which is the problem?
User avatar
sander
Release Testers
Release Testers
Posts: 8811
Joined: January 22nd, 2008, 2:22 pm

Re: Scan .NZB Directory not working automatically

Post by sander »

What is in your scan directory?

My guess: there is a strange zip file ... causing the Traceback. Remedy: empty your scan directory.
PC_Arcade
Newbie
Newbie
Posts: 6
Joined: July 17th, 2019, 1:28 pm

Re: Scan .NZB Directory not working automatically

Post by PC_Arcade »

Certainly possible, moved everything out and all seems well, I'm sorted, thank you for all your help. MUCH appreciated :)
Post Reply