gnome-language-selector crashed with TypeError in on_treeview_languages_row_activated(): 'TreePath' object does not support indexing

Bug #703097 reported by Jean-Baptiste Lallement on 2011-01-14
66
This bug affects 13 people
Affects Status Importance Assigned to Milestone
language-selector (Ubuntu)
Low
Martin Pitt

Bug Description

Binary package hint: language-selector

Test Case:
- Launch from the console:
  $ gnome-language-selector
- Click on 'Install / Remove Languages ...'
- In the window 'Installed Languages' double-click on a row in the tree_view. The application doesn't close but the following error is displayed on the console:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 941, in on_treeview_languages_row_activated
    self.on_toggled(None,str(path[0]))
TypeError: 'TreePath' object does not support indexing

ProblemType: Crash
DistroRelease: Ubuntu 11.04
Package: language-selector 0.11
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic i686
Architecture: i386
Date: Fri Jan 14 16:05:15 2011
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gnome-language-selector
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gnome-language-selector
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LC_MESSAGES=en_US.utf8
 LANG=en_US.utf8
 LANGUAGE=en_US:en
PythonArgs: ['/usr/bin/gnome-language-selector']
SourcePackage: language-selector
Title: gnome-language-selector crashed with TypeError in on_treeview_languages_row_activated(): 'TreePath' object does not support indexing
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/LanguageSelector/gtk/GtkLanguageSelector.py", line 941, in on_treeview_languages_row_activated
     self.on_toggled(None,str(path[0]))
 TypeError: 'TreePath' object does not support indexing
UserGroups: adm admin audio cdrom dialout dip floppy fuse libvirtd lpadmin netdev plugdev scanner sudo video

Jean-Baptiste Lallement (jibel) wrote :
tags: added: mago
tags: removed: need-duplicate-check
visibility: private → public
Hans Joachim Desserud (hjd) wrote :

Thanks for reporting this and making Ubuntu better.

I followed your instructions and got the same error with the same version of language-selector on Natty.

Changed in language-selector (Ubuntu):
status: New → Confirmed
Changed in language-selector (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
importance: Undecided → Low
Martin Pitt (pitti) on 2011-04-08
Changed in language-selector (Ubuntu):
status: Confirmed → Triaged
Martin Pitt (pitti) on 2011-04-08
Changed in language-selector (Ubuntu):
status: Triaged → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package language-selector - 0.30

---------------
language-selector (0.30) natty; urgency=low

  * LanguageSelector/gtk/GtkLanguageSelector.py: Fix crash when
    double-clicking language row. (LP: #703097)
 -- Martin Pitt <email address hidden> Fri, 08 Apr 2011 18:59:34 +0200

Changed in language-selector (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers