Re: [dabo-users] Pycon Tutorial - Make Data Entry Form

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 12:35 AM, M. Milanuk wrote: For starters, I guess, the modifications to def afterInitAll(self): threw me for a loop. Mainly because I'd followed the whole bit with specifying the RegID for dDropdownList as 'ClientList', then referencing it as self.ClientList... with

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Henning Hraban Ramm
Am 2010-08-26 um 00:11 schrieb M. Milanuk: Are you by chance using sqlite as a db? I am and I had to change billed=false to billed = 0 to get past that error message. Interesting... that did it in Mac OS X, at least. SQLite doesn't know a real Boolean type, but uses integers. The SQLite

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote: SQLite doesn't know a real Boolean type, but uses integers. The SQLite backend should take care of that - seems like it doesn't. Being fairly wet-behind-the-ears on this stuff... which backend are you referring to? sqlite to

Re: [dabo-users] Dabo Reports

2010-08-26 Thread John Fabiani
On Wednesday, August 25, 2010 08:49:01 pm Ed Leafe wrote: On Aug 25, 2010, at 10:10 PM, John Fabiani wrote: What is the need for the eventlet.Timeout? Prevents you from waiting indefinitely. After the timeout period, the pool is killed. You can trap for timeouts in your code and

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Paul McNett
On 8/26/10 5:07 AM, Ed Leafe wrote: On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote: SQLite doesn't know a real Boolean type, but uses integers. The SQLite backend should take care of that - seems like it doesn't. Being fairly wet-behind-the-ears on this stuff... which backend are

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Adrian Klaver
On Thursday 26 August 2010 7:01:52 am Paul McNett wrote: On 8/26/10 5:07 AM, Ed Leafe wrote: On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote: SQLite doesn't know a real Boolean type, but uses integers. The SQLite backend should take care of that - seems like it doesn't. Being

[dabo-users] dabo-install

2010-08-26 Thread JK
I wish I were able to run Dabo. I have WindowsXP Pro, SP3, win32+ Active Python 2.5.2 (Mar. 2008)+ wxPython 2.8-win32 -unicode-2.8.9.1; sqlite3; pysqlite2; psycopg2; reportlab 2.4+PostgreSQL8.4. Everything´s alive and working. I have downloaded: 1) dabo-0.9.2-win.zip, extracted it into c:/dabo

Re: [dabo-users] dabo-install

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 9:14 AM, JK wrote: I have downloaded: 1) dabo-0.9.2-win.zip, extracted it into c:/dabo and placed dabo.pth file with c:\dabo instruction in the Python25/Lib/site-packages/ folder. 2) DaboRuntimeSetup.exe and installed it into c:/daboruntime You don't need the

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Paul McNett
On 8/26/10 7:09 AM, Adrian Klaver wrote: On Thursday 26 August 2010 7:01:52 am Paul McNett wrote: On 8/26/10 5:07 AM, Ed Leafe wrote: On Aug 26, 2010, at 8:03 AM, Henning Hraban Ramm wrote: SQLite doesn't know a real Boolean type, but uses integers. The SQLite backend should take care of that

Re: [dabo-users] dGrid DataSet and bus error

2010-08-26 Thread Bronwyn Woods
It might be some sort of reference conflict. I notice that you're using 'append()', which means that your selData attribute is a list, not a tuple. Since lists are mutable, you are probably sharing list references between your local data and the grid's DataSet. Try this: add

Re: [dabo-users] dGrid DataSet and bus error

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 11:27 AM, Bronwyn Woods wrote: That seemed like a good idea, especially since the error only seems to occur when the dataset is decreased and then increased again. Unfortunately, switching to deepcopy doesn't seem to have fixed it. Any other ideas? I'm using OSX, if

Re: [dabo-users] dGrid DataSet and bus error

2010-08-26 Thread Paul McNett
On 8/26/10 8:42 AM, Ed Leafe wrote: On Aug 26, 2010, at 11:27 AM, Bronwyn Woods wrote: I could also try using a dynamic DataSet, but I haven't been able to get the assigned dynamic function to be called when I want the grid to update. Is it likely that getting this method to work would fix

Re: [dabo-users] dGrid DataSet and bus error

