[Zope] ZSQL Pluggable brains broke in later Zope, can't add instance attributes
Brad Clements
bkc@murkworks.com
Thu, 5 Jul 2001 14:14:26 -0400
On 5 Jul 2001, at 13:48, Chris McDonough wrote:
> I'm actually sort of surprised that it used to work at all.. I'd imagine
> that AttributeError is on the eventtime attr, right?
Nope, I'm being denied the ability to put 'eday' into self.__dict__
Anyway, eventtime *is* already in self.__dict__ before the brain is created
Traceback (innermost last):
File /home/bkc/Development/lib/python/ZPublisher/Publish.py, line 223, in publish_module
File /home/bkc/Development/lib/python/ZPublisher/Publish.py, line 187, in publish
File /home/bkc/Development/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook
(Object: Delivered)
File /home/bkc/Development/lib/python/ZPublisher/Publish.py, line 171, in publish
File /home/bkc/door2door/lib/python/ZPublisher/mapply.py, line 160, in mapply
(Object: PackageInfo)
File /home/bkc/Development/lib/python/ZPublisher/Publish.py, line 112, in call_object
(Object: PackageInfo)
File /home/bkc/Development/lib/python/OFS/DTMLDocument.py, line 189, in __call__
(Object: PackageInfo)
File /home/bkc/Development/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__
(Object: PackageInfo)
File /home/bkc/Development/lib/python/DocumentTemplate/DT_With.py, line 151, in render
(Object: GetDB().Package.TrackingNumber_index.select(trackingnumber).fetchone())
File /home/bkc/Development/lib/python/DocumentTemplate/DT_Let.py, line 149, in render
(Object: shipment="GetDB().Shipment.ShipmentId_index.select(shipmentid).fetchone()")
File /home/bkc/Development/lib/python/OFS/DTMLDocument.py, line 182, in __call__
(Object: PackageEventInfo)
File /home/bkc/Development/lib/python/DocumentTemplate/DT_String.py, line 540, in __call__
(Object: PackageEventInfo)
File /home/bkc/Development/lib/python/DocumentTemplate/DT_Let.py, line 149, in render
(Object: dCache="CacheObject(('PackageEventDetailEven','PackageEventDetailOdd'))")
File /home/bkc/Development/lib/python/DocumentTemplate/DT_In.py, line 701, in renderwob
(Object: SQLPackageEvent)
File /home/bkc/door2door/lib/python/Shared/DC/ZRDB/Results.py, line 174, in __getitem__
File /home/bkc/door2door/lib/python/Shared/DC/ZRDB/Results.py, line 157, in __init__
(Object: PackageEvent)
File /home/bkc/Development/Extensions/Strader.py, line 100, in __init__
(Object: PackageEvent)
AttributeError: eday