ImportError: No module named filterI's.gzipfilter

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
locoroco80s
Newbie
Newbie
Posts: 16
Joined: September 26th, 2008, 7:01 am

ImportError: No module named filterI's.gzipfilter

Post by locoroco80s »

I'm desperately trying to get SAB running on Linux—it's an old xbox running Xebian a version of debian and I think a 2.4 kernell using the old sarge repos.

I seem to be getting the same error

Code: Select all

box:/home/gil/sab/SABnzbd-0.3.4# ./SABnzbd.py 
Traceback (most recent call last):
  File "./SABnzbd.py", line 26, in ?
    import sabnzbd
  File "/home/gil/sab/SABnzbd-0.3.4/sabnzbd/__init__.py", line 37, in ?
    from sabnzbd.assembler import Assembler, PostProcessor
  File "/home/gil/sab/SABnzbd-0.3.4/sabnzbd/assembler.py", line 37, in ?
    from sabnzbd.interface import CheckFreeSpace
  File "/home/gil/sab/SABnzbd-0.3.4/sabnzbd/interface.py", line 38, in ?
    from cherrypy.filters.gzipfilter import GzipFilter
ImportError: No module named filters.gzipfilter

I've found a few posts on here that say it's because of a too new a version of Cherry.py. I've checked my version and it says this;

>>> import cherrypy
>>>

also there's this:

Code: Select all

box:/home/gil/sab/SABnzbd-0.3.4# cd /usr/local/lib/python2.5/   
box:/usr/local/lib/python2.5# cd site-packages/
box:/usr/local/lib/python2.5/site-packages# ls
Cheetah                        elementtree-1.2.6_20050316-py2.5.egg-info
Cheetah-2.0.1-py2.5.egg-info   pysqlite-2.5.6-py2.5.egg-info
CherryPy-2.2.1-py2.5.egg-info  pysqlite2
README                         yenc-0.3-py2.5.egg-info
_yenc.so                       yenc.py
cherrypy                       yenc.pyc
elementtree
box:/usr/local/lib/python2.5/site-packages# 
Any ideas how I can get round this error and get the amazing program that is SAB up and running?

I'm not sure if it's connected but I tried using SABnzb-.4+ at first but it kept complaining I need a version of python greather than 2.3. But when I run the command Python -V the version number is Python 2.5.4 -- above the required version. So I dropped down a version point not sure if that;s the right thing to of done.

TIA. ???
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: ImportError: No module named filterI's.gzipfilter

Post by shypike »

We don't support release 0.3.4 anymore.
It needs a very old version of CherryPy.
You should use SABnzbd 0.4.12 or higher, those come with their own CherryPy included.
locoroco80s
Newbie
Newbie
Posts: 16
Joined: September 26th, 2008, 7:01 am

Re: ImportError: No module named filterI's.gzipfilter

Post by locoroco80s »

I've changed to SABnzbd-0.4.12 but I'm now getting the wrong Python version error.

Code: Select all

box:/home/gil/sab/SABnzbd-0.4.12# ls
CHANGELOG.txt  INSTALL.txt  README.txt           cherrypy
COPYRIGHT.txt  ISSUES.txt   SABnzbd.py           interfaces
GPL2.txt       LICENSE.txt  Sample-PostProc.cmd  licenses
GPL3.txt       PKG-INFO     Sample-PostProc.sh   sabnzbd
box:/home/gil/sab/SABnzbd-0.4.12# ./SABnzbd.py 
Sorry, requires Python 2.4.3 or higher.
Traceback (most recent call last):
  File "./SABnzbd.py", line 21, in ?
    exit(1)
TypeError: 'str' object is not callable
box:/home/gil/sab/SABnzbd-0.4.12# 

But according to python I'm running a hire version:

Code: Select all

box:/home/gil/sab/SABnzbd-0.4.12# python -V
Python 2.5.4
Any ideas what's going wrong?
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: ImportError: No module named filterI's.gzipfilter

Post by shypike »

What happens if you use this?

Code: Select all

python ./SABnzbd.py
locoroco80s
Newbie
Newbie
Posts: 16
Joined: September 26th, 2008, 7:01 am

Re: ImportError: No module named filterI's.gzipfilter

Post by locoroco80s »

python SABnzbd.py seems to work fine.

That's weird.

Thanks for your help :D
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: ImportError: No module named filterI's.gzipfilter

Post by shypike »

Most Unix scripts have their interpreter path in the first line.
The path that SABnzbd.py uses might not be appropriate for your system.
Post Reply