SABnzbd + Mac config = mission impossible

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
domerdel
Newbie
Newbie
Posts: 7
Joined: March 13th, 2008, 12:22 am

SABnzbd + Mac config = mission impossible

Post by domerdel »

wow, all i gotta say is (frustration speaking) you made it the most un-userfriendly to configre this. I had help the first time. My IP changed, so i made a new "fixed" ip, went to my router, made the port forward to the new fixed ip 8080.  For the life of me, i cannot get this to connect:

I've tried the 3 following URL's
http://localhost:8080/sabnzbd
http://10.0.0.44:8080/sabnzbd
http://127.0.0.1:8080/sabnzbd

Then after 3 hrs staring at the alias, i right clicked and did "show package contents" ran the SABnzbd via terminal, here's the error line i'm getting:
error: (49, "Can't assign requested address")


Okay, so maybe i should've taken notes when someone was over helping me configure this... get this... there is zero, i mean ZERO resources for mac.. they refer to UNIX command lines, they DO NOT work on mac os x.  i believe there is some missing config file (probably burried with HOFFA), that i cannot find.

If there is a mac guru out there, please help me
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd + Mac config = mission impossible

Post by shypike »

What you are using are all local addresses (like "localhost" and 127.0.0.1").
They have nothing to do with your IP address or your router.
What are you trying to accomplish?
What does the terminal window show besides the error(49,...) message?

If you want to run SAbnzbd on a system and use the web-interface on the same system, you should indeed use "localhost" or "127.0.0.1".
You accomplish this by staring SABnzbd from a terminal window, like this:

python SABnzbd.py --server 127.0.0.1:8080

When using Leopard it's safer to use 127.0.0.1 instead of localhost (due to its IPV6 support).

If you want to access SABnzbd from another PC in your home, start the program with:
python SABnzbd.py --server :8080
  or
python SABnzbd.py --server 0.0.0.0:8080

BTW: OSX is very much like Linux (below the surface).
It may be useful to remove the current settings of SABnzbd by cleaning the directory ~/.sabnzbd or $HOME/.sabnzbd
domerdel
Newbie
Newbie
Posts: 7
Joined: March 13th, 2008, 12:22 am

Re: SABnzbd + Mac config = mission impossible

Post by domerdel »

I'm trying to accomplish? I just want it to work. maybe i'll give you some back story.
This worked when i had it as 10.0.0.2:8080, but i turned my MAC off, and it reassigned me an IP, so to control that, i made my computer DHCP w/ Manual Address 10.0.0.44

I ran your terminal command line:
python SABnzbd.py --server 10.0.0.44:8080

here's the error I received:
/System/Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file 'SABnzbd.py': [Errno 2] No such file or directory

And here's the full msg i get when running SABnzbd from terminal:
MacPro:~ Dominic$ /Users/Dominic/Desktop/SABnzbd.1.app/Contents/MacOS/SABnzbd ; exit;
Exception in thread CPHTTPServer Thread-8:
Traceback (most recent call last):
  File "threading.pyc", line 442, in __bootstrap
  File "threading.pyc", line 422, in run
  File "cherrypy/_cpserver.pyc", line 114, in _start_http
  File "cherrypy/_cpwsgiserver.pyc", line 370, in start
error: (49, "Can't assign requested address")


So my goal is, get 10.0.0.44:8080 to work and continue using newzbin.
stanpete
Jr. Member
Jr. Member
Posts: 95
Joined: February 2nd, 2008, 11:35 am

Re: SABnzbd + Mac config = mission impossible

Post by stanpete »

Ok first of all, since you're new to this - don't mix up SABnzbd and SABnzbd.app from br41n.com
If you use the .app, those terminal commands won't work.

Second thing is:
I'm not sure if I fully understand what you want, but if you try to access SABnzbd from the same computer
SAB is running on, you don't enter the IP adress that your network interface has. This would only be the case if you
were trying to access SAB from a different computer on the net.

btw, your SABnzb.ini is in a hidden folder located at /Users/Dominic/.SABnzbd/
Open a Finder window, press Cmd(Apple)+Shift+G and enter the above path, then you will get access to the file.
Open SABnzbd.ini, scroll down to "Host ="
Here it should say "Host = 127.0.0.1",  "Port = 8080"
If not, fill it in.
Then save the file, restart SABnzbd (close app in dock).
Then open your browser in hit "http://127.0.0.1:8080/sabnzbd"

If that doesn't work, then something is pretty messed up on your Mac.
domerdel
Newbie
Newbie
Posts: 7
Joined: March 13th, 2008, 12:22 am

Re: SABnzbd + Mac config = mission impossible

Post by domerdel »

Thank you so much!!! that worked!!

Can you tell me what the difference is of apps? there was NO documentation on the command you just gave me, i will save that for later if something ever happens again.
stanpete
Jr. Member
Jr. Member
Posts: 95
Joined: February 2nd, 2008, 11:35 am

Re: SABnzbd + Mac config = mission impossible

Post by stanpete »

Ok, I'm glad you got it.

The difference is that SAB is actually a unix program written in Python. That means
it would actually be started from your Terminal and run invisibly in the background. In order
for it to work, you need the Python framework and several "plugins" based on unix code.
The version you downloaded from br41n.com is just the same program, but it is optimzed for
macs and all the python stuff I mentioned is packed together in one single file (SABnzb.app) so
it behaves like a real OSX application would.
That makes things a lot simpler and easier to handle for most people.

I still have to agree with you that the OSX version is not well documented but that is actually
just because it's not that different from the "real" SABnzbd. The only thing I can think of is - as
you may have noticed - that SABnzbd.ini is in a hidden directory outside the app.
This is sort of the right choice because otherwise you would have to keep entering the same
settings everytime a new version comes out.
What I don't understand though is why it not a visible file in /Library/Application Support/ cause
this is where other programs save their preferences...

Anyway,
next time less shouting. The software is good - you just need to understand it ;-)

st
zito
Newbie
Newbie
Posts: 46
Joined: February 12th, 2008, 5:52 am

Re: SABnzbd + Mac config = mission impossible

Post by zito »

stanpete wrote: What I don't understand though is why it not a visible file in /Library/Application Support/ cause
this is where other programs save their preferences...
I felt the same...
With a single command line in Terminal, you can fix it :

Code: Select all

ln -s ~/.sabnzbd/ ~/Library/Application\ Support/SABnzbd
stanpete
Jr. Member
Jr. Member
Posts: 95
Joined: February 2nd, 2008, 11:35 am

Re: SABnzbd + Mac config = mission impossible

Post by stanpete »

Not bad.... thanks ;-)
Post Reply