[mod_python] debian etch: testing

kosa at heckler-koch.cz kosa at heckler-koch.cz
Tue Feb 19 09:42:18 EST 2008

hi all

please, few days before, i was forced to made dist-upgrade on my debian 
etch, from stable to testing
but after this, i have a problem. Classic mod_python is working correct 
with apache. But unfortunately my work developing environment is not !

we are using, apache prefork and teng together with mod python. Here are 
my versions:

ii  apache2                              2.2.8-1                     
Next generation, scalable, extendable web se
ii  apache2-mpm-prefork                  2.2.8-1                     
Traditional model for Apache HTTPD
ii  apache2-utils                        2.2.8-1                     
utility programs for webservers
ii  apache2.2-common                     2.2.8-1                     
Next generation, scalable, extendable web se
ii  libapache2-mod-python                3.3.1-1                     
Apache 2 module that embeds Python within th
ii  libapache2-mod-python-doc            3.3.1-1                     
Apache 2 module that embeds Python within th

ii  libteng1                             1.0.12                      
Teng -- general purpose templating system

ii  python2.4                            2.4.4-7                     An 
interactive high-level object-oriented la
ii  python2.4-dbg                        2.4.4-7                     
Debug Build of the Python Interpreter (versi
ii  python2.4-fastrpc                    2.0.2                       
Fastrpc -- RPC using XML and Binary protocol
ii  python2.4-minimal                    2.4.4-7                     A 
minimal subset of the Python language (ver
ii  python2.4-teng                       1.0.0                       
Teng module for python
ii  szn-python2.4-dbglog                 1.1.7                       
Debug log library for python

this is the error message i am getting:


ProcessId:      22082
Interpreter:    ''

ServerName:     ''
DocumentRoot:   '/svn/stream/trunk/www'

URI:            '/'
Location:       None
Directory:      '/'
Filename:       '/svn/stream/trunk/www/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mp_handler'

Traceback (most recent call last):

  File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 
1537, in HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)

  File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 
1202, in _process_target
    module = import_module(module_name, path=path)

  File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 
304, in import_module
    return __import__(module_name, {}, {}, ['*'])

[all the paths are the same as before the dist-upgrade]
so please, if any has some experience with this problem, let me know. if 
this is not enough informations, i will post more.

thank you very much

More information about the Mod_python mailing list