Activity log for bug #81857

Date Who What changed Old value New value Message
2007-01-27 17:10:18 doclist bug added bug
2007-01-27 17:13:32 doclist description Binary package hint: gnome-applets The postinstall script for gnome-applets version 2.16.1-0ubuntu4 contains a compileall.py directive which tries to compile /usr/lib/python2.4/site-packages/py-0.8.0_alpha2-py2.4.egg/py/test/testing/data/syntax_error.py among others. However, 'syntax_error.py' is test function designed to be malformed, invalid python (and thus uncompilable). Workaround I used was to temporarily comment out the one line in syntax_error.py. Temporarily moving it somewhere else would also probably work. Output of apt-get install -------------------------------------------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up gnome-applets (2.16.1-0ubuntu4) ... Compiling /usr/lib/python2.4/site-packages/py-0.8.0_alpha2-py2.4.egg/py/test/testing/data/syntax_error.py ... File "/usr/lib/python2.4/site-packages/py-0.8.0_alpha2-py2.4.egg/py/test/testing/data/syntax_error.py", line 3 this is really not python ^ SyntaxError: invalid syntax dpkg: error processing gnome-applets (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: gnome-applets E: Sub-process /usr/bin/dpkg returned an error code (1) -------------------------------------------------------------------------------- Binary package hint: gnome-applets The postinstall script for gnome-applets version 2.16.1-0ubuntu4 contains a compileall.py directive which tries to compile /usr/lib/python2.4/site-packages/py-0.8.0_alpha2-py2.4.egg/py/test/testing/data/syntax_error.py among others. However, 'syntax_error.py' is test function designed to be malformed, invalid python (and thus uncompilable). This is on Edgy Eft. Workaround I used was to temporarily comment out the one line in syntax_error.py. Temporarily moving it somewhere else would also probably work. Output of apt-get install -------------------------------------------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Setting up gnome-applets (2.16.1-0ubuntu4) ... Compiling /usr/lib/python2.4/site-packages/py-0.8.0_alpha2-py2.4.egg/py/test/testing/data/syntax_error.py ... File "/usr/lib/python2.4/site-packages/py-0.8.0_alpha2-py2.4.egg/py/test/testing/data/syntax_error.py", line 3 this is really not python ^ SyntaxError: invalid syntax dpkg: error processing gnome-applets (--configure): subprocess post-installation script returned error exit status 1 Errors were encountered while processing: gnome-applets E: Sub-process /usr/bin/dpkg returned an error code (1) --------------------------------------------------------------------------------
2007-01-28 14:46:34 Sebastien Bacher gnome-applets: statusexplanation looks like a python-support bug
2007-01-28 14:47:29 Sebastien Bacher title Critical bug in gnome-applets postinstall script "SyntaxError: invalid syntax" error on syntax_error.py
2007-04-17 12:49:30 R. Drew Davis bug added attachment 'sources.list' (my sources.list file for apt-get and synaptic.)
2008-07-05 22:14:11 Jean-Baptiste Lallement python-support: status New Confirmed