I work with cached results in ZSQL-Methods and got a KeyError for _cached_result:
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 325, in _exec
Module None, line 38, in draw_line
- <PythonScript at /webgraf/Typ2/draw_line>
- Line 38
Module Shared.DC.ZRDB.DA, line 453, in __call__
- <SQL at /webgraf/sql_get_data used for /webgraf/Typ2>
Module Shared.DC.ZRDB.DA, line 375, in _cached_result
KeyError: ("select * from DBA.DATA\nwhere ID='KCB00XXX'\n
and AUSBLENDEN=false\norder by X_SORT", 1000, '\nDBConnId: None')
I did found the real bug, but have a workaround attached.
Uploaded: Zope-2. 8.6-cached- result. patch
Hi,
I work with cached results in ZSQL-Methods and got a KeyError for _cached_result:
Module Shared. DC.Scripts. Bindings, line 311, in __call__ DC.Scripts. Bindings, line 348, in _bindAndExec PythonScripts. PythonScript, line 325, in _exec Typ2/draw_ line> sql_get_ data used for /webgraf/Typ2> false\norder by X_SORT", 1000, '\nDBConnId: None')
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