Refuses to open

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.
Post Reply
bbyf16
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 10:00 am

Refuses to open

Post 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
pmow
Release Testers
Release Testers
Posts: 57
Joined: May 15th, 2009, 6:09 pm
Location: Florida

Re: Refuses to open

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

Re: Refuses to open

Post by shypike »

No funny firewall or other "security" stuff?
bbyf16
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 10:00 am

Re: Refuses to open

Post by bbyf16 »

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

Re: Refuses to open

Post 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?
pmow
Release Testers
Release Testers
Posts: 57
Joined: May 15th, 2009, 6:09 pm
Location: Florida

Re: Refuses to open

Post by pmow »

The only error I found there was that ionice was missing.
pmow
Release Testers
Release Testers
Posts: 57
Joined: May 15th, 2009, 6:09 pm
Location: Florida

Re: Refuses to open

Post 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]
gmbp
Newbie
Newbie
Posts: 1
Joined: December 5th, 2011, 6:00 pm

Re: Refuses to open

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

Re: Refuses to open

Post by shypike »

Bizarre.
I tested this extensively on my own Mac, but encountered no such problems at all.
Well, up for some more debugging :(
chive34
Newbie
Newbie
Posts: 2
Joined: December 6th, 2011, 10:44 am

Re: Refuses to open

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

Re: Refuses to open

Post 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
chive34
Newbie
Newbie
Posts: 2
Joined: December 6th, 2011, 10:44 am

Re: Refuses to open

Post by chive34 »

Thank you shypike! That code did the trick as is! :)
bbyf16
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 10:00 am

Re: Refuses to open

Post 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.
bbyf16
Newbie
Newbie
Posts: 4
Joined: December 5th, 2011, 10:00 am

Re: Refuses to open

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