List Info

Thread: Problem with importing modules (gzipfilter)




Problem with importing modules (gzipfilter)
user name
2006-11-02 10:07:33
>
> 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?
>

The lib/filter directory is like a dinosaur directory for
CherryPy. It
dates from CherryPy 2.0 and maybe 2.1. At some point we
moved
cherrypy/lib/filter to cherrypy/filters.

So this sounds like a very old CherryPy installation.

If possible I would greatly advise to move at least to
CherryPy 2.2 (or
even 3.0 if possible but that would require a bit more work
certainly
although with a reward).

http://download.cherrypy
.org

- Sylvain


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at ht
tp://groups-beta.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )