← Back to team overview

lottanzb team mailing list archive

[Bug 507739] Re: Widget names not set when using gtk.Builder

 

Execute this file using "python testcase.py".

** Description changed:

- Binary package hint: lottanzb
+ LottaNZB cannot be launched on an up-to-date Lucid machine because of a
+ bug in PyGTK (or something more low-level). I tracked down the problem:
  
- Encountered when launching LottaNZB on an up-to-date Lucid machine.
+ When loading a XML UI file using gtk.Builder, the 'name' property of
+ widgets isn't set. Because of this, get_name() just returns a string
+ containing the widget type (like GtkWindow). On the other hand, the
+ 'name' property of 'gtk.Action' objects is properly set.
  
- ProblemType: Crash
- Architecture: i386
- Date: Fri Jan 15 01:44:44 2010
- DistroRelease: Ubuntu 10.04
- ExecutablePath: /usr/bin/lottanzb
- InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha i386 (20091209)
- InterpreterPath: /usr/bin/python2.6
- Package: lottanzb 0.5.2-1
- PackageArchitecture: all
- ProcCmdline: /usr/bin/python /usr/bin/lottanzb
- ProcEnviron:
-  LANG=de_CH.UTF-8
-  SHELL=/bin/bash
- ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
- PythonArgs: ['/usr/bin/lottanzb']
- RelatedPackageVersions:
-  lottanzb 0.5.2-1
-  hellanzb 0.13-5.4
- SourcePackage: lottanzb
- Tags: lucid
- Title: lottanzb crashed with AttributeError in _autoconnect_by_method_name()
- Uname: Linux 2.6.32-9-generic i686
- UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
+ A test case is attached. Compare the output on a Karmic and a Lucid
+ machine.
+ 
+ I'm pretty sure that LottaNZB worked about a week ago, when I initially
+ installed Lucid. This means that the bug could have been introduced in a
+ recent update of the pygtk package.

** Attachment added: "testcase.py"
   http://launchpadlibrarian.net/37937984/testcase.py

-- 
Widget names not set when using gtk.Builder
https://bugs.launchpad.net/bugs/507739
You received this bug notification because you are a member of LottaNZB
Development Team, which is subscribed to LottaNZB.

Status in LottaNZB • Automated Usenet Client: New
Status in “lottanzb” package in Ubuntu: New

Bug description:
LottaNZB cannot be launched on an up-to-date Lucid machine because of a bug in PyGTK (or something more low-level). I tracked down the problem:

When loading a XML UI file using gtk.Builder, the 'name' property of widgets isn't set. Because of this, get_name() just returns a string containing the widget type (like GtkWindow). On the other hand, the 'name' property of 'gtk.Action' objects is properly set.

A test case is attached. Compare the output on a Karmic and a Lucid machine.

I'm pretty sure that LottaNZB worked about a week ago, when I initially installed Lucid. This means that the bug could have been introduced in a recent update of the pygtk package.