[Zope] freaky files

Tony McDonald tony.mcdonald@ncl.ac.uk
Thu, 14 Jun 2001 08:48:20 +0100


On 13/6/01 10:27 pm, "seb bacon" <seb@jamkit.com> wrote:

> 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)
> 
> 
> Cheers,
> 
> seb

Have you got any .pyc or .pyo files of the same name (mimetype.pyc .pyo). If
so, nuke em and restart.

Tone.
-- 
Dr Tony McDonald,  Assistant Director, FMCC, http://www.fmcc.org.uk/
The Medical School, Newcastle University Tel: +44 191 243 6140
A Zope list for UK HE/FE  http://www.fmcc.org.uk/mailman/listinfo/zope