Page 1 of 1

0.7.20 for mac hangs after adding an nzb

Posted: January 31st, 2015, 2:50 pm
by cometobutthead
i'm running the sabnzbd 0.7.20 on mac osx yosemite 10.10.2. this has been a problem since osx mavericks and with 0.7.19. it hangs when accessing via http or https, but the process is still running. i had to replace it w/ the last working version (0.7.18).

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 1st, 2015, 10:58 pm
by cometobutthead
anyone?

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 2nd, 2015, 3:36 am
by shypike
Please explain "it hangs".

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 7th, 2015, 1:58 am
by cometobutthead
shypike wrote:Please explain "it hangs".
the https and http web server stops responding although when i do a ps -ef | grep -i sabnzbd in the terminal the process is still running.

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 7th, 2015, 6:58 am
by shypike
I have no idea in this case.
The differences between 0.7.18 and 0.7.20 are small and have no connection with the web server.
Could you install 0.7.20 again and set the host to 127.0.0.1 ?
Do you need external access?
If not, there's no advantage to using https.

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 9th, 2015, 11:22 am
by cometobutthead
shypike wrote:I have no idea in this case.
The differences between 0.7.18 and 0.7.20 are small and have no connection with the web server.
Could you install 0.7.20 again and set the host to 127.0.0.1 ?
Do you need external access?
If not, there's no advantage to using https.
i need external access. i'll try again tonight and capture the logs -- though last time the logs reported no errors.

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 15th, 2015, 2:28 pm
by cometobutthead
here's the last few lines after the it hangs:

2015-02-15 14:22:46,267::INFO::[__init__:513] Fetching http://nzbs.org/getnzb/&del=1
2015-02-15 14:22:46,321::INFO::[nzbqueue:218] Saving queue
2015-02-15 14:22:46,322::INFO::[__init__:919] Saving data for queue9.sab in /Users/cometobutthead/Library/Application Support/SABnzbd/admin/queue9.sab

nothing after that. i've noticed that it ONLY hangs when sabnzbd is launched via launchd (via a plist in /Library/LaunchDaemons). here's the plist file:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>org.sabnzbd</string>
    <key>KeepAlive</key>
    <true/>
    <key>ProgramArguments</key>
    <array>
      <string>/Applications/SABnzbd.app/Contents/MacOS/SABnzbd</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
    <key>UserName</key>
    <string>cometobutthead</string>
    <key>WorkingDirectory</key>
    <string>/Applications</string>
    <key>ServiceDescription</key>
    <string>sabnzbd</string>
  </dict>
</plist>
when it's launched as a login item in the users/groups preferences panel, everything works fine and it doesn't hang. this wasn't a problem until 0.7.2.0. i added it as a launchdaemon because i want it to restart in case it crashes, etc.

Re: 0.7.20 for mac hangs after adding an nzb

Posted: February 16th, 2015, 6:04 am
by shypike
I've never looked at launching it with launchDaemons, outside of my expertise.
I'll look at it again when preparing 0.8.0.
It's not likely to be solved for the 0.7.x series.

BTW: you should change you API key on nzbs.org, consider your account compromised by publishing it.