gdebi-gtk crashed with TypeError in on_treeview_files_cursor_changed(): 'NoneType' object has no attribute '__getitem__'

Bug #912389 reported by gogo
100
This bug affects 22 people
Affects Status Importance Assigned to Milestone
gdebi (Ubuntu)
Fix Released
High
Unassigned

Bug Description

gdebi-gtk crashed at computer start after login in unity

TEST CASE:
1. In a terminal run the following command:
$ gdebi-gtk some_deb_file.deb
2. Close gdebi windows by clicking on the window close button (not the menu)

EXPECTED RESULT:
It closes without error

ACTUAL RESULT:
It closes but with a crash.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: gdebi 0.8.3
ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
Uname: Linux 3.2.0-7-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Thu Jan 5 17:13:10 2012
ExecutablePath: /usr/share/gdebi/gdebi-gtk
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111129.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gdebi-gtk --non-interactive /media/SEAGATE200/ubuntu\ bckup/12.04-bkup/Radna\ površina/Auto-start\ prečaci/arios-automount_1.0_all.deb
ProcEnviron:
 PATH=(custom, no user)
 LANG=hr_HR.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/gdebi-gtk', '--non-interactive', '/media/SEAGATE200/ubuntu bckup/12.04-bkup/Radna povr\xc5\xa1ina/Auto-start pre\xc4\x8daci/arios-automount_1.0_all.deb']
SourcePackage: gdebi
Title: gdebi-gtk crashed with TypeError in on_treeview_files_cursor_changed(): 'NoneType' object has no attribute '__getitem__'
Traceback:
 Traceback (most recent call last):
   File "/usr/share/gdebi/GDebi/GDebi.py", line 393, in on_treeview_files_cursor_changed
     name = model[path][0]
 TypeError: 'NoneType' object has no attribute '__getitem__'
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

Related branches

Revision history for this message
gogo (trebelnik-stefina) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

I can confirm it on Precise.

Changed in gdebi (Ubuntu):
importance: Undecided → High
status: New → Triaged
description: updated
Revision history for this message
dino99 (9d9) wrote :

Surprised to find this silent crash into /var/crash/ on Precise i386.
Have downloaded a deb file then installed it via gdebi (logged as gnome-classic)
But the package has been installed without warning/error; so this crash dont seems to be so disturbing.

Changed in gdebi (Ubuntu):
assignee: nobody → Luca Falavigna (dktrkranz)
status: Triaged → In Progress
Revision history for this message
Luca Falavigna (dktrkranz) wrote :
Changed in gdebi (Ubuntu):
assignee: Luca Falavigna (dktrkranz) → nobody
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gdebi - 0.8.5

---------------
gdebi (0.8.5) unstable; urgency=low

  * GDebi/GDebi.py:
    - Check whether model and path are set (LP: #917802, #912389).
  * debian/control:
    - gdebi must depend on python-gi (Closes: #661624).
    - Bump Standards-Version to 3.9.3.
  * debian/copyright:
    - Format now points to copyright-format site.
  * po/*.po:
    - Refresh translations exported from Rosetta.

 -- Luca Falavigna <email address hidden> Wed, 29 Feb 2012 22:36:18 +0100

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.