Author: Nataraj S Narayan
Posted: 2006-06-28 07:35:16 Link
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'
Author: Echo
Posted: 2006-06-29 01:05:21 Link
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.
I can't seem to find the dGrid demo. What is the file name for it?
Also, does it happen when you first run it or when you do something
after it is running?
--
"Now that I am a Christian I do not have moods in which the whole
thing looks very improbable: but when I was an atheist I had moods in
which Christianity looked terribly probable."
-C. S. Lewis
-Echo
Author: Ed Leafe
Posted: 2006-06-29 07:17:37 Link
On Jun 29, 2006, at 12:05 AM, Echo wrote:
> I can't seem to find the dGrid demo. What is the file name for it?
It is the dGrid.py file itself, in the dabo/ui/uiwx directory. All
our base classes have built-in demos; some are more elaborate than
others.
-- Ed Leafe
Author: jbarry
Posted: 2006-07-24 01:42:23 Link
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'
>
>
>