LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to set up sabnzbd interface (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-set-up-sabnzbd-interface-508256/)

madman100 12-07-2006 12:08 PM

how to set up sabnzbd interface
 
Hi every one does any one know how to set up sabnzbd/interface keep getting this in mandriva [typ@localhost ~]$ cd ~
[typ@localhost ~]$ cd SABnzbd-0.2.4
[typ@localhost SABnzbd-0.2.4]$ python setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
running install_scripts
changing mode of /usr/bin/SABnzbd.py to 755
error: /usr/bin/SABnzbd.py: Operation not permitted
[typ@localhost SABnzbd-0.2.4]$ SABnzbd.ini </home/typ/sab download>/SABnz bd.ini
bash: /home/typ/sab: No such file or directory
[typ@localhost SABnzbd-0.2.4]$ python SABnzbd.py -h
Traceback (most recent call last):
File "SABnzbd.py", line 44, in ?
from sabnzbd.interface import *
File "/home/typ/SABnzbd-0.2.4/sabnzbd/interface.py", line 31, in ?
from cherrypy.filters.gzipfilter import GzipFilter
ImportError: No module named filters.gzipfilter
[typ@localhost SABnzbd-0.2.4]$

Thanks madman100
:newbie: :scratch:

JimBass 12-07-2006 01:24 PM

Your answer is right at the end of the initial command in your pasting -
Quote:

changing mode of /usr/bin/SABnzbd.py to 755
error: /usr/bin/SABnzbd.py: Operation not permitted
You are doing the right thing by compiling the software as a regular user, but the only user who can alter things (or install them) in /usr/bin is root. You'll need to do the same command as root, and it will work fine.

Peace,
JimBass

madman100 12-08-2006 06:16 PM

Hi JimBass this is the problem i get when i try to run SABnzbd.py
[typ@localhost ~]$ SABnzbd.py
Traceback (most recent call last):
File "/usr/bin/SABnzbd.py", line 44, in ?
from sabnzbd.interface import *
File "/usr/lib/python2.4/site-packages/sabnzbd/interface.py", line 31, in ?
from cherrypy.filters.gzipfilter import GzipFilter
ImportError: No module named filters.gzipfilter

Thanks
madman100
:newbie: :scratch:

JimBass 12-08-2006 07:33 PM

Always a good idea to google up your errors. I googled for "from cherrypy.filters.gzipfilter import GzipFilter" and the first hit was http://www.nabble.com/Problem-with-i...-t2557397.html

You'll have to get the gzipfilter installed into cherrypy. I don't use cherrypy, so I can't tell you how that is done. If you don't know, I would again suggest becoming good friends with the mightiest of mighties, google.

Peace,
JimBass

madman100 12-15-2006 07:04 PM

Hi JimBass i have found what causing the problem is my python i am using python 2.4.1-5.1 sabnzdb needs Python-2.4.2 or higher can i install two python and run them one for my other apps and one for sabnzbd if i remove python 2.4.1-5.1 my other apps will not work

Thanks
madman100 :newbie: :scratch:

JimBass 12-16-2006 03:09 PM

You could install 2 different versions of Python, but you really have to be careful about it. You would want to put the version that only sabnzbd needs in somewhere strange, like in /opt or so. The right place to install software is /usr/local, butyou may have issues depending on how other programs call on python. If they call it with the full path of /usr/bin/python, or /usr/lib/python, it will be fine, but if they just call python, and you have the special version in /usr/local, it may get used.

The best thing to do would be to wait until all the programs are using the 2.4.2 version.

You could install the 2.4.2 version in /opt, or any other location outside of /usr, and configure just sabnzbd to use that version. You'll have to do something like ./configure --help to find the way to specify the location of python, as it will look in the standard locations, which has the old version of python.

What you are looking to do is somewhat difficult. You'll need to be very careful about permissions and the configurations options. It can be done, but you have to be very comfortable with command line options.

Peace,
JimBass

madman100 12-17-2006 09:40 AM

hi JimBass thanks for that i will just have wait till mandriva bring out a python update for 2006 i know mandriva 2007 has the right ppython but it still too buggy and most of the apps i need do not work very well in it yet

Thanks
madman100 :newbie:


All times are GMT -5. The time now is 08:35 AM.