[Zope-dev] Fwd: RE: [Zope] import error - No module named iclass

2002-11-19 Thread JĂșlio Silva
I'm upgrading to zope 2.6.0. When I try to import a ZClass based Product from zope 2.5.1 i get the following error. Error Type: ImportError Error Value: No module named iclass Yup. This was discussed about a week ago. Search the mailing list archives; but as I remember, only the

[Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Jerome Alet
Hi, Someone has reported to me a problem when running ZShell's latest version (1.5) under Zope 2.6 CVS and Python 2.2.2 Here's the traceback : * Traceback (innermost last): Module ZPublisher.Publish, line 98, in publish Module ZPublisher.mapply, line 88, in mapply Module

Re: [Zope-dev] CMF, CMFCore/utils.py, Tuple/List incompatibility

2002-11-19 Thread Florent Guillaume
I had the same problem once. It turned out that I had called manage_setLocalRoles with a tuple instead of a list, but as you found out some code expects all local roles to be stored as the same sequence type, and Role.manage_addLocalRoles enforces the invariant that a changed role is stored as a

Re: [Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Guido van Rossum
Module sre, line 168, in ? AttributeError: 'module' object has no attribute 'hexversion' * This seems to be deep in Python standard library. Not that deep actually. sre.py line 168 is this: if sys.hexversion = 0x0202: Since I don't actually use Zope 2.6, does anyone have

Re: [Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Jerome Alet
Hi, On Tue, Nov 19, 2002 at 01:54:56PM -0500, Guido van Rossum wrote: Since I don't actually use Zope 2.6, does anyone have an idea on where the problem may come from ? You're using restricted mode (the rexec module) and this apparently doesn't provide sys.hexversion. This is a

Re: [Zope-dev] Problem with Zope 2.6.0 and ZShell

2002-11-19 Thread Guido van Rossum
On Tue, Nov 19, 2002 at 01:54:56PM -0500, Guido van Rossum wrote: Since I don't actually use Zope 2.6, does anyone have an idea on where the problem may come from ? You're using restricted mode (the rexec module) and this apparently doesn't provide sys.hexversion. This is a

Re: [Zope-dev] RDB connections and cursors

2002-11-19 Thread Dieter Maurer
Leonardo Rochael Almeida writes: ... Assuming my reasoning above is correct we should be able to create a single connection and a single cursor on __setstate__ of the DA connector instance of the ZODB. The transaction boundaries would be handled normally, but since a worker thread only