|
|
|
Issue 17 of
Adaptable Persistence Engine
[Ape]
|
| Title: |
GRUF and BtreeFolder2 break APE
|
| Status: |
Pending
|
Security |
related:
No
|
| Description: |
APE seems to be a bit more touchy to certain objects than the default ZODB filestorage. In other words:
Btreefolder2 and Group User Folders work usin...
|
| From: |
stonor
|
on: |
Jun 9, 04 10:53
|
| |
stonor
|
Last update:
|
Jun 9, 04 10:53
|
| Topic/class: |
Any Storage/Bug
|
Importance:
|
normal
|
| Version info: |
Zope 2.7.0
Windows 2000
Python 2.3.3
APE 0.8 and APE 0.8 CVS
Both filestorage and SQLstorage (Mysql)
GRUF 2.0.1
BT... |
|
Issue 17 Transcript
|
|
1 entry
|
= Request - Entry #1 by stonor on Jun 9, 2004 10:53 am
APE seems to be a bit more touchy to certain objects than the default ZODB filestorage. In other words:
Btreefolder2 and Group User Folders work using default ZODB filestorage, but break with APE. It might be the case with other object types, but in general APE works fine on my box.
Maybe it's just my environment, but on the other hand APE might (on
purpose?) be more touchy.
Btreefolder2 traceback:
2004-06-07T20:47:51 ERROR(200) ZODB Couldn't load state for '17'
Traceback (most recent call last):
File "c:\zopesand\Products\Ape\lib\apelib\zodb3\connection.py", line
359, in setstate
event = osio.deserialize(oid, obj, classification, state)
File "c:\zopesand\Products\Ape\lib\apelib\core\io.py", line 160, in
deserialize
mapper.serializer.deserialize(event, state)
File "c:\zopesand\Products\Ape\lib\apelib\core\serializers.py", line
102, in deserialize
s.deserialize(event, state)
File "c:\zopesand\Products\Ape\lib\apelib\zope2\ofsserial.py", line
129, in deserialize
obj._initBTrees()
File "C:\zopedev\Products\BTreeFolder2\BTreeFolder2.py", line 477, in
__getattr__
res = self._tree.get(name)
AttributeError: 'NoneType' object has no attribute 'get'
----
GRUF traceback:
Traceback (innermost last):
* Module ZPublisher.Publish, line 104, in publish
* Module Zope.App.startup, line 221, in commit
* Module ZODB.Transaction, line 233, in commit
* Module ZODB.Transaction, line 348, in _commit_objects
* Module apelib.zodb3.connection, line 263, in commit
* Module apelib.core.io, line 152, in serialize
* Module apelib.core.serializers, line 93, in serialize
* Module apelib.zope2.security, line 103, in serialize
* Module Products.GroupUserFolder.DynaList, line 24, in __getitem__
* Module Products.GroupUserFolder.GRUFFolder, line 153, in data
* Module Products.GroupUserFolder.GRUFFolder, line 186, in
userdefined_roles
* Module Products.GroupUserFolder.GRUFFolder, line 180, in listGroups
AttributeError: Groups
|
|
|