Page 1 of 1

Crash when nzb is added to queue

Posted: February 5th, 2011, 1:52 pm
by iaTa
Version: v0.5.6
OS: Windows 7 Ultimate x64
Install-type: Windows Installer
Skin (if applicable): Any (tried all)
Firewall Software: Windows 7 x64 Firewall
Are you using IPV6?: No

Installs fine, runs fine, but when I add any NZB to the queue either by link or local file SABnzbd crashes.

There is no log in the program directory, I don't think it gets time to create one before it crashes.

I've tried a complete default install adding only my provider details (BinTube) but no luck.

Uninstalled many times (and deleted config files in User folder) to try different configs but it still crashes at the same point.

Any help would be much appreciated.

Re: Crash when nzb is added to queue

Posted: February 5th, 2011, 2:28 pm
by shypike
Open a command prompt (WindowsKey R then type cmd and press enter).
Then type:
"c:\program files (x86)\sabnzbd\sabnzbd-console.exe"
(including the quotes) and press Enter.

You should be able to see some more info about the crash.

Re: Crash when nzb is added to queue

Posted: February 5th, 2011, 2:48 pm
by iaTa
This is the whole log of a fresh install:

Code: Select all

C:\"c:\program files (x86)\sabnzbd\sabnzbd-console.exe"
2011-02-05 20:13:08,790::INFO::[sabnzbd:973] --------------------------------
2011-02-05 20:13:08,790::INFO::[sabnzbd:974] sabnzbd-console.exe-0.5.6 (rev=2503)
2011-02-05 20:13:08,805::INFO::[sabnzbd:982] Platform=Windows-Vista-6.1.7600 (=Vista+ x64) Class=nt
2011-02-05 20:13:08,805::INFO::[sabnzbd:985] Python-version = 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
2011-02-05 20:13:08,822::INFO::[misc:308] cache_dir directory: C:\Users\MediaCenter\AppData\Local\sabnzbd\cache does not exist, try to create it
2011-02-05 20:13:08,822::INFO::[__init__:674] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\bookmarks.sab missing
2011-02-05 20:13:08,836::INFO::[__init__:674] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\rss_data.sab missing
2011-02-05 20:13:08,836::INFO::[__init__:674] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\bytes9.sab missing
2011-02-05 20:13:08,836::INFO::[__init__:674] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\queue9.sab missing
2011-02-05 20:13:08,836::INFO::[postproc:139] Loading postproc queue
2011-02-05 20:13:08,836::INFO::[__init__:674] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\postproc1.sab missing
2011-02-05 20:13:08,836::INFO::[__init__:674] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\watched_data.sab missing
2011-02-05 20:13:08,836::INFO::[downloader:334] Resuming
2011-02-05 20:13:08,836::INFO::[__init__:251] All processes started
2011-02-05 20:13:08,836::INFO::[sabnzbd:269] Web dir is c:\program files (x86)\sabnzbd\interfaces\smpl
2011-02-05 20:13:08,852::INFO::[sabnzbd:1038] Starting sabnzbd-console.exe-0.5.6
2011-02-05 20:13:08,868::INFO::[dirscanner:375] Dirscanner starting up
2011-02-05 20:13:08,868::INFO::[sabnzbd:390] _yenc module... found!
2011-02-05 20:13:08,868::INFO::[urlgrabber:103] URLGrabber starting up
2011-02-05 20:13:08,868::INFO::[sabnzbd:398] par2 binary... found (c:\program files (x86)\sabnzbd\win\par2\x64\par2.exe)
2011-02-05 20:13:08,868::INFO::[sabnzbd:403] par2-classic binary... found (c:\program files (x86)\sabnzbd\win\par2\par2-classic.exe)
2011-02-05 20:13:08,868::INFO::[sabnzbd:406] unrar binary... found (c:\program files (x86)\sabnzbd\win\unrar\x64\UnRAR.exe)
2011-02-05 20:13:08,868::INFO::[sabnzbd:411] unzip binary... found (c:\program files (x86)\sabnzbd\win\unzip\unzip.exe)
2011-02-05 20:13:08,868::INFO::[sabnzbd:426] pyOpenSSL... found (True)
2011-02-05 20:13:08,868::INFO::[sabnzbd:1136] Starting web-interface on localhost:8080
2011-02-05 20:13:10,881::INFO::[_cplogging:55] [05/Feb/2011:20:13:10] ENGINE Bus STARTING
2011-02-05 20:13:10,881::INFO::[_cplogging:55] [05/Feb/2011:20:13:10] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-02-05 20:13:11,318::INFO::[_cplogging:55] [05/Feb/2011:20:13:11] ENGINE Serving on localhost:8080
2011-02-05 20:13:11,318::INFO::[_cplogging:55] [05/Feb/2011:20:13:11] ENGINE Bus STARTED
2011-02-05 20:13:11,318::INFO::[misc:584] Lauching browser with http://localhost:8080/sabnzbd
2011-02-05 20:13:12,846::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:13:17,854::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:13:22,861::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:13:23,845::INFO::[rss:376] Running scheduled RSS scan
2011-02-05 20:13:27,868::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:13:32,877::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:13:36,464::INFO::[__init__:287] SABnzbd shutting down...
2011-02-05 20:13:36,480::INFO::[urlgrabber:98] URLGrabber shutting down
2011-02-05 20:13:36,480::INFO::[dirscanner:289] Dirscanner shutting down
2011-02-05 20:13:37,260::INFO::[downloader:490] Shutting down
2011-02-05 20:13:37,260::INFO::[assembler:102] Shutting down
2011-02-05 20:13:37,260::INFO::[postproc:134] Saving postproc queue
2011-02-05 20:13:37,260::INFO::[nzbqueue:92] Saving queue
2011-02-05 20:13:37,260::INFO::[postproc:134] Saving postproc queue
2011-02-05 20:13:37,260::INFO::[__init__:322] All processes stopped
2011-02-05 20:13:37,260::INFO::[_cplogging:55] [05/Feb/2011:20:13:37] ENGINE Bus STOPPING
ERROR DURING SCHEDULER EXECUTION list index out of range
Traceback (most recent call last):
  File "sabnzbd\utils\kronos.pyo", line 277, in _run
  File "sched.pyo", line 108, in run
  File "sabnzbd\utils\kronos.pyo", line 104, in __delayfunc
  File "sabnzbd\utils\kronos.pyo", line 269, in _getqueuetoptime
