hamster-indicator crashed with TypeError in on_add_activate(): 'Fact' object has no attribute '__getitem__'

Bug #979707 reported by Piotr Janas
This bug affects 2 people
Affects Status Importance Assigned to Milestone
hamster-indicator (Ubuntu)

Bug Description

In Overview, right-click an activity and select "Add new". Crash.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: hamster-indicator 0.1+037dd2e-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
Uname: Linux 3.2.0-22-generic x86_64
ApportVersion: 2.0.1-0ubuntu1
Architecture: amd64
Date: Thu Apr 12 11:04:58 2012
ExecutablePath: /usr/bin/hamster-indicator
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/hamster-indicator
 PATH=(custom, user)
PythonArgs: ['/usr/bin/hamster-indicator']
SourcePackage: hamster-indicator
Title: hamster-indicator crashed with TypeError in on_add_activate(): 'Fact' object has no attribute '__getitem__'
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-packages/hamster/overview.py", line 370, in on_add_activate
     selected_date = fact["date"]
 TypeError: 'Fact' object has no attribute '__getitem__'
UpgradeStatus: Upgraded to precise on 2012-03-26 (16 days ago)
UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

Revision history for this message
Piotr Janas (piotr-janas) wrote :
tags: removed: need-duplicate-check
information type: Private → Public
Changed in hamster-indicator (Ubuntu):
status: New → Confirmed
description: updated
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Here is a patch that fixes this crash.

An updated packaging branch with this fix is at lp:~menesis/ubuntu/raring/hamster-applet/raring

Changed in hamster-indicator (Ubuntu):
status: Confirmed → Fix Committed
tags: added: patch
Changed in hamster-indicator (Ubuntu):
status: Fix Committed → Triaged
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers