Page 1 of 1

Crashing on launch since 0.7.8

Posted: January 5th, 2013, 9:39 pm
by Dabront
Running Lion and upgraded to 0.7.8 and SAB now quits on launch. Menu bar icon appears and disappears almost immediately. Tried restarts and reinstalls but no luck. Have very recently installed SickB and CouchP so the new version may not be a cause just a coincidence.

Here is the part of the log I think is relevant;

2013-01-06 13:01:16,012::INFO::[__init__:1592] Console logging for OSX App disabled
2013-01-06 13:01:16,012::INFO::[__init__:1592] --------------------------------
2013-01-06 13:01:16,013::INFO::[__init__:1592] SABnzbd.py-0.7.8 (rev=d8d507f110a64c27e9f722f975d838fcaf62d4c7)
2013-01-06 13:01:16,013::INFO::[__init__:1592] Platform = posix
2013-01-06 13:01:16,013::INFO::[__init__:1592] Python-version = 2.7.1 (r271:86832, Jun 16 2011, 16:59:06)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
2013-01-06 13:01:16,013::INFO::[__init__:1592] Arguments = /Applications/SABnzbd.app/Contents/Resources/SABnzbd.py
2013-01-06 13:01:16,013::INFO::[__init__:1592] [osx] IO priority setting
2013-01-06 13:01:16,019::INFO::[__init__:1592] [osx] IO priority set to throttle for process scope
2013-01-06 13:01:16,020::INFO::[__init__:1592] Read INI file /Users/wg33/Library/Application Support/SABnzbd/sabnzbd.ini
2013-01-06 13:01:16,025::INFO::[__init__:1592] Loading data for bookmarks.sab from /Users/wg33/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-01-06 13:01:16,026::INFO::[__init__:1592] Loading data for rss_data.sab from /Users/wg33/Library/Application Support/SABnzbd/admin/rss_data.sab
2013-01-06 13:01:16,037::INFO::[__init__:1592] Loading data for totals9.sab from /Users/wg33/Library/Application Support/SABnzbd/admin/totals9.sab
2013-01-06 13:01:16,038::INFO::[__init__:1592] Loading postproc queue
2013-01-06 13:01:16,038::INFO::[__init__:1592] Loading data for postproc1.sab from /Users/wg33/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-01-06 13:01:16,039::INFO::[__init__:1592] Loading data for queue9.sab from /Users/wg33/Library/Application Support/SABnzbd/admin/queue9.sab
2013-01-06 13:01:16,210::INFO::[__init__:1592] Loading data for watched_data.sab from /Users/wg33/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-01-06 13:01:16,211::INFO::[__init__:1592] Resuming
2013-01-06 13:01:16,211::INFO::[__init__:1592] All processes started
2013-01-06 13:01:16,211::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Plush
2013-01-06 13:01:16,212::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Mobile
2013-01-06 13:01:16,212::INFO::[__init__:1592] Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Config
2013-01-06 13:01:16,223::INFO::[__init__:1592] _yenc module... found!
2013-01-06 13:01:16,224::INFO::[__init__:1592] par2 binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/par2/par2-sl)
2013-01-06 13:01:16,224::INFO::[__init__:1592] unrar binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar)
2013-01-06 13:01:16,224::INFO::[__init__:1592] unzip binary... found (/usr/bin/unzip)
2013-01-06 13:01:16,224::INFO::[__init__:1592] nice binary... found (/usr/bin/nice)
2013-01-06 13:01:16,225::INFO::[__init__:1592] ionice binary... NOT found!
2013-01-06 13:01:16,225::INFO::[__init__:1592] pyOpenSSL... found (True)
2013-01-06 13:01:16,227::INFO::[__init__:1592] Starting web-interface on 0.0.0.0:8080
2013-01-06 13:01:16,229::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus STARTING
2013-01-06 13:01:16,234::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Started monitor thread '_TimeoutMonitor'.
2013-01-06 13:01:16,235::ERROR::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Error in HTTP server: shutting down
Traceback (most recent call last):
File "cherrypy/process/servers.pyc", line 75, in _start_http_thread
File "cherrypy/wsgiserver/__init__.pyc", line 1644, in start
error: [Errno 49] Can't assign requested address

2013-01-06 13:01:16,235::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus STOPPING
2013-01-06 13:01:16,235::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE HTTP Server None already shut down
2013-01-06 13:01:16,236::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('fe80::1%lo0', 8080)) already shut down
2013-01-06 13:01:16,237::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Stopped thread '_TimeoutMonitor'.
2013-01-06 13:01:16,238::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus STOPPED
2013-01-06 13:01:16,238::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus EXITING
2013-01-06 13:01:16,238::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus EXITED
2013-01-06 13:01:16,335::ERROR::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Error in 'start' listener <bound method ServerAdapter.start of <cherrypy.process.servers.ServerAdapter object at 0x2397c70>>
Traceback (most recent call last):
File "cherrypy/process/wspbus.pyc", line 147, in publish
File "cherrypy/process/servers.pyc", line 62, in start
File "cherrypy/process/servers.pyc", line 97, in wait
error: [Errno 49] Can't assign requested address

