Ed Leafe wrote:
> On Oct 30, 2006, at 3:13 PM, Uwe Grauer wrote:
>
>> Should i send a little testapp to help you get going to fix the fb-error?
>> Please tell me if i can help on minimizing your problems.
>
> Actually, I was looking through the code, and your Tracker posting
> noted that you are using Dabo source version 2377, when the current
> version is 2405. The interaction between bizobj and cursor has been
> radically changed since then, and the code in the bizobj that set off
> the error no longer exists.
>
> Would it be possible to update to the latest Dabo code and re-test?
> If you still get an error, you could post that traceback on the Tracker.
>
> -- Ed Leafe
> -- http://leafe.com
> -- http://dabodev.com
When i first noticed the errors i went back until there were no more errors.
The firebird support broke with the changes from rev 2343 to 2344.
With rev 2405 the situation somehow improved a bit.
Here is the traceback with dabo rev 2405:
[EMAIL PROTECTED]:~/mysrc/ugfw/fwadm> python fwadm.py
Traceback (most recent call last):
File "/home/uwe/src/dabo/dabo/lib/eventMixin.py", line 97, in raiseEvent
bindingFunction(event)
File "/home/uwe/src/dabo/dabo/ui/uiwx/dPemMixin.py", line 1055, in
__onUpdate
self.update()
File "/home/uwe/src/dabo/dabo/ui/dDataControlMixinBase.py", line 101,
in update
self.Value = self.Source.getFieldVal(self.DataField)
File "/home/uwe/src/dabo/dabo/ui/uiwx/dEditBox.py", line 207, in _setValue
ret = super(dEditBox, self)._setValue(val)
File "/home/uwe/src/dabo/dabo/ui/uiwx/dDataControlMixin.py", line 79,
in _setValue
self._afterValueChanged()
File "/home/uwe/src/dabo/dabo/ui/dDataControlMixinBase.py", line 283,
in _afterValueChanged
self.flushValue()
File "/home/uwe/src/dabo/dabo/ui/dDataControlMixinBase.py", line 164,
in flushValue
ret = src.setFieldVal(self.DataField, curVal)
File "/home/uwe/src/dabo/dabo/biz/dBizobj.py", line 1088, in setFieldVal
if fld in [f[0] for f in self.DataStructure]:
File "/home/uwe/src/dabo/dabo/biz/dBizobj.py", line 1364, in
_getDataStructure
return self._CurrentCursor.DataStructure
File "/home/uwe/src/dabo/dabo/db/dCursorMixin.py", line 1822, in
_getDataStructure
ds = self.BackendObject.getStructureDescription(self)
File "/home/uwe/src/dabo/dabo/db/dBackend.py", line 413, in
getStructureDescription
auxCrs.execute(tmpsql)
File "/home/uwe/src/dabo/dabo/db/dCursorMixin.py", line 232, in execute
raise dException.DBQueryException(e, sql)
DBQueryException: (-104, 'isc_dsql_prepare: \n Dynamic SQL Error\n SQL
error code = -104\n Unexpected end of command')
SQL: SELECT
first 1
iid,
e_tok,
e_val
from
------------------------------------------------------------------------------
This error repeated for 253 times.
There where only 4 records fetched from the database.
Hope this helps,
Uwe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev