Bug 1064009

Summary: [abrt] hamster-time-tracker: connection.py:651:call_blocking:DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
Product: [Fedora] Fedora Reporter: James Ralston <ralston>
Component: hamster-time-trackerAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: fschwarz, ralston, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/44073961688c8de44214e4f35fc26ee415cdb453
Whiteboard: abrt_hash:ed4d59d67a3fdfce66ee49a71e6e1c453dc24991
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-19 04:09:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description James Ralston 2014-02-11 19:12:41 UTC
Description of problem:
I accidentally added some tags I wish to delete. If I open Edit->Preferences, click the "Categories and Tags" tab, and delete the tags, hamster crashes when I click the "Close" button.

Version-Release number of selected component:
hamster-time-tracker-1.03.3-6.fc20

Additional info:
reporter:       libreport-2.1.12
cmdline:        python /usr/bin/hamster
dso_list:       dbus-python-1.2.0-1.fc20.x86_64
executable:     /usr/bin/hamster
kernel:         3.12.10-300.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            2000

Truncated backtrace:
connection.py:651:call_blocking:DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/bin/hamster-service", line 294, in SetTagsAutocomplete
    self.update_autocomplete_tags(tags)
AttributeError: 'Storage' object has no attribute 'update_autocomplete_tags'


Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/hamster/preferences.py", line 339, in on_autocomplete_tags_view_focus_out_event
    runtime.storage.update_autocomplete_tags(updated_tags)
  File "/usr/lib/python2.7/site-packages/hamster/client.py", line 160, in update_autocomplete_tags
    self.conn.SetTagsAutocomplete(tags)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/usr/bin/hamster-service", line 294, in SetTagsAutocomplete
    self.update_autocomplete_tags(tags)
AttributeError: 'Storage' object has no attribute 'update_autocomplete_tags'


Local variables in innermost frame:
byte_arrays: False
self: <dbus._dbus.SessionBus (session) at 0x281d590>
args: (u'',)
object_path: '/org/gnome/Hamster'
signature: u's'
bus_name: dbus.UTF8String(':1.79')
get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
timeout: -1.0
kwargs: {}
dbus_interface: 'org.gnome.Hamster'
message: <dbus.lowlevel.MethodCallMessage path: /org/gnome/Hamster, iface: org.gnome.Hamster, member: SetTagsAutocomplete dest: :1.79>
method: 'SetTagsAutocomplete'

Comment 1 James Ralston 2014-02-11 19:12:46 UTC
Created attachment 861943 [details]
File: backtrace

Comment 2 James Ralston 2014-02-11 19:12:48 UTC
Created attachment 861944 [details]
File: environ

Comment 3 Ankur Sinha (FranciscoD) 2014-02-11 23:00:52 UTC
Hi,

Thank you for your bug report. Can you please try version 1.04 from updates-testing and see if this bug happens again for you?

sudo yum --enablerepo=updates-testing update hamster-time-tracker

Thanks,
Warm regards,
Ankur

Comment 4 James Ralston 2014-02-19 04:07:58 UTC
I can confirm that hamster-time-tracker-1.04-1.fc20 fixes this particular bug, yes.