The cherrypy filters are located at
/usr/lib/python2.4/site-packages/cherrypy/filters not
/usr/lib/python2.4/site-packages/cherrypy/lib/filter
I do not know what /cherrypy/lib/filter is for, neither do I
know why
your installation is different from mine. FYI i use version
2.2.1.
I would guess that moving the filters (or at least the
gzipfilter) to
/cherrypy/filters/ would do the trick, or alternatively
import the
class from cherrypy.lib.filter.gzipfilter
If anyone can explain it, I'd be interested to know what
cherrypy/lib/filter is for. Is this a new (or old) location
for
filters?, somewhere to put custom filters?
Rob C
Ronch wrote:
> I have SABnzbd version 0.2.4 installed. I also have
Cherrypy version
> 2.1.1 installed on FC4. The Python version is 2.4.3.
FC4 has been fully
> yum updated and I keep it up to date. My problem is
that when I try to
> start SABnzbd (SABnzbd -f SABnzbd.ini) I get the
following error:
>
> Traceback (most recent call last):
> File "./SABnzbd.py", line 44, in ?
> from sabnzbd.interface import *
> File
"/home/ronch/apps/SABnzbd-0.2.4/sabnzbd/interface.py&qu
ot;, line 31, in
> ?
> from cherrypy.filters.gzipfilter import GzipFilter
> ImportError: No module named filters.gzipfilter
>
> In searching this forum I did find another that had
this problem but
> the resolution there was to reinstall Cherrypy from the
website. I
> started from the install from the Cherrypy website and
I also
> reinstalled Cherrpy again with the same error result.
>
> After I installed all the requirements called for in
the read me. I ran
> the test programs that were included including the
Cherrypy test which
> said that the Gzipfilter passed the test. The filters
ended up being
> installed in
/usr/lib/python2.4/site-packages/cherrypy/lib/filter and
> the gzipfilter.[py pyo pyc] files are all there.
>
> I don't know what to do here to fix this. Does anybody
have a clue? Is
> this a permission problem or maybe ENV variable
problem?
>
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---
|