KeyError in Module Shared.DC.ZRDB.DA, line 375, in _cached_result
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zope 2 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Hi,
I work with cached results in ZSQL-Methods and got a KeyError for _cached_result:
Module Shared.
Module Shared.
Module Products.
Module None, line 38, in draw_line
- <PythonScript at /webgraf/
- Line 38
Module Shared.DC.ZRDB.DA, line 453, in __call__
- <SQL at /webgraf/
Module Shared.DC.ZRDB.DA, line 375, in _cached_result
KeyError: ("select * from DBA.DATA\nwhere ID='KCB00XXX'\n
and AUSBLENDEN=
I did found the real bug, but have a workaround attached.
Regards,
Dirk
This message:
http:// mail.zope. org/pipermail/ zope-db/ 2006-September/ 004684. html
...and the thread that hangs off it contains more about this issue.
It's not isolated but does affect Zope instances under high load.
It's tempting to raise this issue to "critical" but I'm not sure what that would achieve :-/