Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Report & discuss bugs found in 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

What exactly did you type?
PetSue
Newbie
Newbie
Posts: 6
Joined: September 11th, 2015, 2:41 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by PetSue »

shypike wrote:What exactly did you type?
I tried both - /Applications/SABnzbd/Content/MacOS/SABnzbd --server 127.0.0.1:8080 & /Applications/SABnzbd.app/Content/MacOS/SABnzbd --console --server 127.0.0.1:8080

I also tried replacing the 127.0.0.1 IP with localhost to no avail.

Ok did some more looking and found this is my Directory structure - /Applications/SABnzbd.app/Contents/MacOS/SABnzbd python
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

If SABnzbd is installed, that's where it is. Otherwise check with Finder.
What is the "python" af the end of your last line?
PetSue
Newbie
Newbie
Posts: 6
Joined: September 11th, 2015, 2:41 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by PetSue »

The SABnzbd & python is the contents of the MacOS folder.

So then what command am I needing to get it going, cause it still won't work. it starts and then suddenly closes still.

Ok just tried it and this is the received error - INFO:root:Console logging for OSX App disabled
2015-09-12 08:25:36,921::INFO::[SABnzbd:1255] Console logging for OSX App disabled
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

Add the parameter --console
That will show more information.
PetSue
Newbie
Newbie
Posts: 6
Joined: September 11th, 2015, 2:41 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by PetSue »

shypike wrote:Add the parameter --console
That will show more information.
Well that worked and is now running, but only with terminal open. As soon as I close Terminal SABnzbd closes down.

Did you want to see all the info on terminal?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

It should work without --console too now.
Does it?
PetSue
Newbie
Newbie
Posts: 6
Joined: September 11th, 2015, 2:41 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by PetSue »

It works yes but only with Terminal open. if I close Terminal SABnzbd also closes down.

This is what I get when I type this - /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --server 127.0.0.1:8080

Code: Select all

INFO:root:Console logging for OSX App disabled
2015-09-13 10:00:58,031::INFO::[SABnzbd:1255] Console logging for OSX App disabled
It starts and runs fine but only if Terminal app is open.

This is what I get when I type this - /Applications/SABnzbd.app/Contents/MacOS/SABnzbd --console 127.0.0.1:8080

Code: Select all

INFO:root:--------------------------------
INFO:root:SABnzbd.py-0.7.20 (rev=1df2943d05d64915a166e2c97e1eef86f72e3ff3)
INFO:root:Platform = posix
INFO:root:Python-version = 2.7.2 (default, Oct 11 2012, 20:14:37) 
[GCC 4.2.1 Compatible Apple Clang 4.0 (tags/Apple/clang-418.0.60)]
INFO:root:Arguments = /Applications/SABnzbd.app/Contents/Resources/SABnzbd.py --console 127.0.0.1:8080
INFO:root:[osx] IO priority setting
INFO:root:[osx] IO priority set to throttle for process scope
INFO:root:Read INI file /Users/PetSue/Library/Application Support/SABnzbd/sabnzbd.ini
INFO:root:Loading data for bookmarks.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/bookmarks.sab
INFO:root:Loading data for rss_data.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/rss_data.sab
INFO:root:Loading data for totals9.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/totals9.sab
INFO:root:Loading postproc queue
INFO:root:Loading data for postproc1.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/postproc1.sab
INFO:root:Loading data for queue9.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/queue9.sab
INFO:root:Loading data for watched_data.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/watched_data.sab
INFO:root:Loading data for Rating.sab from /Users/PetSue/Library/Application Support/SABnzbd/admin/Rating.sab
INFO:root:Setting schedule for midnight BPS reset
INFO:root:Resuming
INFO:root:All processes started
INFO:root:Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Plush
INFO:root:Web dir is /Applications/SABnzbd.app/Contents/Resources/interfaces/Config
INFO:root:_yenc module... found!
INFO:root:par2 binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/par2/par2-sl)
INFO:root:unrar binary... found (/Applications/SABnzbd.app/Contents/Resources/osx/unrar/unrar)
INFO:root:unzip binary... found (/usr/bin/unzip)
INFO:root:nice binary... found (/usr/bin/nice)
INFO:root:ionice binary... NOT found!
INFO:root:pyOpenSSL... found (True)
INFO:root:Starting web-interface on 127.0.0.1:8080
[13/Sep/2015:09:58:43] ENGINE Bus STARTING
INFO:cherrypy.error:[13/Sep/2015:09:58:43] ENGINE Bus STARTING
[13/Sep/2015:09:58:43] ENGINE Started monitor thread '_TimeoutMonitor'.
INFO:cherrypy.error:[13/Sep/2015:09:58:43] ENGINE Started monitor thread '_TimeoutMonitor'.
[13/Sep/2015:09:58:43] ENGINE Serving on 127.0.0.1:8080
INFO:cherrypy.error:[13/Sep/2015:09:58:43] ENGINE Serving on 127.0.0.1:8080
[13/Sep/2015:09:58:43] ENGINE Bus STARTED
INFO:cherrypy.error:[13/Sep/2015:09:58:43] ENGINE Bus STARTED
INFO:root:Starting SABnzbd.py-0.7.20
INFO:root:Dirscanner starting up
INFO:root:URLGrabber starting up
It starts and runs fine but only if Terminal app is open.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

Normally you only use the Terminal solution to solve startup problems.
You should be able to start SABnzbd from the Finder.
PetSue
Newbie
Newbie
Posts: 6
Joined: September 11th, 2015, 2:41 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by PetSue »

Ok thanks shypike seems I can start it now interesting hmmmmmmm
archigeek
Newbie
Newbie
Posts: 7
Joined: October 6th, 2015, 3:55 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by archigeek »

PetSue wrote:I now have the same issue after upgrading to El Capitan. I tried the above in terminal and I get the returned error of file or directory not found.

$ /Applications/SABnzbd.app/Content/MacOS/SABnzbd --console --server 127.0.0.1:8080
-bash: /Applications/SABnzbd.app/Content/MacOS/SABnzbd: No such file or directory

I have this exact issue. How do I fix this? I can't launch sabnzbd at all! Thanks!
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

It looks like SABnzbd just isn't installed.
Check the /Applications folder, do you see SABnzbd?
archigeek
Newbie
Newbie
Posts: 7
Joined: October 6th, 2015, 3:55 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by archigeek »

shypike wrote:It looks like SABnzbd just isn't installed.
Check the /Applications folder, do you see SABnzbd?
It is very much installed. I do see it and I have even re-installed it just to be safe.

I even see this file /Applications/SABnzbd.app/Content/MacOS/SABnzbd

Just that when I type that in the Terminal, it tells me file not found.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by shypike »

It looks like a permissions issue.
Are you familiar with Terminal?
What does this produce?

Code: Select all

ls -l /Applications/SABnzbd.app/Contents/MacOS
archigeek
Newbie
Newbie
Posts: 7
Joined: October 6th, 2015, 3:55 am

Re: Sabnzbd Quits upon Launch (OS X Yosemite 10.10)

Post by archigeek »

shypike wrote:It looks like a permissions issue.
Are you familiar with Terminal?
What does this produce?

Code: Select all

ls -l /Applications/SABnzbd.app/Contents/MacOS

Code: Select all

$ ls -l /Applications/SABnzbd.app/Contents/MacOS
total 152
-rwxr-xr-x@ 1 archigeek  admin  44000 Nov 22  2014 SABnzbd
-rwxr-xr-x@ 1 archigeek  admin  29584 Nov 22  2014 python
Post Reply