GNOME Bugzilla – Bug 620032
string exceptions not supported in Python >= 2.6
Last modified: 2010-06-09 23:42:58 UTC
Hi, gnome-sudoku uses string exceptions, which have been deprecated for a long time and no longer work on Python >= 2.6: From http://lists.debian.org/debian-python/2010/05/msg00113.html $ python2.5 -c "raise 'eggs'" -c:1: DeprecationWarning: raising a string exception is deprecated Traceback (most recent call last):
+ Trace 222156
eggs
gnome-sudoku uses them in gnome-sudoku/src/lib/pausable.py: def wrapper (self, cls, *args, **kwargs): if cls.terminated: raise "Terminated!" while cls.paused: if cls.terminated: raise "Terminated!" time.sleep(self.sleep_for)
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.