[Bug 506357] Re: package python-pyatspi 1.29.5-0ubuntu1 failed to install/upgrade: invalid syntax error for python2.4

Matt Zimmerman mdz at ubuntu.com
Tue Jan 12 13:30:59 GMT 2010


On Tue, Jan 12, 2010 at 01:02:59PM -0000, Daniel Knittl-Frank wrote:
> should read:
> 
>     try:
>       try:
>         import gconf
>         gconfClient = gconf.client_get_default()
>         useDbus = gconfClient.get_bool("/desktop/gnome/interface/at-spi-dbus")
>       except:
>         useDbus = False
>     finally:
>       del gconfClient
>       del gconf
> 
> this worked for me, although i don't understand how this occured,
> default python version on my system is 2.6 -- which already allows try …
> except … finally

As can be seen in the log excerpt, the error occurred when trying to
byte-compile the module for python 2.4.

-- 
 - mdz

-- 
package python-pyatspi 1.29.5-0ubuntu1 failed to install/upgrade: invalid syntax error for python2.4
https://bugs.launchpad.net/bugs/506357
You received this bug notification because you are a member of
Accessibility, which is subscribed to at-spi in ubuntu.



More information about the Ubuntu-accessibility-bugs mailing list