[Zope] freaky files

Dieter Maurer dieter@handshake.de
Thu, 14 Jun 2001 22:51:18 +0200 (CEST)


seb bacon writes:
 > Check out this traceback.  I don't even have a /var/tmp/python-root
 > directory on my machine!  What's going on?  How can I make my code use
 > my python2.1 version of mimetools?
 > 
 >   File /var/Zope-2.3.2-src/lib/python/Products/JamkitTypes/MailMessage.py, line 232, in _unpack_part
 >     (Object: DynamicType)
 >   File /var/tmp/python-root/usr/lib/python1.5/mimetools.py, line 146, in decode
 > ValueError: (see above)
You get such tracebacks, when you have installed binary "*.pyc" files.
They contain the path to the source they have been compiled from.

Hm, are you sure, you are using "python2.1" for your Zope?
It is quite unusual that python accesses a different version
of its runtime library.


Dieter