[Gambas-user] Bug gb.gtk Dataview 2.11.1

Benoît Minisini gambas at ...1...
Thu Feb 12 00:07:27 CET 2009


> I just compiled Gambas 2.11.1 under Puppy Linux 4.1.2, kernel 2.6.25.16,
> gtk2. I am running and studying the examples. All run very well. I am
> mostly interested in database programming and I ran the Database example
> inside the IDE without problems, but outside the IDE (directly in the
> command line) the example fails with the following trace:
>
> DataView.MoveFirst.272: Bad row index
> 0: DataView.MoveFirst.272
> 1: FBrowser.btnFirst_Click.39
> 2: FBrowser.Update.98
> 3: FBrowser._new.19
> 4: DataBrowser._new.19
> 5: FTest.$load.82
> 6: FTest.FTest.0
> 7: FMain.btnTest_Click.178
>
> In both runs (inside and outside the IDE) I use the sqlite3 driver and
> generate sample data with the button for that. When I click the "Bound
> controls example" button, the above trace is displayed on the command line
> and an error window is shown saying mostly the same (Bad row index).
> I posted this to the mailing list but I should have done it wrong because
> it did not show up there.
> Now I notice that the project uses gb.gui and as I understand this is
> mapped inside the IDE to gb.qt but outside is mapped to either gt.qt or
> gb.gtk as available. I compiled the example to executable with gb.qt and
> another run with gb.gtk. It fails to run with gb.gtk and it runs ok with
> gb.qt.
>
>
> --
> Ing. Otto Domínguez
> Sistemas Orión
> Cel. 5403-0338
>

Hi,

This bug is fixed in revision #1865.

Regards,

-- 
Benoît




More information about the User mailing list