bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnubg] dB interface issues ?


From: Massimiliano Maini
Subject: [Bug-gnubg] dB interface issues ?
Date: Thu, 17 Jan 2008 13:42:44 +0100


Hi all,
after a few hours of work (and thanks to Jon and Christian) I've been able to build gnubg against
Python25. There's still something not working:

- GUI version:
        - "relational test" succeeds
        - I can add two analysed matches (between players gnubg and MaX)
        - doing Analyse/Relational database/Show records and Show stats seems to work fine
        - in the window after a "show records", if I click on "Query" and then I enter "select * from player;", gnubg crashes.

- Command-line version:
        - "relational show details gnubg" I have "Error running query","Player not found or player stats empty"
        - "relational select * from player;" I have a dialog "Glib-ERROR **: gmem.c:135:failed to allocate 2147483648 bytes aborting ...." (Wow !!) and it crashes
        - "relational select select * from player;" I have "Error running quey" (no crash)

Using sqlite3.exe, I can verify the dB is ok:

D:\Documents\Max\gnubg 0.16 noglade>sqlite3 gnubg.db
SQLite version 3.5.4
Enter ".help" for instructions
sqlite> select * from player;
0|gnubg|
1|MaX|

sqlite> select * from match;
0|415136af546736f429645f9bfc13d00e|0|1|-1|3|2008-01-17 12:02:14||||||||2008-01-17
1|c730f015097e34a5dfd0dc159a47e893|0|1|1|5|2008-01-17 12:02:21||||||||2008-01-17

MaX.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]