Bug 1316383 - [abrt] hamster-time-tracker: facttree.py:260:on_mouse_down:ValueError: <hamster.lib.Fact object at 0x7f4d9806f510> is not in list
Summary: [abrt] hamster-time-tracker: facttree.py:260:on_mouse_down:ValueError: <hamst...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hamster-time-tracker
Version: 22
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:dd1bf281f0cda9497d1d1b918dc...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-10 06:52 UTC by Dan Callaghan
Modified: 2016-04-02 20:18 UTC (History)
3 users (show)

Fixed In Version: hamster-time-tracker-2.0-0.7.rc1.fc23 hamster-time-tracker-2.0-0.7.rc1.fc24 hamster-time-tracker-2.0-0.8.rc1.fc22
Clone Of:
Environment:
Last Closed: 2016-03-26 18:10:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (498 bytes, text/plain)
2016-03-10 06:52 UTC, Dan Callaghan
no flags Details
File: environ (970 bytes, text/plain)
2016-03-10 06:52 UTC, Dan Callaghan
no flags Details

Description Dan Callaghan 2016-03-10 06:52:23 UTC
Version-Release number of selected component:
hamster-time-tracker-2.0-0.2.rc1.fc22

Additional info:
reporter:       libreport-2.6.4
cmdline:        python2 /usr/bin/hamster-windows-service
executable:     /usr/bin/hamster-windows-service
kernel:         4.3.4-200.fc22.x86_64
runlevel:       N 5
type:           Python
uid:            15550

Truncated backtrace:
facttree.py:260:on_mouse_down:ValueError: <hamster.lib.Fact object at 0x7f4d9806f510> is not in list

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/hamster/widgets/facttree.py", line 260, in on_mouse_down
    self.set_current_fact(self.facts.index(self.hover_fact))
ValueError: <hamster.lib.Fact object at 0x7f4d9806f510> is not in list

Local variables in innermost frame:
self: <FactTree 139971242506192>
event: <void at 0x28ea6f0>
scene: <FactTree 139971242506192>

Comment 1 Dan Callaghan 2016-03-10 06:52:29 UTC
Created attachment 1134701 [details]
File: backtrace

Comment 2 Dan Callaghan 2016-03-10 06:52:30 UTC
Created attachment 1134702 [details]
File: environ

Comment 3 Raphael Groner 2016-03-10 12:02:16 UTC
Thanks for your report. Can you reproduce this crash? Please describe in more detail what you did. Maybe it's related specifically to your database entries, we saw another case with bogus entries in past.

The source file where it crashed:
https://github.com/projecthamster/hamster/blob/master/src/hamster/widgets/facttree.py#L260

Comment 4 Dan Callaghan 2016-03-10 23:00:35 UTC
Sorry I should have filled in more detail in the abrt report. Unfortunately I have no idea what I did to trigger this. I know it was a mouse click, while I was in the middle of entering a backdated activity, but I don't know what I clicked on or what state anything was in because I was rushing and kind of fat-fingered it.

I don't *think* my database is corrupted, because everything is still working fine and I haven't noticed any data loss. It *is* a very old database though, dating back to probably 2011 and has been written to by all the various hamster versions over the years (back then it was still the original GNOME panel applet) so that might make some difference.

The other thing that might be unusual about my setup is that I use the xmonad window manager and XFCE, not GNOME. So I'm not sure if there is some assumptions that the activity entry makes (for example, maybe the activity entry window is a modal dialog in GNOME?) which aren't true in my environment.

Anyway, since I have no idea how to reproduce this, feel free to close the bug. I just thought I should let abrt report is so that there is a record of the crash.

Comment 5 Fedora Update System 2016-03-12 18:48:33 UTC
hamster-time-tracker-2.0-0.7.rc1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8d09c09ea

Comment 6 Fedora Update System 2016-03-12 18:48:51 UTC
hamster-time-tracker-2.0-0.7.rc1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-211cb25c0d

Comment 7 Fedora Update System 2016-03-12 18:50:12 UTC
hamster-time-tracker-2.0-0.7.rc1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-1b469d9a2d

Comment 8 Fedora Update System 2016-03-14 01:20:16 UTC
hamster-time-tracker-2.0-0.7.rc1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8d09c09ea

Comment 9 Fedora Update System 2016-03-15 18:50:14 UTC
hamster-time-tracker-2.0-0.7.rc1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-1b469d9a2d

Comment 10 Fedora Update System 2016-03-15 19:22:19 UTC
hamster-time-tracker-2.0-0.7.rc1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-211cb25c0d

Comment 11 Fedora Update System 2016-03-21 19:55:12 UTC
hamster-time-tracker-2.0-0.8.rc1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-27b68e1fe5

Comment 12 Fedora Update System 2016-03-22 21:26:22 UTC
hamster-time-tracker-2.0-0.8.rc1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-27b68e1fe5

Comment 13 Fedora Update System 2016-03-22 21:40:36 UTC
hamster-time-tracker-2.0-0.7.rc1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-c8d09c09ea

Comment 14 Fedora Update System 2016-03-23 22:27:31 UTC
hamster-time-tracker-2.0-0.7.rc1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2016-03-25 13:30:41 UTC
hamster-time-tracker-2.0-0.8.rc1.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-27b68e1fe5

Comment 16 Fedora Update System 2016-03-25 23:48:38 UTC
hamster-time-tracker-2.0-0.8.rc1.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-27b68e1fe5

Comment 17 Fedora Update System 2016-03-26 18:10:42 UTC
hamster-time-tracker-2.0-0.7.rc1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.

Comment 18 Fedora Update System 2016-04-02 20:18:49 UTC
hamster-time-tracker-2.0-0.8.rc1.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.