Re: [dabo-users] dGrid on dPage: Headers vanished

2011-01-25 Thread Sibylle Koczian
Am 24.01.2011 19:40, schrieb Jacek Kałucki: > Użytkownik Sibylle Koczian napisał: >> Done (rev. 6341), but no change. I ran two of the problem applications, >> but didn't edit them. >> > > Could you try current SVN version after commit 6342? > I did, now the column headers have returned. So I didn

Re: [dabo-users] Newbie problem?

2011-01-25 Thread Sibylle Koczian
Hello, Am 25.01.2011 07:10, schrieb Kai Peters: > > > C:\Projects\Dabo\ZooBase>ZooBase.py > XXX lineno: 642, opcode: 0 > Traceback (most recent call last): >File "c:\python27\dabo_download\dabo\dabo\ui\uiwx\dControlMixin.py", line > 27, in _onWxHit > self.raiseEvent(dEvents.Hit, evt, *ar

Re: [dabo-users] Newbie problem?

2011-01-25 Thread Ed Leafe
On Jan 25, 2011, at 12:10 AM, Kai Peters wrote: > SystemError: unknown opcode > > > Here's what I installed (Win XP Professional) today, following the > instructions from the Wiki (where > applicable): > > 2011-01-24 20:0616,003,072 python-2.7.1.msi > 2011-01-24 20:2410,966,

[dabo-users] dEditor selection

2011-01-25 Thread Ricardo Araoz
Working on a dEditor control. In the parent form I have this code in my search method: ed = self.Editor start = 0 end = len(ed.Value) srch = TxtToSearchFor selStart = ed.FindText(start, end, srch) selEnd = selStart + len(srch) ed.SelectionPosition = (selStart, selEnd)

Re: [dabo-users] Trying to use multiple Bizobjects in a parent-child relationship

2011-01-25 Thread David Martinez
Based on my output, what do you think? On 1/24/2011 7:30 AM, Ed Leafe wrote: > On Jan 24, 2011, at 1:27 AM, David Martinez wrote: > >> Here's everything up to the point at which the error comes up. >> >> >> C:\Users\dave>classdesigner.py >> 2011-01-23 23:23:55 - ERROR - >> No translation file fo

[dabo-users] cross-platform errors

2011-01-25 Thread Bronwyn Woods
I've been developing an application on Mac OS and it's working fine. I'm trying to test it on Ubuntu and Windows and running into errors in both cases. I'm hoping someone might be able to suggest what might be going wrong. -- On Ubuntu, the application

Re: [dabo-users] Newbie problem?

2011-01-25 Thread Kai Peters
Thanks for all the helpful suggestions - 2.7 and Dabo may indeed not be too compatible (yet) - I downgraded to 2.6 throughout and the initially described issues are gone. Using the pieces below 2011-01-24 21:08 2,479,282 dabo-0.9.3-win.zip 2011-01-25 18:58 838,324 PIL-1.1.7.

[dabo-users] Virtual fields - Lookup example?

2011-01-25 Thread Kai Peters
Hi again, loved the detailed documentation on using virtual fields for calculation purposes - but how do I handle the equally important case of using them for lookup purposes, i.e. looking up values from a second table? Thanks for any pointers, Kai ___

Re: [dabo-users] cross-platform errors

2011-01-25 Thread Bronwyn Woods
I've just noticed that other users have been noticing problems with python 2.7 in Windows. I'll downgrade and see if that fixes the problem. Any ideas on the Ubuntu problem still appreciated. File "C:\Users\bronwyn\Documents\My > Dropbox\programming\choreo\ui\Moves\GridDances.py", line 41, in u

Re: [dabo-users] cross-platform errors

2011-01-25 Thread John Fabiani
On Tuesday, January 25, 2011 07:41:13 pm Bronwyn Woods wrote: > biz.execute("select * from Features where ID = " + str(key)) I not the best when it comes to python but I've never seen syntax like above. But I'm not to sure it wouldn't work - my normal way would be biz.execute("select * from Feat

Re: [dabo-users] cross-platform errors

2011-01-25 Thread Bronwyn Woods
On Tue, Jan 25, 2011 at 11:29 PM, John Fabiani wrote: > On Tuesday, January 25, 2011 07:41:13 pm Bronwyn Woods wrote: > > biz.execute("select * from Features where ID = " + str(key)) > I not the best when it comes to python but I've never seen syntax like > above. > But I'm not to sure it wouldn'

Re: [dabo-users] cross-platform errors

2011-01-25 Thread John Fabiani
On Tuesday, January 25, 2011 08:59:07 pm Bronwyn Woods wrote: > On Tue, Jan 25, 2011 at 11:29 PM, John Fabiani wrote: > > On Tuesday, January 25, 2011 07:41:13 pm Bronwyn Woods wrote: > > > biz.execute("select * from Features where ID = " + str(key)) > > > > I not the best when it comes to python

Re: [dabo-users] cross-platform errors

2011-01-25 Thread Bronwyn Woods
> > > What database are you using? > > Make sure you have the same table structure. Also confirm the bizobj has > the > same spelling etc.. > > I'm using SQLite. All of the application (and database) files are exactly the same on all platforms. It works fine on Mac and Windows but I get the erro

Re: [dabo-users] Newbie problem?

2011-01-25 Thread Paul McNett
On 1/25/11 8:07 PM, Kai Peters wrote: > Exception RuntimeError: 'maximum recursion depth exceeded in > __subclasscheck__' in 'exceptions.RuntimeError'> ignored > > As always, any pointers much appreciated. This was fixed shortly after 0.9.3 was released. Try updating via Web Update or Subversio

Re: [dabo-users] cross-platform errors

2011-01-25 Thread John Fabiani
On Tuesday, January 25, 2011 09:36:47 pm Bronwyn Woods wrote: > > What database are you using? > > > > Make sure you have the same table structure. Also confirm the bizobj has > > the > > same spelling etc.. > > I'm using SQLite. All of the application (and database) files are exactly > the sam

Re: [dabo-users] Virtual fields - Lookup example?

2011-01-25 Thread Paul McNett
On 1/25/11 8:10 PM, Kai Peters wrote: > > Hi again, > > loved the detailed documentation on using virtual fields for calculation > purposes - but how do I > handle the equally important case of using them for lookup purposes, i.e. > looking up values from a > second table? You probably don't wan

Re: [dabo-users] cross-platform errors

2011-01-25 Thread Jacek Kałucki
Użytkownik Bronwyn Woods napisał: > biz.execute("select * from Features where ID = " + str(key)) > >File "/usr/lib/python2.6/dist-packages/dabo/biz/dBizobj.py", line 651, in > execute > return self._CurrentCursor.execute(sql, params) >File "/usr/lib/python2.6/dist-packages/da