Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
sabnzbd+ and zussaweb interface for hellanzb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Wed Oct 01, 2008 11:40 pm    Post subject: sabnzbd+ and zussaweb interface for hellanzb Reply with quote

well, i have used this app on windows for quite some time for downloading nzb files from newzbin. It has some ebuilds posted online, with the following scripts:

sabnzbd-0.4.2.ebuild
files/sabnzbd-0.4.2-gentoo-setup.py
/files/sabnzbd-0.4.2-ini
/files/sabnzbd.conf
/files/sabnzbd.init

from http://forums.sabnzbd.org/index.php?topic=553.0

my main question is how do i use this stuff? I cannot find a guide to show me how/where to put everything, and exactly how to use all the scripts, there is also some ebuilds posted here:

http://bugs.gentoo.org/show_bug.cgi?id=132590

for a newer version. A link to a guide or some help with how to actually use this would be great. Also, if you have any other recommendations for a nzb client that would be fine and well too. I tried hellanzb, but could not ever get it to work, but since i have experience with sabnzbd+ i figure it should be easy for me to use, as long as i can get it installed...

thanks


Last edited by psilo357 on Sun Oct 05, 2008 11:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Wed Oct 01, 2008 11:51 pm    Post subject: Reply with quote

a little more searching makes it look like it is in an overlay, like 'gimpels' overlay or something? How woudl i find which overlay it is in? I can use layman, and i tried layman -L to list them all, but there was not a gimpel overlay.

EDIT: seems like using hellanzb would be all around easier, im going to install it again and see if i can get it working this time, even though i had no luck last time.
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Thu Oct 02, 2008 12:58 am    Post subject: Reply with quote

sweet, i actually got hellanzb working this time...YAY. Anyways, just one other question, what is the best web interface for it? i see hellahella is popular...just don't know if it is the best.

thanks

edit: well, of course it looks like it is going to be difficult to install hellahella, seems everything that is not in portage you have to do backflips to get installed. Which I can do, it just makes things hard. I'm still new to gentoo, but it seems things are made harder than they really need to be. Any pointers on how to get hellahella installed would be great.

thanks again
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Thu Oct 02, 2008 8:59 am    Post subject: Reply with quote

psilo357 wrote:
sweet, i actually got hellanzb working this time...YAY. Anyways, just one other question, what is the best web interface for it? i see hellahella is popular...just don't know if it is the best.

thanks

edit: well, of course it looks like it is going to be difficult to install hellahella, seems everything that is not in portage you have to do backflips to get installed. Which I can do, it just makes things hard. I'm still new to gentoo, but it seems things are made harder than they really need to be. Any pointers on how to get hellahella installed would be great.

thanks again

hellahella is not easy to get running. I used zussaweb.
http://sourceforge.net/projects/zussaweb

But you need a webserver like e.g. apache up'n'running, of course.

P.S: if you want sabnzbd+, cd to your personal overlay and
Code:
svn co http://gimpel.ath.cx/svn/gimpel/net-nntp/

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Thu Oct 02, 2008 11:13 pm    Post subject: Reply with quote

thanks for the help gimpel, as i would rather use sabnzbd+ as it has a built in web interface that is very nice, plus im already accustomed to it. Anyways, I am slightly confused on how to add a personal overlay. Here is the current state of my make.conf:

Code:

# Please consult /etc/make.conf.example for a more detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
CHOST="x86_64-pc-linux-gnu"

ACCEPT_KEYWORDS="amd64"

USE="mmx sse sse2 ssse3 kde qt3 qt4 X opengl hal dbus acpi truetype xvmc
     nvidia cups alsa smp jpeg jpeg2k tiff gif png"

GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.chem.wisc.edu/gentoo/ $

INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"
source /usr/portage/local/layman/make.conf


It looks like i add this line to the make.conf from what I have found, but all the stuff i find on google isn't very clear

Code:

PORTDIR_OVERLAY="/etc/portage/local"


then that would be my local overlay. I also see how some peolpe make xml type files for overlays, is that a better way? or is the way you recommended the best, either way, as long as it works, thanks again gimpel.

I will wait for a reply before i do this, i really don't want ot mess anything up, as it has taken a while to get where i am now.

thanks
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Fri Oct 03, 2008 5:54 am    Post subject: Reply with quote

alright gimpel, i went ahead and tried it all out and got it installed, however i got this message:

Code:

>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-22375.log"

mkdir:     /root/.gconf
open_wr:   /root/.gconfd/saved_state
--------------------------------------------------------------------------------



also, whenever I try to run SABnzbd.py, i get the following message:

Code:

-bash: SABnabd.py: command not found


What to do next?
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Fri Oct 03, 2008 8:48 am    Post subject: Reply with quote

gconfd? 8O

Is this really from the sabnzbd ebuild?
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Fri Oct 03, 2008 9:16 pm    Post subject: Reply with quote

