2012-01-23 16:09:12 |
Curtis Hovey |
description |
This is a bzr-gtk gdiff issue. The diff works, but an error happens when the window is closed. This may be the same kind of issue I fixed in gcommit where the callback is called while the window is being destroyed. In that case, The treeview still existed, but it's model and state were None.
Traceback (most recent call last):
File "/home/curtis/.bazaar/plugins/gtk/diff.py", line 391, in _treeview_cursor_cb
specific_files = [ self.model[path][1] ]
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 730, in __getitem__
aiter = self.get_iter(key)
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 744, in get_iter
path = TreePath(path)
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1110, in __new__
if len(path) == 0:
TypeError: object of type 'NoneType' has no len()
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: bzr 2.5.0~beta5-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-10.17-generic 3.2.1
Uname: Linux 3.2.0-10-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Mon Jan 23 10:59:47 2012
DuplicateOf: https://bugs.launchpad.net/bugs/914363
ExecutablePath: /usr/bin/bzr
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/bzr gdiff
PythonArgs: ['/usr/bin/bzr', 'gdiff']
SourcePackage: bzr
Title: bzr crashed with TypeError in __new__(): object of type 'NoneType' has no len()
UpgradeStatus: Upgraded to precise on 2012-01-19 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare |
This is a bzr-gtk gdiff issue. The diff works, but an error happens when the window is closed. This may be the same kind of issue I fixed in gcommit where the callback is called while the window is being destroyed. In that case, The treeview still existed, but it's model and state were None.
To reproduce on precise with trunk:
Branch any project
bzr gdiff
See no changes
close the window
See TB
Traceback (most recent call last):
File "/home/curtis/.bazaar/plugins/gtk/diff.py", line 391, in _treeview_cursor_cb
specific_files = [ self.model[path][1] ]
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 730, in __getitem__
aiter = self.get_iter(key)
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 744, in get_iter
path = TreePath(path)
File "/usr/lib/python2.7/dist-packages/gi/overrides/Gtk.py", line 1110, in __new__
if len(path) == 0:
TypeError: object of type 'NoneType' has no len()
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: bzr 2.5.0~beta5-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-10.17-generic 3.2.1
Uname: Linux 3.2.0-10-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Mon Jan 23 10:59:47 2012
DuplicateOf: https://bugs.launchpad.net/bugs/914363
ExecutablePath: /usr/bin/bzr
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/bzr gdiff
PythonArgs: ['/usr/bin/bzr', 'gdiff']
SourcePackage: bzr
Title: bzr crashed with TypeError in __new__(): object of type 'NoneType' has no len()
UpgradeStatus: Upgraded to precise on 2012-01-19 (4 days ago)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare |
|