since yesterday I am getting this error with FC5:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 319, in
send_error
if self.hdf and template.endswith('.cs'): # FIXME: remove this
File "/usr/lib/python2.4/site-packages/trac/web/api.py", line 161, in
__getattr__
value = self.callbacks[name](self)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 251,
in _get_hdf
hdf =
HDFWrapper(loadpaths=Chrome(self.env).get_all_templates_dirs())
File "/usr/lib/python2.4/site-packages/trac/web/chrome.py", line 305,
in get_all_templates_dirs
dirs += provider.get_templates_dirs()
File "build/bdist.linux-i686/egg/tracrpc/web_ui.py", line 76, in
get_templates_dirs
File
"/usr/lib/python2.4/site-packages/setuptools-0.7a1dev_r52437-py2.4.egg/pkg_resources.py",
line 16, in ?
import sys, os, zipimport, time, re, imp, new, pkgutil # XXX
File "/usr/lib/python2.4/os.py", line 48, in ?
import posixpath as path
ImportError: No module named posixpath
Python works on the system:
# python -v /usr/lib/python2.4/os.py
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.4/site.pyc matches /usr/lib/python2.4/site.py
import site # precompiled from /usr/lib/python2.4/site.pyc
# /usr/lib/python2.4/os.pyc matches /usr/lib/python2.4/os.py
import os # precompiled from /usr/lib/python2.4/os.pyc
import posix # builtin
# /usr/lib/python2.4/posixpath.pyc matches
/usr/lib/python2.4/posixpath.py
import posixpath # precompiled from /usr/lib/python2.4/posixpath.pyc
# /usr/lib/python2.4/stat.pyc matches /usr/lib/python2.4/stat.py
import stat # precompiled from /usr/lib/python2.4/stat.pyc
# /usr/lib/python2.4/UserDict.pyc matches
/usr/lib/python2.4/UserDict.py
import UserDict # precompiled from /usr/lib/python2.4/UserDict.pyc
# /usr/lib/python2.4/copy_reg.pyc matches
/usr/lib/python2.4/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.4/copy_reg.pyc
# /usr/lib/python2.4/types.pyc matches /usr/lib/python2.4/types.py
import types # precompiled from /usr/lib/python2.4/types.pyc
# zipimport: found 11 names in
/usr/lib/python2.4/site-packages/BatchModify-0.1.0-py2.4.egg
# zipimport: found 26 names in
/usr/lib/python2.4/site-packages/TracAccountManager-0.2dev_r1581-py2.4.egg
# zipimport: found 15 names in
/usr/lib/python2.4/site-packages/tracreposearch-0.2-py2.4.egg
# zipimport: found 21 names in
/usr/lib/python2.4/site-packages/TracXMLRPC-0.1-py2.4.egg
import japanese # directory /usr/lib/python2.4/site-packages/japanese
# /usr/lib/python2.4/site-packages/japanese/__init__.pyc matches
/usr/lib/python2.4/site-packages/japanese/__init__.py
import japanese # precompiled from
/usr/lib/python2.4/site-packages/japanese/__init__.pyc
import japanese.aliases # directory
/usr/lib/python2.4/site-packages/japanese/aliases
# /usr/lib/python2.4/site-packages/japanese/aliases/__init__.pyc
matches /usr/lib/python2.4/site-packages/japanese/aliases/__init__.py
import japanese.aliases # precompiled from
/usr/lib/python2.4/site-packages/japanese/aliases/__init__.pyc
import encodings # directory /usr/lib/python2.4/encodings
# /usr/lib/python2.4/encodings/__init__.pyc matches
/usr/lib/python2.4/encodings/__init__.py
import encodings # precompiled from
/usr/lib/python2.4/encodings/__init__.pyc
# /usr/lib/python2.4/codecs.pyc matches /usr/lib/python2.4/codecs.py
import codecs # precompiled from /usr/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.4/encodings/aliases.pyc matches
/usr/lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from
/usr/lib/python2.4/encodings/aliases.pyc
# /usr/lib/python2.4/warnings.pyc matches
/usr/lib/python2.4/warnings.py
import warnings # precompiled from /usr/lib/python2.4/warnings.pyc
# /usr/lib/python2.4/linecache.pyc matches
/usr/lib/python2.4/linecache.py
import linecache # precompiled from /usr/lib/python2.4/linecache.pyc
# /usr/lib/python2.4/encodings/utf_8.pyc matches
/usr/lib/python2.4/encodings/utf_8.py
import encodings.utf_8 # precompiled from
/usr/lib/python2.4/encodings/utf_8.pyc
Python 2.4.3 (#1, Oct 23 2006, 14:19:47)
[GCC 4.1.1 20060525 (Red Hat 4.1.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] site
# cleanup[1] _codecs
# cleanup[1] zipimport
# cleanup[1] warnings
# cleanup[1] japanese
# cleanup[1] signal
# cleanup[1] linecache
# cleanup[1] posix
# cleanup[1] japanese.aliases
# cleanup[1] encodings
# cleanup[1] encodings.utf_8
# cleanup[1] codecs
# cleanup[1] types
# cleanup[1] encodings.aliases
# cleanup[1] exceptions
# cleanup[2] copy_reg
# cleanup[2] posixpath
# cleanup[2] os.path
# cleanup[2] stat
# cleanup[2] UserDict
# cleanup[2] os
# cleanup sys
# cleanup __builtin__
# cleanup ints: 417 unfreed ints in 8 out of 8 blocks
# cleanup floats
So the question is, why is it not working with mod_python?