yeah, here is the entire console printout when I run emerge sabnzbd

Code:

 * SABnzbd-0.4.4-src.tar.gz RMD160 SHA1 SHA256 size ;-) ...               [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking SABnzbd-0.4.4-src.tar.gz ;-) ...                              [ ok ]
>>> Unpacking source...
>>> Unpacking SABnzbd-0.4.4-src.tar.gz to /var/tmp/portage/net-nntp/sabnzbd-0.4.4/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-nntp/sabnzbd-0.4.4/work/SABnzbd-0.4.4 ...
setup.py
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
sh: dos2unix: command not found
running build
running build_py
creating build
creating build/lib
creating build/lib/sabnzbd
copying sabnzbd/postproc.py -> build/lib/sabnzbd
copying sabnzbd/decorators.py -> build/lib/sabnzbd
copying sabnzbd/decoder.py -> build/lib/sabnzbd
copying sabnzbd/trylist.py -> build/lib/sabnzbd
copying sabnzbd/newswrapper.py -> build/lib/sabnzbd
copying sabnzbd/nzbqueue.py -> build/lib/sabnzbd
copying sabnzbd/email.py -> build/lib/sabnzbd
copying sabnzbd/misc.py -> build/lib/sabnzbd
copying sabnzbd/__init__.py -> build/lib/sabnzbd
copying sabnzbd/articlecache.py -> build/lib/sabnzbd
copying sabnzbd/constants.py -> build/lib/sabnzbd
copying sabnzbd/version.py -> build/lib/sabnzbd
copying sabnzbd/nzbstuff.py -> build/lib/sabnzbd
copying sabnzbd/downloader.py -> build/lib/sabnzbd
copying sabnzbd/tvsort.py -> build/lib/sabnzbd
copying sabnzbd/newzbin.py -> build/lib/sabnzbd
copying sabnzbd/assembler.py -> build/lib/sabnzbd
copying sabnzbd/rss.py -> build/lib/sabnzbd
copying sabnzbd/interface.py -> build/lib/sabnzbd
copying sabnzbd/newsunpack.py -> build/lib/sabnzbd
creating build/lib/sabnzbd/utils
copying sabnzbd/utils/configobj.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/rsslib.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/__init__.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/listquote.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/json.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/rarfile.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/kronos.py -> build/lib/sabnzbd/utils
copying sabnzbd/utils/ssmtplib.py -> build/lib/sabnzbd/utils
creating build/lib/sabnzbd/utils/multiauth
copying sabnzbd/utils/multiauth/filter.py -> build/lib/sabnzbd/utils/multiauth
copying sabnzbd/utils/multiauth/__init__.py -> build/lib/sabnzbd/utils/multiauth
copying sabnzbd/utils/multiauth/providers.py -> build/lib/sabnzbd/utils/multiauth
copying sabnzbd/utils/multiauth/auth.py -> build/lib/sabnzbd/utils/multiauth
running build_scripts
creating build/scripts-2.5
copying and adjusting SABnzbd.py -> build/scripts-2.5
changing mode of build/scripts-2.5/SABnzbd.py from 644 to 755
>>> Source compiled.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-24307.log"

mkdir:     /root/.gconf
open_wr:   /root/.gconfd/saved_state
--------------------------------------------------------------------------------


any ideas on what i should do?

EDIT: I am giogn to keep working on hellanzb while i try to get sabnzbd going, do you gimpel or anyone else have any guides/help to setup zussaweb on gentoo?
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sat Oct 04, 2008 9:34 am    Post subject: Reply with quote

For sabnzbd, please try installing dos2unix and try again.

For zussaweb, just unpack it to your webserver and edit the config files.
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Sat Oct 04, 2008 6:40 pm    Post subject: Reply with quote

alright, dos2unix was never installed, guess its not showing up as a dependency. Anyways i have installed dos2unix now and I tried sabnzbd again, but it is still having the same error.

thanks
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Sat Oct 04, 2008 7:35 pm    Post subject: Reply with quote

alright, i got zussaweb installed, but not running.

Whenever i browse to http://localhost/zussawb

All get is an index of the folder, not the web interface actually running...any ideas?

thanks
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Sun Oct 05, 2008 9:25 am    Post subject: Reply with quote

psilo357 wrote:
alright, i got zussaweb installed, but not running.

Whenever i browse to http://localhost/zussawb

All get is an index of the folder, not the web interface actually running...any ideas?

thanks


