On 06/05/2012 06:31 PM, Simon Cropper wrote:
> On 06/06/12 11:22, John Fabiani wrote:
>> On 06/05/2012 06:14 PM, John Fabiani wrote:
>>> 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:
>>> http://dabodev.com/download
>>>
>>> Next you'll have to teach yourself how to create a connection using Dabo.
>>>
>>> http://wiki.dabodev.com/FAQs
>>>
>>> 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: [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/[email protected]
>>>
>> Oops!  I mean install the SVN client!
>> Johnf
>> _______________________________________________
>> 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/[email protected]
> I'll wait to see what other who use Ubuntu say regarding the dabo.pth
> file. In the absence of any feedback there are old notes on the wiki
> about ubuntu installs.
>
> I'll give it a go a bit latter and get back tomorrow if I have any problems.
>
> I take it all the other requirements (python, wxpython) are OK?
>
> With your comments and Paul's code snippet, I should be able to cobble
> something together. I will get back with something soon and see what
> people think.
>
Nothing wrong with the Linux or the python version.  I'm not sure why 
Paul did not use browse() (maybe he knows something I don't) but his 
code should work too.  I'm sure you'll have it running in a very short 
period of time.  BTW have fun with Dabo - you'll only be scratching the 
surface.  Using Dabo you have everything from wxPython and everything in 
Dabo.

Johnf
_______________________________________________
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/[email protected]

Reply via email to