After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 519185 - Improve startup failure dialog
Improve startup failure dialog
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
unspecified
Other Linux
: Low enhancement
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-28 03:20 UTC by Robert Ancell
Modified: 2011-01-17 08:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Print traceback on stderr (806 bytes, patch)
2009-06-20 20:40 UTC, Claude Paroz
committed Details | Review

Description Robert Ancell 2008-02-28 03:20:54 UTC
The new startup failure dialog is displayed if an ImportError occurs when loading. This was done to catch failing to import glchess.glchess (the base module). Based on the number of bugs about invalid gtk/glade/gobject/etc third party libraries we should make this dialog:
- Allow the user to see the exception that occurred (current text is too vague)
- Provide hints based on the failed module (e.g. "Your GTK+ installation seems to be faulty")
- Catch other exceptions? e.g. RuntimeError

The danger in doing this is we hide potential problems because the crash dialog is not displayed. Hopefully we can rely on the users reporting the problem to their distribution and these filtering back to us.
Comment 1 Claude Paroz 2009-06-20 20:40:33 UTC
Created attachment 137088 [details] [review]
Print traceback on stderr

It should at least print the traceback to stderr, unless it's absolutely impossible to obtain any hint about the possible error.
Comment 2 Robert Ancell 2010-06-08 06:11:02 UTC
Review of attachment 137088 [details] [review]:

Thanks Claude
Comment 3 Robert Ancell 2011-01-17 08:23:02 UTC
Obsolete now it's rewritten in Vala.