Page 12 of 14
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 21st, 2010, 8:18 am
by toker
Working on Karmic 9.10 32bit
Issues
post-processing scripts - Fails 'Exit(-1) Cannot run script /media/Drobo/asrock330htbd/sabnzbd/scripts/xbmc-update-library.sh (More)'
I basically have a .sh script which sends commands to update 'XBMC Video Library' on completed downloads for Movies and TV categories. The script works on 0.4.12, I also installed 'python-dbus' and 'dbus' packages, check permissions on the .sh file.
Other than that all is working.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 21st, 2010, 12:42 pm
by jcfp
toker wrote:post-processing scripts - Fails 'Exit(-1) Cannot run script /media/Drobo/asrock330htbd/sabnzbd/scripts/xbmc-update-library.sh (More)'
I basically have a .sh script which sends commands to update 'XBMC Video Library' on completed downloads for Movies and TV categories. The script works on 0.4.12, I also installed 'python-dbus' and 'dbus' packages, check permissions on the .sh file.
Need more info than this, try the latest release (0.5.0 final), check the log and the full output under "(More)". To eliminate your script as a cause of trouble, do some small test download with /usr/share/doc/sabnzbdplus/examples/Sample-PostProc.sh as the postproc script (released with the program, doesn't do anything but print its own arguments).
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 21st, 2010, 4:36 pm
by toker
Upgraded to 0.5.0 Final - still getting errors on post-processing script
[some stuff removed: see forum rules]
Contents of 'xbmc-update-library.sh'
xbmc-send -a "UpdateLibrary(video)"
xbmc-send -a "CleanLibrary(video)"
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 21st, 2010, 4:48 pm
by toker
Tested 'Sample-PostProc.sh' - Output OK, so the issue is my .sh.
[some stuff removed: see forum rules]
Started as /media/Drobo/asrock330htbd/sabnzbd/scripts/Sample-PostProc.sh
The first parameter (result-dir) = /media/Drobo/downloads/complete/TV/How I Met Your Ubuntu iso
The second parameter (nzb-name) = How I Met Your Ubuntu iso.nzb
The third parameter (nice name) = How I Met Your Ubuntu iso
The fourth parameter (newzbin-id) = 1234567890
The fifth parameter (category) = tv
The sixth parameter (group) = alt.binaries.ubuntu-isos
The seventh parameter (status) = 0
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 21st, 2010, 4:55 pm
by jcfp
toker wrote:
Contents of 'xbmc-update-library.sh'
xbmc-send -a "UpdateLibrary(video)"
xbmc-send -a "CleanLibrary(video)"
No shebang? Like the first line of the sample script,
#!/bin/sh ?
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 21st, 2010, 5:07 pm
by toker
modified my .sh
#!/bin/sh
/usr/bin/xbmc-send -a "UpdateLibrary(video)"
/usr/bin/xbmc-send -a "CleanLibrary(video)"
Thanks, SABnzbd is now processing my script.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 23rd, 2010, 10:01 am
by Usenet
Great work jcfp!
jcfp wrote:
It's safe to use the ppa and the official repositories side by side in Ubuntu; in case both have the same release the design of the package will cause the official repositories to take precedence.
I got sabnzbnd running the "official" way by adding it using the ubuntu UI (0.4.12 I think it is). Adding your ppa should then work without any problems? Is there anything I have to do about my configuration when stepping from 0.4 to 0.5 or is this handled by SAB and the package manager? I only run SAB as a server from a dedicated SAB user...
Cheers!
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 23rd, 2010, 12:20 pm
by jcfp
Should just work. Configuration survives, both program and init.d-related. Obviously, the normal release notes apply here too (i.e., queue and history is lost when going from 0.4.x to 0.5 so finish any existing queue first); restarting the program is needed (but probably happens automatically if you run from init), and some users might run into minor differences in the program's behavior, like the script handling issue of 'toker'.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: February 23rd, 2010, 3:00 pm
by Usenet
Sounds great, I'll give it a try as soon as my downloads are finished. ;D
EDIT: Worked without a hitch, just as you said! THANK YOU!
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 3rd, 2010, 11:07 am
by sense
echo "deb
http://ppa.launchpad.net/jcfp/ppa/ubuntu $(lsb_release -c -s) main" | sudo tee -a /etc/apt/sources.list
Gives me "illegal variable name" using Ubuntu 9.10 Karmic.
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 3rd, 2010, 4:02 pm
by jcfp
No idea. Copy/paste error? Or did you make some fancy changes in the wrong places (like /etc/lsb-release) on your system?
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 4th, 2010, 2:48 pm
by bc55
Hiya,
I have a technical question. All those who are familiar with Ubuntu will know this, but I am a complete noob when it comes to Ubuntu. Well, actually, if I could see what I was doing ( as I can on my laptop that is running 9.10 nicely, it would probably be easier. Anyhow, I bought one of those Sheevaplugs, that runs Ubuntu 9.04. I have access to it via SSH, and updated the libraries etc. So far so good. Are the steps I need to follow to install sabnzbd+ the same ones as in the first post of this thread ?
And how do I set sabnzbd up to read my RSS feeds etc. via command line inputs ?
Anyone have a tutorial on this ? Basically, I want it to continuously check my feeds, and grab what it finds onto my USB stick. From there, I can then copy it over to my server .....
Hope you can help me out .....
Cheers
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 10th, 2010, 7:39 am
by gr4
hello
i'm experiencing big troubles with sabnzbd during last month. (almost 5 month w/o problems on INTEL)
sab seems very unstable for me when im downloading big files (many rars) (on AMD sempron)
it always stops randomly after some time of downloading (15 min - 3 hours) leaving this:
Fatal Python error: Inconsistent interned string state. Aborted
i'm using SABnzbd+ 0.5.0
I tried to remove and install python's and sab's components with no successs. Worst of all i did complete fresh install from Hardy to Lucid again with no success.
i'm lost !
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 10th, 2010, 8:19 am
by jcfp
gr4 wrote:it always stops randomly after some time of downloading (15 min - 3 hours) leaving this:
Fatal Python error: Inconsistent interned string state. Aborted
This smells like hardware error, especially if you tried different Ubuntu releases. Try memtest86 (it's on the live-cd, run it from there).
Re: (Unofficial) Ubuntu repository for SABnzbd+
Posted: March 10th, 2010, 3:19 pm
by gr4
rest of the system was always pretty stable
memtest86+ v2.11 - 21 pass and 0 errors 7 + hours
256MB ram