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 586581 - The use of baseexception.message is deprecated as of python2.6
The use of baseexception.message is deprecated as of python2.6
Status: RESOLVED FIXED
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
2.27.x
Other All
: Normal normal
: ---
Assigned To: GNOME Games maintainers
GNOME Games maintainers
: 584881 598326 599035 611679 612375 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-06-21 23:45 UTC by Andreas Moog
Modified: 2010-03-11 22:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
This patch displays just the error message. (900 bytes, patch)
2009-06-21 23:48 UTC, Andreas Moog
none Details | Review
This patch also displays the filename (900 bytes, patch)
2009-06-21 23:52 UTC, Andreas Moog
none Details | Review
Attaching the correct patch for the second option (934 bytes, text/plain)
2009-06-21 23:58 UTC, Andreas Moog
  Details
3rd time's a charm, right? (936 bytes, patch)
2009-06-21 23:59 UTC, Andreas Moog
committed Details | Review

Description Andreas Moog 2009-06-21 23:45:58 UTC
Please describe the problem:
Filed on Launchpad:
(https://bugs.launchpad.net/bugs/389889)

Running glChess from Terminal produces the following deprecation warning:

richard@richard-laptop:~$ /usr/games/glchess
get fences failed: -1
param: 6, val: 0
/var/lib/python-support/python2.6/glchess/network.py:73: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  print 'Failed to load GGZ config: %s' % e.message
Failed to load GGZ config:

There is no real error message displayed.

Steps to reproduce:


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Andreas Moog 2009-06-21 23:48:01 UTC
Created attachment 137144 [details] [review]
This patch displays just the error message.

This results in:

andreas@apophis:~$ glchess
Failed to load GGZ config: No such file or directory
Comment 2 Andreas Moog 2009-06-21 23:52:33 UTC
Created attachment 137145 [details] [review]
This patch also displays the filename

The result of attaching this second patch would be:

andreas@apophis:~$ glchess
Failed to load GGZ config: No such file or directory: /home/andreas/.ggz/ggz-gtk.rc
Comment 3 Andreas Moog 2009-06-21 23:58:01 UTC
Created attachment 137147 [details]
Attaching the correct patch for the second option
Comment 4 Andreas Moog 2009-06-21 23:59:23 UTC
Created attachment 137148 [details] [review]
3rd time's a charm, right?
Comment 5 Robert Ancell 2009-09-01 00:47:07 UTC
Applied with changes for other .message usages
Comment 6 Robert Ancell 2009-10-13 01:14:53 UTC
*** Bug 584881 has been marked as a duplicate of this bug. ***
Comment 7 Akhil Laddha 2009-10-14 03:56:16 UTC
*** Bug 598326 has been marked as a duplicate of this bug. ***
Comment 8 Fabio Durán Verdugo 2009-10-20 12:57:05 UTC
*** Bug 599035 has been marked as a duplicate of this bug. ***
Comment 9 Akhil Laddha 2010-03-03 09:54:10 UTC
*** Bug 611679 has been marked as a duplicate of this bug. ***
Comment 10 Fabio Durán Verdugo 2010-03-11 22:54:04 UTC
*** Bug 612375 has been marked as a duplicate of this bug. ***