Page 1 of 1

Refuses to open

Posted: December 5th, 2011, 12:59 pm
by bbyf16
hi there, i'm running mac osx lion (10.7.2) with the latest version of sabnzbd (.6.12). It was working fine up til a few days ago at which point it just stopped. If i open the program, the download arrow pops up on the top bar (along with the time, date, battery, and all that) but the default web browser will not open up to show the me the download queue. So I typed in localhost, which gave me an error in both chrome and safari of localhost cant be found. I've tried uninstalling, rebooting, installing again, all of which doesn't help. I'm at my wits end here as to what the reason could be. the only change that was done a few days ago was that growl was installed, but i've uninstalled that but still the problem persists. If there's anyone here who could give me a hand, would be much appreciated.
PS. -A big shout out to pmow who took time out of his day to try to help me. Thanks again

Re: Refuses to open

Posted: December 5th, 2011, 1:05 pm
by pmow
I'd tried troubleshooting this via IRC/teamviewer. This also didn't work on .6.11. The sab process runs:
/Applications/SABnzbd.app/Contents/MacOS/SABnzbd -psn_0_798915
I've tried running via the local IP, 127.0.0.1, localhost, and various ports: 8080, 8081, 8085. Running manually with -l 2 and -w 1 switches doesn't yield any extra info, and messages about logging disabled continue. He cannot get the source at the moment, is on a 3G hotspot connection and XCode is like 1.8GB.

Re: Refuses to open

Posted: December 5th, 2011, 1:16 pm
by shypike
No funny firewall or other "security" stuff?

Re: Refuses to open

Posted: December 5th, 2011, 1:19 pm
by bbyf16
nope

Re: Refuses to open

Posted: December 5th, 2011, 2:51 pm
by shypike
The compiled app has console debugging disabled.
However, there should be a log file: ~/Library/Application Support/SABnzbd/logs/sabnzbd.log
Can you open it and see what is says?

Re: Refuses to open

Posted: December 5th, 2011, 4:18 pm
by pmow
The only error I found there was that ionice was missing.

Re: Refuses to open

Posted: December 5th, 2011, 5:45 pm
by pmow
gmbp on IRC mentioned same versions and same issue, although with an error. I did see this once, and it's likely related:

Code: Select all

2011-12-05 00:34:52,832::INFO::[panic:243] Lauching browser with None
2011-12-05 00:34:52,832::WARNING::[panic:247] Cannot launch the browser, probably not found
2011-12-05 00:34:52,833::INFO::[panic:248] Traceback: 
Traceback (most recent call last):
  File "sabnzbd/panic.pyc", line 245, in launch_a_browser
  File "webbrowser.pyc", line 61, in open
  File "webbrowser.pyc", line 596, in open
AttributeError: 'NoneType' object has no attribute 'replace'
[code]
[/code]

Re: Refuses to open

Posted: December 5th, 2011, 6:11 pm
by gmbp
I can't really remember when it started but I had a similar (maybe the same?) problem with a previous version (0.6.10 or 11). I changed the default port to 8081 and put my local IP address as host and somehow I got it to work.
Then I updated to 0.6.12 and what pmow pasted above happened. Tried with clean config, different ports and hosts but no luck.


Restored ~/Library/Application Support/SABnzbd and the .app with TimeMachine and that one fortunately still works:

Code: Select all

2011-12-05 23:59:07,986::INFO::[SABnzbd:1178] SABnzbd.py-0.6.10 (rev=19daeab0f359d27a92d6d0f5f09f3f4c644511be)
2011-12-05 23:59:07,986::INFO::[SABnzbd:1190] Platform = posix
2011-12-05 23:59:07,986::INFO::[SABnzbd:1191] Python-version = 2.7.1 (r271:86832, Jun 16 2011, 16:59:05) 
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
2011-12-05 23:59:07,987::INFO::[SABnzbd:1192] Arguments = "/Applications/SABnzbd.app/Contents/Resources/SABnzbd.py", "-psn_0_8013732"
OSX 10.7.2
IPv4 enabled
IPv6 enabled

Re: Refuses to open

Posted: December 6th, 2011, 2:33 am
by shypike
Bizarre.
I tested this extensively on my own Mac, but encountered no such problems at all.
Well, up for some more debugging :(

Re: Refuses to open

Posted: December 6th, 2011, 10:58 am
by chive34
This is happening to me too. I am running the 0.6.12 version on an macbook pro with 10.6.8. The problem started when I was running 0.6.11 and persisted after I tried updating.
Sequence of events.
Everything was great and no problem. I could access SABnzb through the firefox. Great.
I downloaded and installed the chrome plugin.
Chrome SABnzb errored out because it needed the api key.
I open the config in firefox, copied the api key, pasted into chrome config
I also copied the password over from giganews.
Tried restarting the queue/ downloading a new nzb, but errored out with warnings of api missing.
After a few tries of looking at the settings, restarting the browsers/ SABnzb, I can't load the local host now.
The program is running in the menu bar, but I can't access the queue from the local host 8080 or 9090.

Is there some corrupt file that I need to trash?

Thank you!

Re: Refuses to open

Posted: December 6th, 2011, 1:27 pm
by shypike
Stop SABnzbd, open a Terminal (Applications->Utilities) and start it this way:

/Applications/SABnzbd.app/Contents/MacOS/SABnzbd -s 127.0.0.1:8080

Re: Refuses to open

Posted: December 6th, 2011, 2:24 pm
by chive34
Thank you shypike! That code did the trick as is! :)

Re: Refuses to open

Posted: December 7th, 2011, 4:02 am
by bbyf16
sorry for the delay. regarding the log, I can't access it because there is no folder called sabnzbd in application support. Quite frustrating. Tried the terminal code as well, no go, just opens sabnzbd in the background.

Re: Refuses to open

Posted: December 7th, 2011, 2:09 pm
by bbyf16
a big shout out to shypike who has solved my problem. turns out the host file was not there or was corrupted, a few keystrokes later, i was good to go. Thanks again shypike!!!! hope this thread helps out anyone else who has the same problem.