Page 1 of 2
OSX SABnzbd Can't connect to UI
Posted: November 3rd, 2012, 8:36 am
by Duckstar
Hi There,
Been using SABnzbd for about 3 years with no problems..
It is installed using the .dmg file from the website on OSX 10.7
Yesterday i restarted my mac and no i can no longer connect to 127.0.0.1:8083
So i change the ports around, and i changed the hostame arond (localhost/ 0.0.0.0/127.0.0.1/192.168.1.101)
to no avail
When i run
i do not see a SABnzbd entry.
BUT i do see the icon up the top right, which i can see my queue and history etc.....
So if i try and run the .py manually usung python SABnzbd.py i recieve this error :
Code: Select all
Duckstars-Mac-mini:Resources DuckstarMini$ python SABnzbd.py
Traceback (most recent call last):
File "SABnzbd.py", line 43, in <module>
import cherrypy
ImportError: No module named cherrypy
Please... for the love of god help me....
Re: OSX SABnzbd Can't connect to UI
Posted: November 3rd, 2012, 9:42 am
by shypike
You're running from source code?
That's not recommended, because you'll miss a number of features.
It looks like your source install is damaged anyway.
Just (re-)install from the OSX DMG.
Re: OSX SABnzbd Can't connect to UI
Posted: November 3rd, 2012, 11:29 am
by Duckstar
No i don\t believe i am running from the source code. The install wasorginally from the DMG file.
I guessed i assumed that i could run the SABnzbd.py like the Sickbeard one.....
When i click the SABnzbd App in my Applications folder the proces starts and the arrow up the top right appears but i am still unable to access the GUI web interface.
Re: OSX SABnzbd Can't connect to UI
Posted: November 3rd, 2012, 1:13 pm
by shypike
If you see the arrow, click its menu: Troubleshoot-->Restart - 127.0.0.1
This will make it restart on a safe address and port number.
Re: OSX SABnzbd Can't connect to UI
Posted: November 3rd, 2012, 9:13 pm
by Duckstar
Even when trying any of the safe modes. I still can not connect to the server on any of the host names /ports
Re: OSX SABnzbd Can't connect to UI
Posted: November 4th, 2012, 1:40 am
by shypike
Re-install from the DMG.
Then open Terminal.
/Applications/SABnzbd.app/Content/MacOS/SABnzbd --console
This should show what SABnzbd is up to.
Re: OSX SABnzbd Can't connect to UI
Posted: November 4th, 2012, 9:17 am
by Duckstar
Cheers Buddy, Does this mean anything to you?
Code: Select all
Duckstars-Mac-mini:Resources DuckstarMini$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console
Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1815, in run
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1297, in main
File "sabnzbd/decorators.pyc", line 31, in newFunction
File "sabnzbd/__init__.pyc", line 305, in initialize
File "sabnzbd/nzbqueue.pyc", line 102, in read_queue
File "sabnzbd/decorators.pyc", line 31, in newFunction
File "sabnzbd/nzbqueue.pyc", line 328, in add
File "sabnzbd/nzbqueue.pyc", line 762, in end_job
AttributeError: 'NoneType' object has no attribute 'process'
Re: OSX SABnzbd Can't connect to UI
Posted: November 4th, 2012, 10:10 am
by shypike
Are you using the most recent SABnzbd version, 0.7.5 ?
I would guess not, because this looks like a known issue that is solved now.
Re: OSX SABnzbd Can't connect to UI
Posted: November 4th, 2012, 11:02 am
by Duckstar
Just deleted the SABnzbd out of my Applications Folder and all the previous .dmg files i have downloaded.
Then installed the latest .dmg from the website (SABnzbd-0.7.5-osx.dmg) opened it and installed the 10.7 App into my Applications Folder.
Still same issue and same error output on the --console
Code: Select all
Duckstars-Mac-mini:Resources DuckstarMini$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console
Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1815, in run
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1297, in main
File "sabnzbd/decorators.pyc", line 31, in newFunction
File "sabnzbd/__init__.pyc", line 305, in initialize
File "sabnzbd/nzbqueue.pyc", line 102, in read_queue
File "sabnzbd/decorators.pyc", line 31, in newFunction
File "sabnzbd/nzbqueue.pyc", line 329, in add
File "sabnzbd/nzbqueue.pyc", line 763, in end_job
AttributeError: 'NoneType' object has no attribute 'process'
Re: OSX SABnzbd Can't connect to UI
Posted: November 4th, 2012, 11:24 am
by shypike
Oh dear, it's another manifestation of the same bug.
You'll need a work-around.
Stop SABnzbd (well, it probably wasn't running).
Do this from a Terminal:
/Applications/SABnzbd.app/Content/MacOS/SABnzbd --console --repair-all
Consider it fixed in the next release.
The problem occurs when:
- A job is completely downloaded, but not yet in post-processing.
- SABnzbd is stopped
- SABnzbd is started: at startup the now finished job is send to the post-processor, only the post-processor isn't active yet.
The scenario isn't very likely, but once you have it you cannot get rid of it without the above work-around.
Re: OSX SABnzbd Can't connect to UI
Posted: November 4th, 2012, 5:58 pm
by Duckstar
Still no avail
Code: Select all
Duckstars-Mac-mini:~ DuckstarMini$ /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console --repair-all
Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 530, in __bootstrap_inner
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1815, in run
File "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", line 1297, in main
File "sabnzbd/decorators.pyc", line 31, in newFunction
File "sabnzbd/__init__.pyc", line 305, in initialize
File "sabnzbd/nzbqueue.pyc", line 107, in read_queue
File "sabnzbd/nzbqueue.pyc", line 141, in scan_jobs
File "sabnzbd/nzbqueue.pyc", line 166, in repair_job
File "sabnzbd/decorators.pyc", line 31, in newFunction
File "sabnzbd/nzbqueue.pyc", line 329, in add
File "sabnzbd/nzbqueue.pyc", line 763, in end_job
AttributeError: 'NoneType' object has no attribute 'process'
Re: OSX SABnzbd Can't connect to UI
Posted: November 5th, 2012, 6:17 am
by shypike
Oh boy, this ain't easy.
Start up with --clean instead of --repair-all
You queue will be wiped out and SABnzbd should now start up.
However you can return the lost jobs one by one to the queue by going to the Status page, Queue Repair tab.
Re: OSX SABnzbd Can't connect to UI
Posted: November 6th, 2012, 8:58 am
by Duckstar
Brilliant, Thank you so much !
Re: OSX SABnzbd Can't connect to UI
Posted: November 8th, 2012, 3:14 pm
by Duckstar
I believe i am experiencing a bug which might be causing the bug i originally had.
I just finished a download and somewhere between the download and the repair process to the extract SAB has crashed.
Looking at the sabnzbd.log in my Application Data folder doesn't seem to give anything away.. Is there another log file with more information of what could of happened ?
This has actually happened quite a lot recently. probably 3 times a week i need to manually restart SABnzbd
Thanks again..
Re: OSX SABnzbd Can't connect to UI
Posted: November 8th, 2012, 3:17 pm
by Duckstar
This maybe some help...
Code: Select all
2012-11-07 19:11:50,901::INFO::[_cplogging:55] [07/Nov/2012:19:11:50] ENGINE Bus STARTED
2012-11-08 20:15:10,853::INFO::[_cplogging:55] [08/Nov/2012:20:15:10] ENGINE Bus STARTING
2012-11-08 20:15:11,133::INFO::[_cplogging:55] [08/Nov/2012:20:15:11] ENGINE Started monitor thread '_TimeoutMonitor'.
2012-11-08 20:15:11,235::INFO::[_cplogging:55] [08/Nov/2012:20:15:11] ENGINE Serving on 192.168.1.101:8083
2012-11-08 20:15:11,236::INFO::[_cplogging:55] [08/Nov/2012:20:15:11] ENGINE Bus STARTED
[/CODE}