|
Nikolaus Schlemm
nikl at nikl.net
Mon Jun 26 12:48:55 EDT 2006
> But it is interesting that all the hex values are the same regardless
> of the digest input. I don't have an ubuntu or debian setup .... does
also note that the hex-values change each request.
> Is there a chance that perhaps some other module may be conflicting?
> Try to also output this:
>
> import sys
> req.write( repr(sys.modules) )
looks ok to me:
{'cStringIO': <module 'cStringIO'
from '/usr/lib/python2.4/lib-dynload/cStringIO.so'>, 'cmd': <module 'cmd'
from '/usr/lib/python2.4/cmd.pyc'>, 'copy_reg': <module 'copy_reg'
from '/usr/lib/python2.4/copy_reg.pyc'>, 'sre_compile': <module 'sre_compile'
from '/usr/lib/python2.4/sre_compile.pyc'>, 'mod_python.stat': None, '_sre':
<module '_sre' (built-in)>, 'site': <module 'site'
from '/usr/lib/python2.4/site.pyc'>, '__builtin__': <module '__builtin__'
(built-in)>, 'syslog': <module 'syslog'
from '/usr/lib/python2.4/lib-dynload/syslog.so'>, '__main__':
<module '__main__' (built-in)>, 'mod_python': <module 'mod_python'
from '/usr/lib/python2.4/site-packages/mod_python/__init__.pyc'>, 'posixpath':
<module 'posixpath' from '/usr/lib/python2.4/posixpath.pyc'>, 'bdb':
<module 'bdb' from '/usr/lib/python2.4/bdb.pyc'>, 'mod_python.sys':
None, 'pprint': <module 'pprint'
from '/usr/lib/python2.4/pprint.pyc'>, 'sre_constants':
<module 'sre_constants' from '/usr/lib/python2.4/sre_constants.pyc'>, 're':
<module 're' from '/usr/lib/python2.4/re.pyc'>, 'mod_python.imp':
None, 'os.path': <module 'posixpath'
from '/usr/lib/python2.4/posixpath.pyc'>, 'mod_python.pdb':
None, 'mod_python.traceback': None, 'md5': <module 'md5'
from '/usr/lib/python2.4/lib-dynload/md5.so'>, 'stat': <module 'stat'
from '/usr/lib/python2.4/stat.pyc'>, 'zipimport': <module 'zipimport'
(built-in)>, 'mod_python.types': None, 'string': <module 'string'
from '/usr/lib/python2.4/string.pyc'>, 'mptest': <module 'mptest'
from '/home/nikl/dev/modpython/mptest.py'>, 'UserDict': <module 'UserDict'
from '/usr/lib/python2.4/UserDict.pyc'>, 'repr': <module 'repr'
from '/usr/lib/python2.4/repr.pyc'>, 'mod_python.os':
None, 'mod_python.apache': <module 'mod_python.apache'
from '/usr/lib/python2.4/site-packages/mod_python/apache.pyc'>, 'imp':
<module 'imp' (built-in)>, 'types': <module 'types'
from '/usr/lib/python2.4/types.pyc'>, 'strop': <module 'strop'
from '/usr/lib/python2.4/lib-dynload/strop.so'>, 'sys': <module 'sys'
(built-in)>, 'sre': <module 'sre'
from '/usr/lib/python2.4/sre.pyc'>, 'traceback': <module 'traceback'
from '/usr/lib/python2.4/traceback.pyc'>, 'mod_python._apache':
None, '_apache': <module '_apache' (built-in)>, 'linecache':
<module 'linecache' from '/usr/lib/python2.4/linecache.pyc'>, 'itertools':
<module 'itertools'
from '/usr/lib/python2.4/lib-dynload/itertools.so'>, 'posix': <module 'posix'
(built-in)>, 'mod_python.time': None, 'time': <module 'time'
from '/usr/lib/python2.4/lib-dynload/time.so'>, 'sre_parse':
<module 'sre_parse'
from '/usr/lib/python2.4/sre_parse.pyc'>, 'mod_python.syslog': None, 'os':
<module 'os' from '/usr/lib/python2.4/os.pyc'>, 'pdb': <module 'pdb'
from '/usr/lib/python2.4/pdb.pyc'>}
> BTW, what processors do your machines have?
the debian box runs on a celeron 2ghz, the ubuntu box on an opteron 144
--
MfG
Nikl
|