LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-07-2006, 12:08 PM   #1
madman100
Member
 
Registered: Jul 2006
Posts: 37

Rep: Reputation: 15
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
 
Old 12-07-2006, 01:24 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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
 
Old 12-08-2006, 06:16 PM   #3
madman100
Member
 
Registered: Jul 2006
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 12-08-2006, 07:33 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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
 
Old 12-15-2006, 07:04 PM   #5
madman100
Member
 
Registered: Jul 2006
Posts: 37

Original Poster
Rep: Reputation: 15
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
 
Old 12-16-2006, 03:09 PM   #6
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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
 
Old 12-17-2006, 09:40 AM   #7
madman100
Member
 
Registered: Jul 2006
Posts: 37

Original Poster
Rep: Reputation: 15
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

Last edited by madman100; 12-17-2006 at 09:44 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WIFI: Interface could not be set up. Bundy Linux - Wireless Networking 1 10-06-2005 07:11 PM
help - need to set up iptables on one interface out of three only aemee Linux - Security 2 05-10-2005 08:51 PM
Trying to set up DHCP, problem with the interface veritas Linux - Networking 1 05-04-2004 12:00 PM
Glade can't compile interface when C++ is set as language radiohead_rocks Programming 4 01-27-2004 10:21 AM
set interface duplex zuessh Linux - Networking 1 09-19-2003 09:50 AM


All times are GMT -5. The time now is 03:33 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration