Public bug reported:

The upgrade today has caused ubiquity to stop launching because it
refers to widgets at the top level by calling setattr on them.

I've created a simple test case that i'm attaching.  You can see it
successfully running with the old gtk+2.0, and then failing with the new
one here:

t...@test-laptop:~$ python test.py 
t...@test-laptop:~$ sudo apt-get install libgtk2.0-0 libgtk2.0-bin 
libgtk2.0-common
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  gtk2-engines-pixbuf libgail-common libgail18
The following packages will be upgraded:
  gtk2-engines-pixbuf libgail-common libgail18 libgtk2.0-0 libgtk2.0-bin
  libgtk2.0-common
6 upgraded, 0 newly installed, 0 to remove and 66 not upgraded.
Need to get 4,786kB of archives.
After this operation, 139kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://us.archive.ubuntu.com lucid/main libgail-common 2.19.2-1 [410kB]
Get:2 http://us.archive.ubuntu.com lucid/main libgail18 2.19.2-1 [280kB]
Get:3 http://us.archive.ubuntu.com lucid/main libgtk2.0-common 2.19.2-1 [602kB]
Get:4 http://us.archive.ubuntu.com lucid/main gtk2-engines-pixbuf 2.19.2-1 
[615kB]
Get:5 http://us.archive.ubuntu.com lucid/main libgtk2.0-0 2.19.2-1 [2,604kB]   
Get:6 http://us.archive.ubuntu.com lucid/main libgtk2.0-bin 2.19.2-1 [276kB]   
Fetched 4,786kB in 10s (459kB/s)                                               
(Reading database ... 92709 files and directories currently installed.)
Preparing to replace libgail-common 2.19.1-1 (using 
.../libgail-common_2.19.2-1_i386.deb) ...
Unpacking replacement libgail-common ...
Preparing to replace libgail18 2.19.1-1 (using .../libgail18_2.19.2-1_i386.deb) 
...
Unpacking replacement libgail18 ...
Preparing to replace libgtk2.0-common 2.19.1-1 (using 
.../libgtk2.0-common_2.19.2-1_all.deb) ...
Unpacking replacement libgtk2.0-common ...
Preparing to replace gtk2-engines-pixbuf 2.19.1-1 (using 
.../gtk2-engines-pixbuf_2.19.2-1_i386.deb) ...
Unpacking replacement gtk2-engines-pixbuf ...
Preparing to replace libgtk2.0-0 2.19.1-1 (using 
.../libgtk2.0-0_2.19.2-1_i386.deb) ...
Unpacking replacement libgtk2.0-0 ...
Preparing to replace libgtk2.0-bin 2.19.1-1 (using 
.../libgtk2.0-bin_2.19.2-1_all.deb) ...
Unpacking replacement libgtk2.0-bin ...
Processing triggers for man-db ...
Setting up libgtk2.0-common (2.19.2-1) ...
Setting up libgtk2.0-0 (2.19.2-1) ...

Setting up libgail18 (2.19.2-1) ...

Setting up libgail-common (2.19.2-1) ...
Setting up gtk2-engines-pixbuf (2.19.2-1) ...
Setting up libgtk2.0-bin (2.19.2-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
t...@test-laptop:~$ python test.py 
Traceback (most recent call last):
  File "test.py", line 14, in <module>
    test_object.show()
  File "test.py", line 11, in show
    self.window1.show()
AttributeError: 'TestClass' object has no attribute 'window1'

ProblemType: Bug
Architecture: i386
Date: Wed Jan  6 03:32:00 2010
DistroRelease: Ubuntu 10.04
InstallationMedia: Mythbuntu 10.04 "Lucid Lynx" - Alpha i386 (20100103)
Package: libgtk2.0-bin 2.19.2-1
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
SourcePackage: gtk+2.0
Tags: lucid
Uname: Linux 2.6.32-9-generic i686

** Affects: gtk+2.0 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: mythbuntu-control-centre (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: ubiquity (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
updated gtk+2.0 package has problems referring to the name of widgets loaded 
from a builder UI file
https://bugs.launchpad.net/bugs/503710
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to