[Top][All Lists]

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

RE: [Bug-gnubg] python/db issues + minor comment

From: Massimiliano . Maini
Subject: RE: [Bug-gnubg] python/db issues + minor comment
Date: Thu, 30 Mar 2006 08:31:58 +0200

Latest news on win db stuff : it just works !!
With latest gnubg.sql and gnubg.game.sql I can also switch game logging on.

2 fixes are necessary (sorry, I don't have a std diff tool right
now, I promise to get one asap; trying to manually emulate) :

1- gtkgame.c, line 9907 :

>if (!GtkGetEnv(env))
<if (GtkGetEnv(env))

2- database.py, line 602 :

>sqlfile = open("gnubg.sql", "r")
<if self.games :
<  sqlfile = open("gnubg.game.sql", "r")
<else :
<  sqlfile = open("gnubg.sql", "r")

1st fix explains why I was able to add matches to the db from the command
version of gnubg, but not from the gui version.

2nd fix allow to create the database according to what is specified in
the file database (there's a "flag" that allows to chose if games have
to be logged in the db or not).

I've rebuilt my distribs with 20060329 code patched with the above fixes.
If somebody can double-check the above changes and commit ...


reply via email to

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