On Dec 11, 2007 10:54 AM, Lukasz Szybalski <[EMAIL PROTECTED]> wrote:
> On Dec 11, 2007 10:09 AM, Ed Leafe <[EMAIL PROTECTED]> wrote:
> > On Dec 11, 2007, at 9:30 AM, Ed Leafe wrote:
> >
> > >> Any idea what this might be? Is there something else that isn't
> > >> installed? Can I run my app from the directory where I created it?
> > >
> > > I think that this is my fault. The problem is the fact that app.ui
> > > is None; this is supposed to be set to the local 'ui' module, but the
> > > code in dApp only works with Python 2.5 or later, and I see that you
> > > are running 2.4.
> > >
> > > Let me look into this, and I'll see if I can get a fix posted soon.
> >
> > OK, I've just posted a fix to Subversion. This should correct the
> > problem for all running Python 2.4 or earlier.
> >
> That worked. Thanks.
>
>
> Does dabo app wizard supports compound keys?
>
> My primary key consists of 2 fields.
>
> journal_id int
> journalupdate_id int, autoincrement
>
>
I actually get a key error? You guys know why this might be?
File
"/usr/lib/python2.4/site-packages/Dabo-0.8.2-py2.4.egg/dabo/lib/datanav2/Form.py",
line 501, in onNew
self.pageFrame.newByDataSource(self.getBizobj().DataSource)
File
"/usr/lib/python2.4/site-packages/Dabo-0.8.2-py2.4.egg/dabo/lib/datanav2/PageFrame.py",
line 59, in newByDataSource
self.Form.new(ds)
File
"/usr/lib/python2.4/site-packages/Dabo-0.8.2-py2.4.egg/dabo/ui/uiwx/dForm.py",
line 593, in new
bizobj.new()
File
"/usr/lib/python2.4/site-packages/Dabo-0.8.2-py2.4.egg/dabo/biz/dBizobj.py",
line 759, in new
self._onNew()
File
"/usr/lib/python2.4/site-packages/Dabo-0.8.2-py2.4.egg/dabo/biz/dBizobj.py",
line 1132, in _onNew
cursor.setNewFlag()
File
"/usr/lib/python2.4/site-packages/Dabo-0.8.2-py2.4.egg/dabo/db/dCursorMixin.py",
line 736, in setNewFlag
self._newRecords[rec[self.KeyField]] = None
KeyError: ('journalupdate_id', 'journal_id')
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]