GNOME Bugzilla – Bug 540527
Crash when loading null PGN file
Last modified: 2008-06-29 10:49:30 UTC
Version: 2.22.1.1 What were you doing when the application crashed? in 3D modus gewechselt Distribution: openSUSE 11.0 (X86-64) Gnome Release: 2.22.1 2008-06-07 (SUSE) BugBuddy Version: 2.22.0 System: Linux 2.6.25.5-1.1-default #1 SMP 2008-06-07 01:55:22 +0200 x86_64 X Vendor: The X.Org Foundation X Vendor Release: 10400090 Selinux: No Accessibility: Disabled GTK+ Theme: Gilouche Icon Theme: Gilouche Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ----------- .xsession-errors --------------------- Object::connect: No such slot AbstractTaskItem::update() ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0 ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL front:0 /usr/lib64/python2.5/site-packages/glchess/gtkui/dialogs.py:414: GtkWarning: gtk_file_system_unix_get_info: assertion `g_path_is_absolute (filename)' failed fileChooser.set_current_folder(directory) Traceback (most recent call last):
+ Trace 201552
error = self.__mainUI.feedback.loadGame(self.__getFilename(), responseId == gtk.RESPONSE_YES)
self.application.addPGNGame(p[0], path, configure)
return self.__games[index]
Object::connect: No such slot AbstractTaskItem::update() -------------------------------------------------- Traceback (most recent call last):
*** Bug 536053 has been marked as a duplicate of this bug. ***
getFilename() has returned None - i.e. no game was selected in the open dialog. To reproduce: 1. Open load dialog (Ctrl+O) 2. Select a PGN file 3. Delete the file name in the file chooser 4. Select open The issue is the open button state is not updated when the file text entry is being edited.
I've changed the open button to be always sensitive as we just cannot get enough information from the GtkFileChooserWidget to decide if the user has selected/entered a valid filename. If a open is clicked with nothing selected an error message is displayed (head) or the button is ignored (stable branch). Fixed in stable and head: http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=7747 http://svn.gnome.org/viewvc/gnome-games?view=revision&revision=7746