← Back to team overview

gtg team mailing list archive

[Bug 541943] [NEW] Error in new_task of requeseter.py when adding tasks with tags

 

Public bug reported:

When adding a task with a tag via dbus there is the following error:

org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/hmi/gtg/GTG/core/dbuswrapper.py", line 107, in new_task
    nt = self.req.new_task(tags=tags)
  File "/hmi/gtg/GTG/core/requester.py", line 90, in new_task
    task.tag_added(t.get_name())
AttributeError: 'dbus.String' object has no attribute 'get_name'

I done a patch for it.

** Affects: gtg
     Importance: Undecided
         Status: New


** Tags: dbus

-- 
Error in new_task of requeseter.py when adding tasks with tags
https://bugs.launchpad.net/bugs/541943
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: New

Bug description:
When adding a task with a tag via dbus there is the following error:

org.freedesktop.DBus.Python.AttributeError: Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/hmi/gtg/GTG/core/dbuswrapper.py", line 107, in new_task
    nt = self.req.new_task(tags=tags)
  File "/hmi/gtg/GTG/core/requester.py", line 90, in new_task
    task.tag_added(t.get_name())
AttributeError: 'dbus.String' object has no attribute 'get_name'

I done a patch for it.





Follow ups

References