2.27.90 => 2.27.91 regression: AttributeError: type object 'Widget' has no attribute '__info__'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
Came across this as I was working on dmedia. This is a simple example that triggers it:
###
import sys
import gtk
from gi.repository import WebKit
window = gtk.Window()
window.
window.
window.
view = WebKit.WebView()
window.add(view)
view.load_
window.show_all()
gtk.main()
###
The above works with pygobject 2.27.90, but with 2.27.91 I get an attribute error:
Traceback (most recent call last):
File "./dummy-client", line 34, in <module>
view = WebKit.WebView()
File "/usr/lib/
return getattr(
File "/usr/lib/
parent = get_parent_
File "/usr/lib/
module = __import_
File "/usr/lib/
dynamic_
File "/usr/lib/
overrides_
File "/usr/lib/
Widget = override(Widget)
File "/usr/lib/
registry.
File "/usr/lib/
self[
File "/usr/lib/
info = getattr(value, '__info__')
AttributeError: type object 'Widget' has no attribute '__info__'
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: python-gobject 2.27.91-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-5-generic x86_64
Architecture: amd64
CheckboxSubmission: fdbdfcded0c0bb4
CheckboxSystem: edda5d4f616ca79
Date: Sat Mar 5 16:38:46 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007.1)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: pygobject
UpgradeStatus: Upgraded to natty on 2011-01-30 (34 days ago)
Related dmedia bug - https:/ /bugs.launchpad .net/dmedia/ +bug/728769