OSX SABnzbd Can't connect to UI

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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

OSX SABnzbd Can't connect to UI

Post 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

Code: Select all

netstat -a -n |grep -i listen
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....
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX SABnzbd Can't connect to UI

Post 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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX SABnzbd Can't connect to UI

Post 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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX SABnzbd Can't connect to UI

Post 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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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'
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX SABnzbd Can't connect to UI

Post 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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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'

User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX SABnzbd Can't connect to UI

Post 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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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'

User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: OSX SABnzbd Can't connect to UI

Post 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.
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post by Duckstar »

Brilliant, Thank you so much !
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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..
Duckstar
Newbie
Newbie
Posts: 14
Joined: October 28th, 2010, 4:31 am

Re: OSX SABnzbd Can't connect to UI

Post 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}
Post Reply