GNOME Bugzilla – Bug 486296
glChess problems in SVN trunk
Last modified: 2007-10-14 12:25:18 UTC
I'm trying to test the brand new glChess in SVN trunk. These are some problems I'm having: - There should be a configure check for python-avahi. - I get an error message when trying to run the game, which is most likely because a .py file has not been added to a Makefile.am. Here's the error: Showing move number 0 (latest) Traceback (most recent call last):
+ Trace 169940
start_game()
app = main.Application()
self.ui = UI(self)
self.ggzConfig = network.GGZConfig()
Andreas, It looks like you haven't got a valid checkout, see: http://svn.gnome.org/viewvc/gnome-games/trunk/glchess/src/lib/ Avahi is not used on either the trunk or 2.20 so there's no need for a check. I've removed all the (unused) networking code from the 2.20 branch to make things clearer.
Ok, there was a conflict with version 2.20.0 which I had installed: a conflict with the network module from 2.20.0. Uninstalling version 2.20.0 fixed the problems in the original bug report. It might mean that others upgrading gnome-games from source will have the same problems, tough... So now I'm able to run glChess. When I chose the Network game menu option, the list of profiles was initially empty. Nothing happened with clicking on the New button in the network dialog. Eventually, after starting and stopping glChess several times, the entry "GGZ Gaming Zone" was suddenly shown in the profiles list, and it allowed me to connect to the server. So it seems that loading the profile list doesn't work. Also, I was not allowed to change my username.
The "new" button doesn't do anything yet; that's the missing configuration mentioned in bug 392280 :) The configuration is the same as used by the GGZ gtk+ client and the other games (~/.ggz/ggz-gtk.rc). I'm guessing you had no configuration and ran ggz-gtk or anther game between attempts at glChess? If not then that is a very strange bug... I haven't worked out the configuration yet but I want it to be much simpler than the current GGZ config. The user probably only needs to enter their username when they first open any GGZ game. The probably don't need to choose a server (we can just point them at the appropriate one) and they almost certainly don't need to change port numbers. I want it to "just work". :)
Ah, I see. Then this is most likely not a bug. I'm very much looking forward to testing this out. *** This bug has been marked as a duplicate of 392280 ***