Do you have php installed? (with USE="apache2" and maybe some more, you'll see what is missing in /var/log/apache2/error_log)
And /etc/conf.d/apache2 should have
Code:
APACHE2_OPTS="-D DEFAULT_VHOST -D PHP5"


Then restart apache.

Oh, and maybe change the topic as this thread isn't really only about sabnzbd. Thanks. ;)
_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Mon Oct 06, 2008 12:20 am    Post subject: Reply with quote

i changed the title to be more fitting. I would still like to get sabnzbd compiled and working, so help with that still would be great, still stuck where above post shows. Well, I have got zussaweb working now though, by adding the apache2 use flag, i guess since i installed PHP before i thought i would be using apache i didn't think about the flag, anyways, it works now, thanks a ton for all the help. Now, if i can get sabnzbd going, i would be set for now at least...
Back to top
View user's profile Send private message
dweezil-n0xad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2006
Posts: 88
Location: Ostend, Belgium

PostPosted: Mon Oct 06, 2008 7:06 am    Post subject: Reply with quote

sabnzbd is easy to use without portage as it doesn't need compiling.

just extract SABnzbd-0.4.4-src.tar.gz to a local folder and start the daemon with SABnzbd.py -d
make sure you have the dependencies listed in INSTALL.txt
_________________
ASUS N56VV | i7-3630QM @ 2,4GHZ | 12GB DDR3 | NVIDIA GeForce GT 750M 2GB | 256GB SSD
HP HDX 18 | C2Q Q9000 @2GHz | 6GB DDR3 | NVIDIA GeForce 9600M GT 1GB | 128GB SSD | 500GB HD
http://steamcommunity.com/id/dweezil-n0xad/
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Tue Oct 07, 2008 2:30 am    Post subject: Reply with quote

wow, that worked great, it runs and everything!!!

One last question before i can mark this thing solved, how do i get it to where I can just run it with a single command? i want to be able to just type

sabnzbd.py

at the console, wherever i am and it run, instead of

python /home/me/SABnzbd-0.4.4/SABnzbd.py

can i just move the SABnzbd.py to /usr/bin and it iwll work, or does it depend on all the other files being in the same directory?

thanks again
Back to top
View user's profile Send private message
dweezil-n0xad
Tux's lil' helper
Tux's lil' helper


Joined: 30 Oct 2006
Posts: 88
Location: Ostend, Belgium

PostPosted: Tue Oct 07, 2008 8:39 am    Post subject: Reply with quote

don't move SABnzbd.py, make a symbolic link:
Code:
# ln -s  /home/me/SABnzbd-0.4.4/SABnzbd.py /usr/local/bin/sabnzbd.py

_________________
ASUS N56VV | i7-3630QM @ 2,4GHZ | 12GB DDR3 | NVIDIA GeForce GT 750M 2GB | 256GB SSD
HP HDX 18 | C2Q Q9000 @2GHz | 6GB DDR3 | NVIDIA GeForce 9600M GT 1GB | 128GB SSD | 500GB HD
http://steamcommunity.com/id/dweezil-n0xad/
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Sat Oct 11, 2008 12:24 am    Post subject: Reply with quote

when i do this, it looks for the interface file in /usr/bin/interfaces, which of course, does not exist...is there any otehr way to make it work possibly?? also, i have moved the entire folder to /usr/share/SABnzbd-0.4.4, which if i use the long line

python /usr/share/SABnzbd-0.4.4/SABnzbd.py

it works fine, it does try to launch if if i put the symbolic link in /usr/bin, but if i try /usr/local/bin, it tells me that 'bash:sabnzbd does not exist'...

thanks for anymore help
Back to top
View user's profile Send private message
psilo357
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2008
Posts: 84

PostPosted: Fri Oct 24, 2008 2:37 am    Post subject: Reply with quote

alright, well, i started a new install, and actually got sabnzbd to install using gimpel's overlay/ebuild. However, there are a couple of problems.

1. Whenever i try to run it as a user, it says root access is required, however, I added myself to the sabnzbd group just like it said to do, why is this?

2. Even if i do start it up as root, whenever i open up my browser and browser to http://localhost:8080/ it says that 'Firefox failed to make a connection', which leads me to believe it is not running...what is the problem here, any ideas how i can get this fixed?

3. (slightly unrelated) This time when adding a local overlay, I did everything the same way as last, and everytime i emerge anything now, i get the following warning, even though packages from that overlay emerge fine, at least appear to:
Code:

WARNING: repository at /usr/local/portage/personal is missing a repo_name entry


I'm starting to feel that this is all just too much work, and sadly, may end up in winblows again. I just can't seem to get anything to work easily for me. At least with this install i did get firefox-bin installed instead of 64bits firefox, so I can actually use it at a half decent speed...lol. Any help here would be great.

thanks all
Back to top
View user's profile Send private message
rounz
n00b
n00b


Joined: 11 Dec 2004
Posts: 26
Location: england

PostPosted: Sat Oct 25, 2008 11:00 pm    Post subject: Reply with quote

psilo357 wrote:

2. Even if i do start it up as root, whenever i open up my browser and browser to http://localhost:8080/ it says that 'Firefox failed to make a connection', which leads me to believe it is not running...what is the problem here, any ideas how i can get this fixed?



sab listens by default at http://localhost:8080/sabnzbd/

:)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum