[Python-modules-team] Bug#501429: libapache2-mod-python: MOD_PYTHON ERROR when running on Trac 0.11.1-2

Patrick Yuen pyuen22 at gmail.com
Tue Oct 7 09:36:53 UTC 2008


Package: libapache2-mod-python
Version: 3.3.1

Hello,

I am running lenny and installed trac with apache2 + mod_python. Randomly i
receive this message.

- - - -

MOD_PYTHON ERROR

ProcessId:      3090
Interpreter:    'main'

ServerName:     'localhost'
DocumentRoot:   '/var/www/'

URI:            '/trac/'
Location:       '/trac/'
Directory:      None
Filename:       '/var/www/trac/'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mod_python'

Traceback (most recent call last):

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

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1206,
in _process_target
    object = apache.resolve_object(module, object_str, arg, silent=silent)

  File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 696, in
resolve_object
    raise AttributeError, s

AttributeError: module
'/usr/lib/python2.5/site-packages/mod_python/__init__.pyc' contains no
'handler'


HTTP/1.1 302 Found Date: Tue, 07 Oct 2008 07:37:09 GMT Server: Apache/2.2.9
(Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-4 with Suhosin-Patch mod_python/3.3.1
Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0
Location: https://localhost/trac/ Pragma: no-cache Cache-control: no-cache
Expires: Fri, 01 Jan 1999 00:00:00 GMT Set-Cookie: trac_auth=; expires=Tue,
07-Oct-2008 04:50:29 GMT; Path=/trac Keep-Alive: timeout=15, max=98
Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/plain e
Redirecting... 3a9

MOD_PYTHON ERROR

ProcessId:      3090
Interpreter:    'main'

ServerName:     'localhost'
DocumentRoot:   '/var/www/'

URI:            '/trac/logout'
Location:       '/trac/'
Directory:      None
Filename:       '/var/www/trac/logout'
PathInfo:       ''

Phase:          'PythonHandler'
Handler:        'mod_python'

Traceback (most recent call last):

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

  File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1206,
in _process_target
    object = apache.resolve_object(module, object_str, arg, silent=silent)

  File "/usr/lib/python2.5/site-packages/mod_python/apache.py", line 696, in
resolve_object
    raise AttributeError, s

AttributeError: module
'/usr/lib/python2.5/site-packages/mod_python/__init__.pyc' contains no
'handler'


0

- - - -

ii  trac                              0.11.1-2                   Enhanced
wiki and issue tracking system for software development projects
ii  libapache2-mod-python             3.3.1-5
Python-embedding module for Apache 2
ii  python                            2.5.2-2                    An
interactive high-level object-oriented la
ii  python-central                    0.6.8                      register
and build utility for Python packag
ii  python-chardet                    1.0.1-1.1                  universal
character encoding detector
ii  python-clearsilver                0.10.4-1.3                 Python
bindings for clearsilver
ii  python-genshi                     0.5.0-1                    Python
XML-based template engine
ii  python-imaging                    1.1.6-3                    Python
Imaging Library
ii  python-minimal                    2.5.2-2                    A minimal
subset of the Python language (def
ii  python-pkg-resources              0.6c8-4                    Package
Discovery and Resource Access using
ii  python-pygments                   0.10-1                     syntax
highlighting package written in Pytho
ii  python-pysqlite2                  2.4.1-1                    Python
interface to SQLite 3
ii  python-setuptools                 0.6c8-4                    Python
Distutils Enhancements
ii  python-subversion                 1.5.1dfsg1-1               Python
bindings for Subversion
ii  python-support                    0.8.4                      automated
rebuilding support for Python modu
ii  python-tz                         2008c-2                    Python
version of the Olson timezone databas
ii  python2.4                         2.4.5-5                    An
interactive high-level object-oriented la
ii  python2.4-minimal                 2.4.5-5                    A minimal
subset of the Python language (ver
ii  python2.5                         2.5.2-11.1                 An
interactive high-level object-oriented la
ii  python2.5-minimal                 2.5.2-11.1                 A minimal
subset of the Python language (ver


-- 
Cheers.
~Pat.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20081007/1ac884fb/attachment-0001.htm 


More information about the Python-modules-team mailing list