[Zope-dev] Zope Tests: 4 OK, 2 Failed

2008-12-14 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sat Dec 13 12:00:00 2008 UTC to Sun Dec 14 12:00:00 2008 UTC.
There were 6 messages: 6 from Zope Tests.


Test failures
-

Subject: FAILED (failures=2) : Zope-trunk Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Dec 13 20:31:43 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-December/010649.html

Subject: FAILED (failures=2) : Zope-trunk Python-2.5.2 : Linux
From: Zope Tests
Date: Sat Dec 13 20:33:14 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-December/010650.html


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.7 : Linux
From: Zope Tests
Date: Sat Dec 13 20:25:43 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-December/010645.html

Subject: OK : Zope-2.9 Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Dec 13 20:27:13 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-December/010646.html

Subject: OK : Zope-2.10 Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Dec 13 20:28:43 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-December/010647.html

Subject: OK : Zope-2.11 Python-2.4.5 : Linux
From: Zope Tests
Date: Sat Dec 13 20:30:13 EST 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-December/010648.html

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] adapting to None

2008-12-14 Thread Chris Withers
Dieter Maurer wrote:
 I *DO* want that I can rely on the result of IInterface(...) really
 providing IInterface (and not be forced to check against all
 potential values others invented to circumvent the adaptation semantics).
 Thus, I hope, you will not get your wish :-)

FFS, I'm not asking for the semantics of the Interface class to change, 
I'm asking why subclassing (which is a pretty fundamental part of the 
python language!) doesn't work correctly with interfaces...

Chris

-- 
Simplistix - Content Management, Zope  Python Consulting
- http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Fwd: Help with RelStorage ...

2008-12-14 Thread Shane Hathaway
Gareth Bult wrote:
 Superb!
 
 The times were 90 secs out .. now I'm just left with this one;
 
 ==
 FAIL: checkPackWithMultiDatabaseReferences (__main__.MySQLTests)
 --
 Traceback (most recent call last):
   File 
 /opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/tests/PackableStorage.py,
  line 329, in checkPackWithMultiDatabaseReferences
 assert(len(self._storage) == 1)
 AssertionError
 
 --
 Ran 106 tests in 26.300s
 
 FAILED (failures=1)
 
  which I'm guessing it not a major problem ???

That test was added after ZODB 3.8.0.  The rest of the tests like it 
allow len(self._storage) to return 0, indicating the storage does not 
need to support that operation.  I have fixed the test to allow len() to 
return 0 on the ZODB 3.8 branch and the trunk.

Shane

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Fwd: Help with RelStorage ...

2008-12-14 Thread Shane Hathaway
Gareth Bult wrote:
 Ok,
 
 I'm working from SVN trunk .. just did svn up, build, install .. still get 
 this;
 (I'm including the cruf too just in case it means anything)
 
 WARNING:relstorage:Reconnecting load_conn: (2006, 'MySQL server 
 has gone away')
 ...ERROR:ZODB.ConflictResolution:Unexpected error
 Traceback (most recent call last):
   File 
 /opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/ConflictResolution.py,
  line 207, in tryToResolveConflict
 resolved = resolve(old, committed, newstate)
   File 
 /opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/tests/ConflictResolution.py,
  line 50, in _p_resolveConflict
 raise AttributeError(no attribute (testing conflict resolution))
 AttributeError: no attribute (testing conflict resolution)
 .ERROR:ZODB.ConflictResolution:Unexpected error
 Traceback (most recent call last):
   File 
 /opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/ConflictResolution.py,
  line 207, in tryToResolveConflict
 resolved = resolve(old, committed, newstate)
 TypeError: _p_resolveConflict() takes exactly 3 arguments (4 given)
 .WARNING:relstorage:Storage KeyError on oid 1: creation has been undone; 
 Current transaction is 250672468210118451; Recent object tids: 
 [250672468210118451L, 250672468209278634L]
 ...F..WARNING:relstorage:Storage
  KeyError on oid 1: creation has been undone; Current transaction is 
 250672469461016780; Recent object tids: [250672469461016780L, 
 250672469459548552L, 250672469458076313L, 250672469457154321L, 
 250672469456718387L, 250672469456239496L]
 WARNING:relstorage:Storage KeyError on oid 1: creation has been 
 undone; Current transaction is 250672469634397320; Recent object tids: 
 [250672469634397320L, 250672469616669337L, 250672469607342097L, 
 250672469601011814L]
 ...

Yeah, this cruft means it's actually doing exactly the right thing. :-/ 
  It's testing error conditions, but several of those error conditions 
produce log messages as a side effect.

 ==
 FAIL: checkPackWithMultiDatabaseReferences (__main__.MySQLTests)
 --
 Traceback (most recent call last):
   File 
 /opt/Plone-3.1/Python-2.4/lib/python2.4/site-packages/ZODB3-3.8.1-py2.4-linux-x86_64.egg/ZODB/tests/PackableStorage.py,
  line 329, in checkPackWithMultiDatabaseReferences

That ZODB3-3.8.1-py2.4-linux-x86_64.egg part of the path implies 
you're still testing the 3.8.1 release, not the SVN trunk.

Shane

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )