Re: [dabo-users] Syntax Error: Create a OpenOffice SpreadSheet con = dabo.db.dConnection( memory: )

Author: Bob Sysero llc Dev

Posted: 2008-11-12 at 10:51:34

Ed Leafe wrote:

> On Nov 12, 2008, at 9:14 AM, Bob Sysero llc Dev wrote:

>

>

>> I am trying to run the Dabo HowTo in Wiki Create a OpenOffice

>> SpreadSheet to learn how to use in dabo Sqlite in memory with the

>> BizObj. I am getting a Syntax Error message when I try to run the

>> script that I created by pasting the example into the script. The

>> sytax

>> error points to { memory: }. Any ideas about the correct form and I

>> will correct it in the Wiki.

>>

>> con = dabo.db.dConnection(DbType="sqlite<a href="memory:">,

>> Database=</a>")

>>

>

>

> The source for the page is fine, but apparently the pycode formatting

> is getting confused by the ":memory:" text. Let me see if I can fix it.

>

>

> -- Ed Leafe

I wish I could help here because your time is more important on the

complex problems, but right now my knowledge with python is very limited

and down the road I will add my time into problems with dabo.

I did find a way to use winpdb in dabo by adding the line:

import rpdb2; rpdb2.start_embedded_debugger('password')

in my dabo script where my onHit methods are located I can then fire up winpdb to debugger.

I ran winpdb selected password to enter the word password. The last step was to select

attach to select my client rpdb.

The dabo.trace() is simpler to use because you go right into the pfb debugger.

iteam on my list is to learn how to use unit testing that is explained in the dabo wiki.

My objective is to try my best to keep my support time down.

Would you like to have me add to dabo wiki winpdb about what I learned?

Thank you

Bob

Thank you

Bob

©2008 Bob Sysero llc Dev