updated gtk+2.0 package has problems referring to the name of widgets loaded from a builder UI file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gtk+2.0 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
mythbuntu-control-centre (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
ubiquity (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
usb-creator (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
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:
test@test-laptop:~$ python test.py
test@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-
The following packages will be upgraded:
gtk2-
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://
Get:2 http://
Get:3 http://
Get:4 http://
Get:5 http://
Get:6 http://
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-
Unpacking replacement libgail-common ...
Preparing to replace libgail18 2.19.1-1 (using .../libgail18_
Unpacking replacement libgail18 ...
Preparing to replace libgtk2.0-common 2.19.1-1 (using .../libgtk2.
Unpacking replacement libgtk2.0-common ...
Preparing to replace gtk2-engines-pixbuf 2.19.1-1 (using .../gtk2-
Unpacking replacement gtk2-engines-pixbuf ...
Preparing to replace libgtk2.0-0 2.19.1-1 (using .../libgtk2.
Unpacking replacement libgtk2.0-0 ...
Preparing to replace libgtk2.0-bin 2.19.1-1 (using .../libgtk2.
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
test@test-laptop:~$ python test.py
Traceback (most recent call last):
File "test.py", line 14, in <module>
test_
File "test.py", line 11, in show
self.
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
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: gtk+2.0
Tags: lucid
Uname: Linux 2.6.32-9-generic i686
Changed in usb-creator (Ubuntu): | |
status: | New → Fix Committed |
I suspect this is the commit that broke things: git.gnome. org/browse/ gtk+/commit/ ?id=46f5ee1d0c0 f4601853ed57e99 b1b513f1baa445
http://