On Apr 3, 2011, at 10:19 PM, Dewald Jacobs wrote:
> I'm new to Dabo and having some trouble and if someone can help or point me
> in the right direction I would be grateful. I created an application with
> Appwizard for a simple SQlite database with only a few entries. When I open
> the app and click on Browse I get a msg in the statusbar "No records
> available". At first I thought it could be a problem with the database
> connection but when I add a New Record and save it, it is correctly added to
> my SQlite database. After I add the New Record and click on Browse the app
> crashes and in Terminal I receive the msg "Bus error". This same crash and
> error also happens when I just open the app and click on Requery, so I think
> the problem lies with Browse.
>
> Has anyone encountered this before? Any idea what the problem can be or how I
> can fix it? I would also like to reiterate that I have in no way edited the
> appwizard app.
The 'No Records Available' message means that you haven't run a query
to populate the local data set. It doesn't mean that there are no records in
the database. Normally you would enter some search criteria and click
'Requery', and the app will retrieve all the matching records from the database.
The crash seems worrisome, though. That should never happen.
> If needed:
>
> Platform: Mac
> Python Version: 2.6.1 on darwin
> Dabo Version: Version 0.9.3; Revision ~6018
> UI Version: 2.8.8.1 on wxMac
That version is about 6 months old. I assume that you installed using
the downloaded files and setup.py, correct? If so, you need to run Web Update.
To do this, run any Dabo app, such as DaboDemo or the Class Designer. The open
up the Preferences menu item (under the Apple menu), and go to the Web Update
page. Click the 'Check Now' button to run the update. You should see a whole
bunch of updates in the dialog that appears; click 'OK' to install them. Once
they are done, exit the app and go to your AppWizard app directory and try
running the app again. Let me know if there is any change.
-- Ed Leafe
_______________________________________________
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]