[Zope3-dev] Strange behaviour of python2.2 -U with Zope 3

Andreas Jung andreas@andreas-jung.com
Fri, 8 Feb 2002 19:48:08 -0500


python2.2 utilities/unittestgui.py Zope.Testing.allZopeTests
start the GUI for the Zope3 unittests. So far so good.

I tried to run all tests with unicode as default string type:

 python2.2 -U utilities/unittestgui.py Zope.Testing.allZopeTests

This fails with the following traceback:

yetix@/develop/DC/sandboxes/3x(57)% python2.2 -U utilities/unittestgui.py
Zope.Testing.allZopeTests
Traceback (most recent call last):
  File "utilities/unittestgui.py", line 30, in ?
    import linecache
ImportError: No module linecache

Also "python2.2 -U -c "import linecache" " fails

Any ideas ?

Andreas