[Zope3-dev] Zope3 Tests not OK :-(

Grégoire Weber gregoire.weber@switzerland.org
Thu, 28 Nov 2002 16:19:47 +0100


Hi all,

I get the following errors running the test suite in Win2k (zope3 built 
with cygwin using):

  - gcc       (3.2-3)
   - python    (2.2.2-1)
   - expat     (1.95.5-1)

Most actual cvs head checkout.

Something wrong with my setup?

Greetings, Greg
--------------------------------------------------------------------------
$ python test.py -v
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
....................................................................................................
..............................

Error in test testModule (Persistence.tests.testModule.TestModule)
Traceback (most recent call last):
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/Persistence/tests/testModule.py", line
 90, in testModule
    mgr.new("pmtest", open(self._pmtest).read())
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/Persistence/Module.py", line 129, in n
ew
    self.update(source)
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/Persistence/Module.py", line 139, in u
pdate
    exec source in moddict
  File "<string>", line 1
    """A simple module"""
                         ^
SyntaxError: invalid syntax

........

Error in test testModuleReload (Persistence.tests.testModule.TestModuleReload)
Traceback (most recent call last):
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/Persistence/tests/testModule.py", line
 356, in testModuleReload
    mgr.new("pmtest", open(self._pmtest).read())
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/Persistence/Module.py", line 129, in n
ew
    self.update(source)
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/Persistence/Module.py", line 139, in u
pdate
    exec source in moddict
  File "<string>", line 1
    """A simple module"""
                         ^
SyntaxError: invalid syntax

.............................................................Exception in thread Connect([(2, ('loca
lhost', 25032))]):
Traceback (most recent call last):
  File "/tmp/python.3132/usr/lib/python2.2/threading.py", line 408, in __bootstrap
    self.run()
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/ZEO/zrpc/client.py", line 287, in run
    success = self.try_connecting()
  File "/cygdrive/e/user/greg/data/zope3-dev/Zope3/lib/python/ZEO/zrpc/client.py", line 351, in try_
connecting
    del wrappers[wrap]
KeyError: <ZEO.zrpc.client.ConnectWrapper instance at 0x1109f2f8>



At 10:13 28.11.2002 +0100, Godefroid Chapelle wrote:
>Hi Jeremy,
>
>Current Zope 3 test suite still does not pass on Windows 2k. Do you have an=
 idea of the origin of the Connection refused errors ?
>
>Hints:
>
>There are a few Python instances left hanging after the end of the test=
 suite.
>
>Tests were still passing last week. Could it be related with Merge ZEO2=
 into ZODB4 ?

_____________________________________
Grégoire Weber
Rigistr. 31
CH-8006 Zürich
Switzerland
phone:  +41-(0)1-361 66 11
mobile: +41-(0)79-44 11 457
mailto:gregoire.weber@switzerland.org