2013-01-06 13:01:16,437::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Serving on 0.0.0.0:8080
2013-01-06 13:01:16,438::ERROR::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
File "cherrypy/process/wspbus.pyc", line 184, in start
File "cherrypy/process/wspbus.pyc", line 147, in publish
File "cherrypy/process/servers.pyc", line 62, in start
File "cherrypy/process/servers.pyc", line 97, in wait
error: [Errno 49] Can't assign requested address

2013-01-06 13:01:16,438::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus STOPPING
2013-01-06 13:01:16,441::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) shut down
2013-01-06 13:01:16,441::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('fe80::1%lo0', 8080)) already shut down
2013-01-06 13:01:16,441::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE No thread running for _TimeoutMonitor.
2013-01-06 13:01:16,442::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus STOPPED
2013-01-06 13:01:16,442::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus EXITING
2013-01-06 13:01:16,442::INFO::[_cplogging:55] [06/Jan/2013:13:01:16] ENGINE Bus EXITED
2013-01-06 13:01:16,442::ERROR::[__init__:1567] Failed to start web-interface:
Traceback (most recent call last):
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1490, in main
File "cherrypy/process/wspbus.pyc", line 184, in start
File "cherrypy/process/wspbus.pyc", line 147, in publish
File "cherrypy/process/servers.pyc", line 62, in start
File "cherrypy/process/servers.pyc", line 97, in wait
error: [Errno 49] Can't assign requested address
2013-01-06 13:01:16,443::ERROR::[__init__:1567] Failed to start web-interface : [Errno 49] Can't assign requested address
2013-01-06 13:01:16,443::INFO::[__init__:1592] SABnzbd shutting down...
2013-01-06 13:01:16,443::INFO::[__init__:1592] Saving data for bookmarks.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-01-06 13:01:16,444::INFO::[__init__:1592] URLGrabber shutting down
2013-01-06 13:01:16,444::INFO::[__init__:1592] Saving data for watched_data.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-01-06 13:01:16,444::INFO::[__init__:1592] Dirscanner shutting down
2013-01-06 13:01:16,946::INFO::[__init__:1592] Saving postproc queue
2013-01-06 13:01:16,947::INFO::[__init__:1592] Saving data for postproc1.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-01-06 13:01:16,948::INFO::[__init__:1592] Saving queue
2013-01-06 13:01:17,089::INFO::[__init__:1592] Saving data for queue9.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/queue9.sab
2013-01-06 13:01:17,090::INFO::[__init__:1592] Saving data for totals9.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/totals9.sab
2013-01-06 13:01:17,090::INFO::[__init__:1592] Saving data for rss_data.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/rss_data.sab
2013-01-06 13:01:17,096::INFO::[__init__:1592] Saving data for bookmarks.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/bookmarks.sab
2013-01-06 13:01:17,096::INFO::[__init__:1592] Saving data for watched_data.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/watched_data.sab
2013-01-06 13:01:17,096::INFO::[__init__:1592] Saving postproc queue
2013-01-06 13:01:17,097::INFO::[__init__:1592] Saving data for postproc1.sab in /Users/wg33/Library/Application Support/SABnzbd/admin/postproc1.sab
2013-01-06 13:01:17,097::INFO::[__init__:1592] All processes stopped
2013-01-06 13:01:17,202::INFO::[__init__:1592] [osx] application terminating
2013-01-06 13:01:17,217::INFO::[__init__:1592] [osx] application stopping daemon
2013-01-06 13:01:17,217::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE Bus STOPPING
2013-01-06 13:01:17,218::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
2013-01-06 13:01:17,218::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('fe80::1%lo0', 8080)) already shut down
2013-01-06 13:01:17,218::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE No thread running for _TimeoutMonitor.
2013-01-06 13:01:17,218::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE Bus STOPPED
2013-01-06 13:01:17,219::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE Bus EXITING
2013-01-06 13:01:17,219::INFO::[_cplogging:55] [06/Jan/2013:13:01:17] ENGINE Bus EXITED
2013-01-06 13:01:17,219::INFO::[__init__:1592] Leaving SABnzbd

Any help would be appreciated.

Re: Crashing on launch since 0.7.8

Posted: January 6th, 2013, 2:24 am
by sander
It says " 0.0.0.0:8080" and then " Can't assign requested address".

So I would try another address (start with 127.0.0.1) and/or another port (8765 for example).
You can change those values via the commandline or via the file sabnzbd.ini (after stopping SABnzbd). However, I don't know how to do that on OSX. Maybe you can even (right) click on the SAB-symbol and start in a safe mode?

Re: Crashing on launch since 0.7.8

Posted: January 6th, 2013, 2:45 am
by Dabront
Thanks for your help. Since posting I've managed to get a work around. I tried re=installing 0.7.7 but had the same problem, I deleted the cache restarted again etc but after I tried 0.7.8 again it now launched. After restarting SAB the problem came back. I repeated the process of installing 0.7.7 (crashed again) and then going back to 0.7.8 and it worked again.

I checked the host setting and it is blank, a setting I've been using for a while as I access from other computers and remotely. So it seems there is something about my set up and/or this build that won't play well get together.

Re: Crashing on launch since 0.7.8

Posted: January 6th, 2013, 12:26 pm
by shypike
In 0.7.8 a potential IPv6 bug was fixed that could trigger on some systems.
Maybe yours is such a system.

Re: Crashing on launch since 0.7.8

Posted: January 6th, 2013, 1:36 pm
by Dabront
I have recently started to play around with IPv6 settings, so that looks like you've found the cause.