List Info

Thread: Problems with Mod_Python & CherryPY




Problems with Mod_Python & CherryPY
user name
2006-08-15 14:09:15
Hi All,

First of, I've got to admit that I am no python user or
cherrypy pro as
I know mainly nothing about them.

I've been working at getting cherrypy running with
mod_python, I am
receiving this error when I run this command on startup of a
web
application that I am trying to install:

tamspud:~/www/sites/domain/htdocs/SABnzbd$ python
SABnzbd.py -f
/etc/SABnzbd.ini
Traceback (most recent call last):
  File "SABnzbd.py", line 37, in ?
    from sabnzbd.interface import *
  File
"/home/tam/www/sites/domain/htdocs/SABnzbd/sabnzbd/int
erface.py", line
31, in ?
    from cherrypy.filters.gzipfilter import GzipFilter
ImportError: No module named filters.gzipfilter

Now when suggested on IRC that I should check my PythonPath
here is the
output.

>>> print sys.path
['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
'/usr/lib/python2.4/plat-linux2',
'/usr/lib/python2.4/lib-tk',
'/usr/lib/python2.4/lib-dynload',
'/usr/local/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages',
'/usr/lib/python2.4/site-packages/HTMLgen',
'/usr/lib/python2.4/site-packages/Numeric',
'/usr/lib/python2.4/site-packages/PIL',
'/usr/lib/python2.4/site-packages/cairo',
'/usr/lib/python2.4/site-packages/gst-0.10',
'/usr/lib/python2.4/site-packages/gtk-2.0']

And cherrypy is installed to: cherrypy: /usr/bin/cherrypy
/usr/bin/X11/cherrypy /usr/share/cherrypy
/usr/share/man/man1/cherrypy.1.gz

To be honest, I'm not sure what to do, or really how to fix
such
problem. Does anyone know what to do/fix.

I am such on what to do.

As another posted his system stats mines are the same as his
so they
are there for your referances
Ubuntu 6.06
Ubuntu 6.06's apache2, python, libapache2-mod-python2.4
packages:
Apache 2.0.55
mod_python 3.1.4
Python 2.4.3 

Many thanks in advance,

Tam.


--~--~---------~--~----~------------~-------~--~----~
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 http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1]

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