Page 1 of 1
completed downloads disappear, History doesn't show unraring, etc
Posted: March 9th, 2010, 3:23 am
by p.witty
I just upgraded from SABnzbd 0.4.6 to 0.5.0 on my AppleTV. Everything was working great, prior to upgrade. Now completed downloads disappear (almost as though I had directories mis-configured, but I don't), and History doesn't show files being unrared, cleaned up, and copied to the Complete directory anymore.
Version: 0.5.0 Final
OS: AppleTV (OSX)
Install-type: OSX .app
Skin (if applicable): I tried default, simpl, and plush
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes
Since my upgrade, none of my downloads have completed successfully. To upgrade, I killed the old SABnzbd process, deleted the .app directory, then copied the new .app directory into Applications. After opening the application again, everything appeared to be OK, RSS was still working, adding NZBs from URL or from file both worked. But once the download reached 100%, there was no new entry on the History page displaying the unraring process and file being copied from incomplete to complete directory.
My directories are set to:
Incomplete: downloads/incomplete
Complete: /Volumes/Drobo/Downloads
This setup worked fine with 0.4.6. The only entries that show up in my History page are entries for NZBs that failed to download from URLs (I'm assuming that this was due to expired URLs).
Is this release simply not compatible with AppleTV? I see a bunch of errors like this in my log: "setMenuTitle Exception", but I'm assuming these are unimportant. I also saw one error like this: "Restarting because of crashed assembler". Anyway I've attached the log.
I'd really appreciate some help. Thanks everyone!
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 9th, 2010, 4:29 am
by rAf
I never tested SABnzbd on AppleTV.
It should work (I think).
How do you launch SABnzbd ?
Is your Drobo volume mounted before starting SABnzbd ?
Try to unmount your Drobo and go to /Volumes. Maybe you'll find a Drobo folder containing your downloads in local...
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 9th, 2010, 11:36 pm
by p.witty
How do you launch SABnzbd ?
-bash-2.05b$ open Applications/SABnzbd.app/
(same as before)
Is your Drobo volume mounted before starting SABnzbd?
Yeah, it is mounted. I don't like to unmount and remount it because it kind of takes an excessively long time to do that.
I definitely checked /Volumes and ~/Volumes (just in case). No dice.
Frankly, I think the downloads are being moved to /dev/null, but I don't think there's any way to prove that. I guess I should just downgrade back to 0.4.6.

Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 10th, 2010, 4:31 am
by p.witty
OK so I tried a few more things:
Put 0.4.6 back on my AppleTV, seems to work OK still, but I need to do some more testing. Maybe I used to be running 0.4.7? What was the first version that could detect TV Show names?
I tried running 0.5.0 as root, and found it behaved somewhat differently. First off, it warned me that it detected History and Queue from a previous version that would not be imported (which had not happened when I ran it as the default user "frontrow"). Second, it seemed to be working great up until it finished a download, at which point it froze, and, upon inspection with ps I found it had generated a zombie child process:
Code: Select all
bash-2.05b# ps aux | grep SAB
root 5491 0.0 14.6 161392 38296 p1 S 1:13AM 0:03.05 old_apps/SABnzbd.app/Contents/MacOS/SABnzbd -f /Users/frontrow/.sabnzbd/sabnzbd.ini -d -p
root 5521 0.0 0.2 27364 416 p1 S+ 1:18AM 0:00.00 grep SAB
root 5495 0.0 0.0 0 0 ?? Z 31Dec69 0:00.00 (SABnzbd)
I wish I had the $$ to go buy a mac mini to replace this damn thing with...

Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 11th, 2010, 3:36 am
by p.witty
Just found now that the RSS feed no longer works, with my version of 0.4.6 which I just downgraded back to:
Code: Select all
500 Internal error
The server encountered an unexpected condition which prevented it from fulfilling the request.
Traceback (most recent call last):
File "cherrypy/_cphttptools.pyc", line 126, in _run
File "cherrypy/filters/__init__.pyc", line 151, in applyFilters
File "sabnzbd/interface.pyc", line 234, in beforeFinalize
File "sabnzbd/interface.pyc", line 1687, in test_rss_feed
File "sabnzbd/__init__.pyc", line 1495, in run_rss_feed
File "sabnzbd/decorators.pyc", line 26, in newFunction
File "sabnzbd/rss.pyc", line 190, in run_feed
File "sabnzbd/rss.pyc", line 117, in DupTitle
KeyError: 0
Why would this work before I upgraded to 0.5.0, but not now that I downgraded back to 0.4.6?
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 11th, 2010, 4:14 am
by shypike
Remove the file rss_data.sab in the case.
0.4.x cannot handle a file touched by 0.5.0.
That's true for most *.sab files.
In general you cannot go back to an older version and re-use data.
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 15th, 2010, 7:07 pm
by rAf
p.witty wrote:
Code: Select all
bash-2.05b# ps aux | grep SAB
root 5491 0.0 14.6 161392 38296 p1 S 1:13AM 0:03.05 old_apps/SABnzbd.app/Contents/MacOS/SABnzbd -f /Users/frontrow/.sabnzbd/sabnzbd.ini -d -p
root 5521 0.0 0.2 27364 416 p1 S+ 1:18AM 0:00.00 grep SAB
root 5495 0.0 0.0 0 0 ?? Z 31Dec69 0:00.00 (SABnzbd)
Are you sure you're starting SABnzbd by open /Applications/SABnzbd ?
This is strange there is a -d argument in your ps result...
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 15th, 2010, 8:11 pm
by p.witty
rAf wrote:Are you sure you're starting SABnzbd by open /Applications/SABnzbd ?
Actually, in this case, I was
not opening SABnzbd like that. I was running it as root, in case maybe there were some sort of permissions issues causing my problems. Obviously, doing "open Applications/SABnzbd.app" won't open it as root, even if you prepend it with sudo. So I did start SABnzbd using the SABnzbd binary contained within the SABnzbd.app directory. Of course, the first thing I was trying was opening SABnzbd in the normal way (with "open Applications/SABnzbd.app"), this *appeared* to work at first, until the downloads finished, at which point they disappeared (and no checking / unraring history was ever logged) -- this is what I was saying in my first post. This is why I was trying it as root.
As I said, running as root was unsuccessful, though it did behave differently than when started as "frontrow" user (again, using the normal "open" way).
shypike wrote:Remove the file rss_data.sab in the case.
Thanks shypike, it looks like it might be working again now
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 15th, 2010, 8:26 pm
by rAf
Could you please send me by pm your sabnzbd.ini files ?
you should have 2 :
for 0.5.x in ~/Library/Application Support/SABnzbd
for 0.4.X in ~/.sabnzbd/
Don't forget to remove your passwords...
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 16th, 2010, 6:46 pm
by rAf
Nothing weird in your sabnzbd.ini files.
I've never used an AppleTV, I guess there is no menubar in top of the screen.
I think this is causing the setMenuTitle Exception, I'll try to improve this in the next release.
But I have no way to test it.
Maybe I could send you some test build to check if it's working for you ?
Re: completed downloads disappear, History doesn't show unraring, etc
Posted: March 16th, 2010, 6:48 pm
by p.witty
rAf wrote:
Maybe I could send you some test build to check if it's working for you ?
Sure, if you like