After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 637261 - hamster-time-tracker crashes with TypeError in on_workspace_changed() when switching workspaces (typo)
hamster-time-tracker crashes with TypeError in on_workspace_changed() when sw...
Status: RESOLVED FIXED
Product: hamster-applet
Classification: Deprecated
Component: general
2.31.x
Other Linux
: Normal normal
: ---
Assigned To: hamster-applet-maint
hamster-applet-maint
Depends on:
Blocks:
 
 
Reported: 2010-12-14 21:38 UTC by Daniel Hahler
Modified: 2011-05-21 14:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix typos. (2.40 KB, patch)
2011-02-25 09:04 UTC, Adam Przywecki
committed Details | Review

Description Daniel Hahler 2010-12-14 21:38:54 UTC
When switching workspaces (with some workspace related config enabled at least), the following traceback gets thrown:

Traceback (most recent call last):
  • File "/usr/bin/hamster-time-tracker", line 336 in on_workspace_changed
    ressurect = False)
TypeError: get_activity_by_name() got an unexpected keyword argument 'ressurect'


This is a typo. It should be "resurrect".

It's typed wrong 3 times in current git master:

    (git)master % ack-grep ressurect
    hamster/applet.py
    609: ressurect = False)

    hamster/widgets/activityentry.py
    110: # ressurect the activity if it's deleted (hidden)

    hamster-time-tracker
    344: ressurect = False)

This happened with the version 2.31.92-0ubuntu2 in Ubuntu Maverick.

Forwarded from: https://bugs.launchpad.net/ubuntu/+source/hamster-applet/+bug/690366
Comment 1 Adam Przywecki 2011-02-25 09:04:45 UTC
Created attachment 181902 [details] [review]
Fix typos.
Comment 2 Toms Bauģis 2011-05-21 13:59:54 UTC
Review of attachment 181902 [details] [review]:

committed
Comment 3 Toms Bauģis 2011-05-21 14:00:12 UTC
thanks! pushed to git master