Public bug reported:

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)
--------------------------------------------------------------------------------

** Affects: gnome-applets (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Critical bug in gnome-applets postinstall script
https://launchpad.net/bugs/81857

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to