To be honest, I can't say for sure that the update is what broke things, but the short version of a long story is this:
had trac running on a webserver running Lenny.
did an apt-get update & upgrade
trac stopped working: Error 500 (Internal server error).
Checked all configs, rechecked configs, checked error logs & saw a TypeError:
[Tue Apr 07 16:09:03 2009] [error] [client 10.4.1.97] File "/usr/lib/python2.5/site-packages/Pyrex/Distutils/extension.py", line 30, in Extension\n """
[Tue Apr 07 16:09:03 2009] [error] [client 10.4.1.97] TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Looked at extension.py & saw that line 30 is the last line of the docstring that looks something like:
import distutils.extension as _Extension
_Extension.Extension.__doc__ + \
"""pyrex_include_dirs : [string]
list of directories to search for Pyrex header files (.pxd) (in
Unix form for portability)
pyrex_create_listing_file : boolean
write pyrex error messages to a listing (.lis) file.
pyrex_cplus : boolean
use the C++ compiler for compiling and linking.
pyrex_c_in_temp : boolean
put generated C files in temp directory.
pyrex_gen_pxi : boolean
generate .pxi file for public declarations
""" # This is line 30
If I comment out the "_Extension.Extension.__doc__ + \", trac stops the 500, but it does not display the header (where all the links are).
If I open a python shell, even after doing an "unsetenv PYTHONPATH", I can do this:
Python 2.5.2 (r252:60911, Jan 4 2009, 21:59:32)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import distutils.extension as _Extension
'Just a collection of attributes that describes an extension\n module
At this point, I'm a bit stumped. Anyone have this issue or know what it's related to (and how to solve it