2010-08-26 Thread Paul McNett
On 8/26/10 8:53 AM, Paul McNett wrote: I've gotten bus errors on Mac in other cases where no errors happen on the other platforms (sometimes it is bus error on Mac, seg fault on Win, and nothing on Linux though). I'm not currently seeing any bus errors on Mac though. I was just remembering

Re: [dabo-users] Pycon Tutorial - Make Data Entry Form

2010-08-26 Thread M. Milanuk
On 08/26/2010 04:16 AM, Ed Leafe wrote: On Aug 26, 2010, at 12:35 AM, M. Milanuk wrote: For starters, I guess, the modifications to def afterInitAll(self): threw me for a loop. Mainly because I'd followed the whole bit with specifying the RegID for dDropdownList as 'ClientList', then

Re: [dabo-users] PyCon Tutorial - Adding the Billing Grid

2010-08-26 Thread Henning Hraban Ramm
Am 2010-08-26 um 16:09 schrieb Adrian Klaver: For the record the below is the code in dbSQLite.py that handles boolean values. def formatForQuery(self, val, fieldType=None): if isinstance(val, bool): return ustr(int(val)) else: return super(SQLite,

[dabo-users] how to download the PyCon tutorial

2010-08-26 Thread David
Dear readers, I wish to teach myself dabo by means of the PyCon tutorial which is available at https://docs.google.com/View?id=dg79jzmg_85f737ww6x But at the moment I frequently do not have access to the web, and thus can't reach the document. I have googled in order to figure out how to

Re: [dabo-users] how to download the PyCon tutorial

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 5:43 PM, David wrote: I wish to teach myself dabo by means of the PyCon tutorial which is available at https://docs.google.com/View?id=dg79jzmg_85f737ww6x But at the moment I frequently do not have access to the web, and thus can't reach the document. I have googled

Re: [dabo-users] how to download the PyCon tutorial

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 5:43 PM, David wrote: May I also suggest to place a pdf version on dabodev.com instead of merely a link to GoogleDoc? That would reduce entry barriers to the dabo framework. Done. The link is http://dabodev.com/pycon_2010_tutorial.pdf, and has been added to the

Re: [dabo-users] how to download the PyCon tutorial

2010-08-26 Thread David
Hello Ed, thanks for this, greatly appreciated. And: great support! David On 08/27/2010 12:52 AM, Ed Leafe wrote: On Aug 26, 2010, at 5:43 PM, David wrote: May I also suggest to place a pdf version on dabodev.com instead of merely a link to GoogleDoc? That would reduce entry barriers to

Re: [dabo-users] how to download the PyCon tutorial

2010-08-26 Thread Paul McNett
On 8/26/10 2:43 PM, David wrote: I wish to teach myself dabo by means of the PyCon tutorial which is available at https://docs.google.com/View?id=dg79jzmg_85f737ww6x But at the moment I frequently do not have access to the web, and thus can't reach the document. I have googled in order to

Re: [dabo-users] how to download the PyCon tutorial

2010-08-26 Thread Paul McNett
My message sat in my Thunderbird offline folder for a few hours, and is now obsolete. Sorry for the noise. Paul On 8/26/10 3:10 PM, Paul McNett wrote: On 8/26/10 2:43 PM, David wrote: I wish to teach myself dabo by means of the PyCon tutorial which is available at

Re: [dabo-users] Form.save()?

2010-08-26 Thread Jim Byrnes
Ed Leafe wrote: On Aug 25, 2010, at 1:03 PM, Jim Byrnes wrote: Will Form.save() save changes to a record or just save new records? It will save all changed records, whether new or not. I ask because if I edit a dTextBox and then try to save it to a Sqlite db using Form.save() the status

Re: [dabo-users] Form.save()?

2010-08-26 Thread Ed Leafe
On Aug 26, 2010, at 10:51 PM, Jim Byrnes wrote: Before I do, one more question. What tool do you guys use to create your sqlite db's? I have been using sqliteman on ubuntu and I just discovered that I cannot save changes to any sqlite db I created when I use Dabo. I use either

Re: [dabo-users] Form.save()?

2010-08-26 Thread Paul McNett
On 8/26/10 7:51 PM, Jim Byrnes wrote: Before I do, one more question. What tool do you guys use to create your sqlite db's? I have been using sqliteman on ubuntu and I just discovered that I cannot save changes to any sqlite db I created when I use Dabo. I make sql script files, like: {{{