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 608458 - xwrapper.py: invalid syntax in xwrapper.py
xwrapper.py: invalid syntax in xwrapper.py
Status: RESOLVED OBSOLETE
Product: gnome-schedule
Classification: Other
Component: general
2.1.1
Other Linux
: Normal normal
: ---
Assigned To: GNOME Schedule Maintainers
GNOME Schedule Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-29 15:43 UTC by Alejandro Ríos Peña
Modified: 2011-10-11 21:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
use sys.exc_info (427 bytes, patch)
2010-01-29 16:32 UTC, Alejandro Ríos Peña
none Details | Review

Description Alejandro Ríos Peña 2010-01-29 15:43:44 UTC
This is a forward for Debian's bug #567406 ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=567406 ):

When installing/using gnome-schedule:

WARNING: compile error while trying to byte-compile /usr/share/gnome-schedule/xwrapper.py: 
  • File "/usr/share/gnome-schedule/xwrapper.py", line 59
    except Exception as e:
SyntaxError: invalid syntax


Another variant:

/usr/share/gnome-schedule/xwrapper.py:59: Warning: 'as' will become a reserved keyword in Python 2.6
  • File "/usr/share/gnome-schedule/xwrapper.py", line 59
    except Exception as e:
SyntaxError: invalid syntax

Comment 1 Alejandro Ríos Peña 2010-01-29 16:32:17 UTC
Created attachment 152591 [details] [review]
use sys.exc_info