GTG

[dbus] get_tasks method not working

Bug #491832 reported by Lionel Dricot
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GTG
Fix Released
High
Unassigned

Bug Description

Call the get_tasks method with dbus, you will have the following error :

org.GTG
Traceback (most recent call last):
  File "newtask.py", line 27, in <module>
    get_task()
  File "newtask.py", line 23, in get_task
    print timi.get_tasks()
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 745, in _message_cb
    _method_reply_return(connection, message, method_name, signature, *retval)
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 252, in _method_reply_return
    reply.append(signature=signature, *retval)
TypeError: Don't know how which D-Bus type to use to encode type "instance"

Tags: dbus
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :
Changed in gtg:
milestone: none → 0.2
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Segphault > I subscribed you to this bug as you could be interested

tags: added: dbus
Revision history for this message
Lionel Dricot (ploum-deactivatedaccount) wrote :

Fixed in rev 430 : dates should be string for DBus. This has changed since the fuzzy dates merge.

Changed in gtg:
assignee: nobody → Lionel Dricot (ploum)
status: Confirmed → In Progress
status: In Progress → Fix Committed
Changed in gtg:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.