Author: John Fabiani
Posted: 2012-06-05 at 20:14:29
On 06/05/2012 05:47 PM, Simon Cropper wrote:
> On 06/06/12 10:28, John Fabiani wrote:
>> First let's confirm that you are setup correctly. Please provide your
>> platform, python and wypython versions, along with the dabo version.
> Platform: Ubuntu 11.10
> Python: 2.7.2+
> wxPython: 2.8.11.0 (gtk2-unicode)
>
> Dabo not installed at the moment. Lost it in recent upgrade.
>
> Considering your comment on Paul's reply I stopped reinstalling.
>
> Are my existing specs OK? If so, what is the best method for installing?
>
I use SVN to maintain Dabo. Since you are using Linux I recommend
installing SVNserve and use the link on the website to install Dabo. I
also use '.pth' file as a way to tell python where to find Dabo. The
only question I have is where does the "dabo.pth" need to be. Normally,
it is in the 'site-packages' but I believe that is NOT correct for
Ubuntu. I believe it goes in the 'distutils' folder. Paul and Ed
(along with others) use Ubuntu maybe they'll speak up.
Near the bottom:
Next you'll have to teach yourself how to create a connection using Dabo.
Note that you'll want to use the one for sqlite of course.
Since, you were on the wxPython list I will assume that you can get the
file name of the database via python.
fake code:
get the database name
get a connection - use dbSqlite -> getConnection
get a cursor
getTables()
# you should have enough info to choose a table
execute an sql against the table
pass a dataset to the browse method.
Johnf
_______________________________________________
Post Messages to: Dabo-users@leafe.com
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/4FCEAEF5.7070002@jfcomputer.com