IndexError: list index out of range

--------------------
2011-02-05 20:13:38,898::INFO::[_cplogging:55] [05/Feb/2011:20:13:38] ENGINE Bus STOPPING
2011-02-05 20:13:53,125::INFO::[_cplogging:55] [05/Feb/2011:20:13:53] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('localhost', 8080)) shut down
2011-02-05 20:13:53,157::INFO::[_cplogging:55] [05/Feb/2011:20:13:53] ENGINE Stopped thread '_TimeoutMonitor'.
2011-02-05 20:13:53,157::INFO::[_cplogging:55] [05/Feb/2011:20:13:53] ENGINE Bus STOPPED
2011-02-05 20:13:53,157::INFO::[_cplogging:55] [05/Feb/2011:20:13:53] ENGINE Bus EXITING
2011-02-05 20:13:53,157::INFO::[_cplogging:55] [05/Feb/2011:20:13:53] ENGINE Bus EXITED
2011-02-05 20:13:58,132::INFO::[_cplogging:55] [05/Feb/2011:20:13:58] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('localhost', 8080)) shut down
2011-02-05 20:13:58,132::INFO::[_cplogging:55] [05/Feb/2011:20:13:58] ENGINE No thread running for _TimeoutMonitor.
2011-02-05 20:13:58,132::INFO::[_cplogging:55] [05/Feb/2011:20:13:58] ENGINE Bus STOPPED
2011-02-05 20:13:58,132::INFO::[_cplogging:55] [05/Feb/2011:20:13:58] ENGINE Bus EXITING
2011-02-05 20:13:58,132::INFO::[_cplogging:55] [05/Feb/2011:20:13:58] ENGINE Bus EXITED
2011-02-05 20:13:58,132::INFO::[_cplogging:55] [05/Feb/2011:20:13:58] ENGINE Re-spawning c:\program files (x86)\sabnzbd\sabnzbd-console.exe

