Re: [dabo-users] AttributeError: 'dBizobj' object has no attribute'_CurrentCursor'

Author: jbarry

Posted: 2006-07-24 at 01:42:23

Hey Nataraj,

I wonder if you have sorted this error out? I'm having the same error now.

thanks

jBarry

On 6/28/06, Nataraj S Narayan <natarajsn@sancharnet.in> wrote:

> Hi

>

> I was trying to get running the dGrid demo. I get the following errors.

>

> Plz help.

>

> regards

>

> Nataraj

>

> ile

> "/usr/lib/python2.4/site-packages/Dabo-0.7a-py2.4.egg/dabo/ui/uiwx/dFormMixin.py",

> line 93, in _afterInit

> super(dFormMixin, self)._afterInit()

> File

> "/usr/lib/python2.4/site-packages/Dabo-0.7a-py2.4.egg/dabo/ui/uiwx/dPemMixin.py",

> line 231, in _afterInit

> self.afterInit()

> File "", line 74, in afterInit

> File "/tmp/tmpQnMwuS.py", line 10, in afterInit_0

> biz.KeyField="orderno"

> File

> "/usr/lib/python2.4/site-packages/Dabo-0.7a-py2.4.egg/dabo/biz/dBizobj.py",

> line 141, in __setattr__

> super(dBizobj, self).__setattr__(att, val)

> File

> "/usr/lib/python2.4/site-packages/Dabo-0.7a-py2.4.egg/dabo/biz/dBizobj.py",

> line 1435, in _setKeyField

> cursor = self._CurrentCursor

> File

> "/usr/lib/python2.4/site-packages/Dabo-0.7a-py2.4.egg/dabo/biz/dBizobj.py",

> line 123, in __getattr__

> raise AttributeError, _(" '%s' object has no attribute '%s' ") %

> (self.__class__.__name__, att)

> AttributeError: 'dBizobj' object has no attribute '_CurrentCursor'

>

>

>

©2006 jbarry