Page 2 of 4

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

Posted: September 11th, 2015, 1:30 pm
by shypike
What exactly did you type?

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

Posted: September 11th, 2015, 3:54 pm
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

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

Posted: September 11th, 2015, 4:57 pm
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?

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

Posted: September 11th, 2015, 5:24 pm
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

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

Posted: September 12th, 2015, 5:44 am
by shypike
Add the parameter --console
That will show more information.

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

Posted: September 12th, 2015, 4:19 pm
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?

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

Posted: September 12th, 2015, 5:05 pm
by shypike
It should work without --console too now.
Does it?

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

Posted: September 12th, 2015, 5:29 pm
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.

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

Posted: September 13th, 2015, 1:26 pm
by shypike
Normally you only use the Terminal solution to solve startup problems.
You should be able to start SABnzbd from the Finder.

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

Posted: September 14th, 2015, 4:53 am
by PetSue
Ok thanks shypike seems I can start it now interesting hmmmmmmm

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

Posted: October 6th, 2015, 3:58 am
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!

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

Posted: October 6th, 2015, 4:20 am
by shypike
It looks like SABnzbd just isn't installed.
Check the /Applications folder, do you see SABnzbd?

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

Posted: October 6th, 2015, 8:08 pm
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.

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

Posted: October 7th, 2015, 5:28 am
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

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

Posted: October 7th, 2015, 6:43 am
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