C:\>2011-02-05 20:14:00,457::INFO::[sabnzbd:973] --------------------------------
2011-02-05 20:14:00,457::INFO::[sabnzbd:974] SABnzbd-console.exe-0.5.6 (rev=2503)
2011-02-05 20:14:00,473::INFO::[sabnzbd:982] Platform=Windows-Vista-6.1.7600 (=Vista+ x64) Class=nt
2011-02-05 20:14:00,473::INFO::[sabnzbd:985] Python-version = 2.5.4 (r254:67916, Jan 29 2009, 12:02:11) [MSC v.1310 32 bit (Intel)]
2011-02-05 20:14:00,489::INFO::[__init__:702] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\bookmarks.sab removed
2011-02-05 20:14:00,489::INFO::[postproc:139] Loading postproc queue
2011-02-05 20:14:00,489::INFO::[__init__:702] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\postproc1.sab removed
2011-02-05 20:14:00,505::INFO::[downloader:334] Resuming
2011-02-05 20:14:00,505::INFO::[__init__:251] All processes started
2011-02-05 20:14:00,505::INFO::[sabnzbd:269] Web dir is c:\program files (x86)\sabnzbd\interfaces\smpl
2011-02-05 20:14:00,519::INFO::[sabnzbd:1038] Starting SABnzbd-console.exe-0.5.6
2011-02-05 20:14:00,519::INFO::[dirscanner:375] Dirscanner starting up
2011-02-05 20:14:00,519::INFO::[sabnzbd:390] _yenc module... found!
2011-02-05 20:14:00,519::INFO::[urlgrabber:103] URLGrabber starting up
2011-02-05 20:14:00,519::INFO::[sabnzbd:398] par2 binary... found (c:\program files (x86)\sabnzbd\win\par2\x64\par2.exe)
2011-02-05 20:14:00,519::INFO::[sabnzbd:403] par2-classic binary... found (c:\program files (x86)\sabnzbd\win\par2\par2-classic.exe)
2011-02-05 20:14:00,519::INFO::[sabnzbd:406] unrar binary... found (c:\program files (x86)\sabnzbd\win\unrar\x64\UnRAR.exe)
2011-02-05 20:14:00,519::INFO::[sabnzbd:411] unzip binary... found (c:\program files (x86)\sabnzbd\win\unzip\unzip.exe)
2011-02-05 20:14:00,519::INFO::[sabnzbd:426] pyOpenSSL... found (True)
2011-02-05 20:14:00,519::INFO::[sabnzbd:1136] Starting web-interface on localhost:8080
2011-02-05 20:14:02,548::INFO::[_cplogging:55] [05/Feb/2011:20:14:02] ENGINE Bus STARTING
2011-02-05 20:14:02,548::INFO::[_cplogging:55] [05/Feb/2011:20:14:02] ENGINE Started monitor thread '_TimeoutMonitor'.
2011-02-05 20:14:02,875::INFO::[_cplogging:55] [05/Feb/2011:20:14:02] ENGINE Serving on localhost:8080
2011-02-05 20:14:02,875::INFO::[_cplogging:55] [05/Feb/2011:20:14:02] ENGINE Bus STARTED
2011-02-05 20:14:02,875::INFO::[misc:584] Lauching browser with http://localhost:8080/sabnzbd
2011-02-05 20:14:03,000::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:14:07,914::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:14:12,891::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:14:15,496::INFO::[rss:376] Running scheduled RSS scan
2011-02-05 20:14:17,914::WARNING::[interface:199] Error: Session Key Incorrect
2011-02-05 20:14:18,974::INFO::[__init__:467] Adding test.nzb
2011-02-05 20:14:18,974::INFO::[nzbstuff:396] File file100mb.bin added to queue
2011-02-05 20:14:18,974::INFO::[nzbqueue:92] Saving queue
2011-02-05 20:14:19,989::INFO::[__init__:702] C:\Users\MediaCenter\AppData\Local\sabnzbd\cache\SABnzbd_nzf_-8qoi6 removed
2011-02-05 20:14:19,989::INFO::[downloader:465] [email protected]:119: Initiating connection

Re: Crash when nzb is added to queue

Posted: February 5th, 2011, 3:43 pm
by shypike
Go to Config->General and generate a new API key.
After that clear your web browser cache (most use Control-F5).
Do you have any events in Config->Scheduler?

Re: Crash when nzb is added to queue

Posted: February 5th, 2011, 3:56 pm
by iaTa
Ok new API key generated, cache cleared and still crashes.

No events in the scheduler.

Re: Crash when nzb is added to queue

Posted: February 5th, 2011, 4:34 pm
by iaTa
Found the culprit - FoxyProxy for Windows.

Cheers for your help though.