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

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


Another followup:

the module import seems to completely broken when using the -U option.

Andreas
----- Original Message ----- 
From: "Andreas Jung" <andreas@andreas-jung.com>
To: <zope3-dev@zope.org>
Sent: Friday, February 08, 2002 19:48
Subject: [Zope3-dev] Strange behaviour of python2.2 -U with Zope 3


> 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
> 
> 
> 
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev@zope.org
> http://lists.zope.org/mailman/listinfo/zope3-dev
>