Bug 706580

Summary: [abrt] gtg-0.2.4-5.fc15: connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
Product: [Fedora] Fedora Reporter: Niki Guldbrand <niki.guldbrand>
Component: gtgAssignee: Yanko Kaneti <yaneti>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: cristian.ciupitu, dan4793, dujiaoshou1022, ivanpacheko, jcarloswatts, michael, petr.simon, yaneti
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:4504b0338ede410cff81ada1390e9a803898b877
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-01 18:13:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Niki Guldbrand 2011-05-21 09:14:47 UTC
abrt version: 2.0.1
architecture:   x86_64
cmdline:        /usr/bin/python /usr/bin/gtg
comment:        Tried to start a task in hamster time tracker from GTG
component:      gtg
executable:     /usr/bin/gtg
kernel:         2.6.38.6-27.fc15.x86_64
os_release:     Fedora release 15 (Lovelock)
package:        gtg-0.2.4-5.fc15
reason:         connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
time:           Sat May 21 11:07:47 2011
uid:            500
username:       niki

backtrace:
:connection.py:630:call_blocking:DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
:    retval = candidate_method(self, *args, **keywords)
:TypeError: AddFact() takes at least 5 arguments (4 given)
:
:
:Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py", line 242, in browser_cb
:    self.sendTask(plugin_api.get_selected_task())
:  File "/usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py", line 97, in sendTask
:    hamster_id=self.hamster.AddFact('%s%s,%s%s'%(activity, category, description, tag_str), 0, 0)
:  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
:    **keywords)
:  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
:    message, timeout)
:DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
:  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
:    retval = candidate_method(self, *args, **keywords)
:TypeError: AddFact() takes at least 5 arguments (4 given)
:
:
:Local variables in innermost frame:
:byte_arrays: False
:self: <dbus._dbus.SessionBus (session) at 0x3052b30>
:args: ('Other,<Task_Name>', 0, 0)
:utf8_strings: False
:bus_name: dbus.UTF8String(':1.79')
:get_args_opts: {'byte_arrays': False, 'utf8_strings': False}
:object_path: '/org/gnome/Hamster'
:timeout: -1.0
:signature: None
:dbus_interface: None
:message: <dbus.lowlevel.MethodCallMessage object at 0x3906120>
:method: 'AddFact'

Comment 1 Yanko Kaneti 2011-05-21 10:19:15 UTC
If you could please try this koji build ?

http://koji.fedoraproject.org/koji/buildinfo?buildID=244696

If it fixes the issue I'll do an update.

Comment 2 Niki Guldbrand 2011-05-21 11:53:50 UTC
Hi Yanko.

I have tried the new build, and the error has gone, but nothing happens in the time tracer

Comment 3 Niki Guldbrand 2011-05-21 12:01:49 UTC
Correction, I get this on the console:

[niki@niki-laptop1 ~]$ gtg
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py", line 242, in browser_cb
    self.sendTask(plugin_api.get_selected_task())
  File "/usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py", line 97, in sendTask
    hamster_id=self.hamster.AddFact('%s%s,%s%s'%(activity, category, description, tag_str), 0, 0)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at least 5 arguments (4 given)

Comment 4 Yanko Kaneti 2011-05-21 15:03:36 UTC
Sorry, I added the patch but didn't apply it.
How about this one ?
http://koji.fedoraproject.org/koji/buildinfo?buildID=244713

Comment 5 Niki Guldbrand 2011-05-21 15:53:00 UTC
that works better, now it starts the task :-)

But the Task title in gtg ends up being the description in the hamster activity, so the activity name in hamster is "Other", also when switching tasks.

None of the tags from gtg is transferred to hamster, and the categories aren't used in hamster either.

Comment 6 Yanko Kaneti 2011-05-25 13:22:57 UTC
I've finally seen hamster.
The Hamster plugin configuration seems to be responsible for what ends in the hamster task. eg.  there is an option "Set Hamster activity from"  if set to "GTG task title" thats what the activity will be.
The tag option seems to be "GTG tags already used in master" by default which means that if Hamster doesn't have the same tag already , the gtg transferred task will end up without tags. 

Could you try the different plugin configuration options and see if some combination of them matches your expectations?

Comment 7 Petr Šimon 2011-08-21 23:26:33 UTC
Package: gtg-0.2.4-5.fc15
Architecture: x86_64
OS Release: Fedora release 15 (Lovelock)

Comment
-----
Start GTG
Enable Hamster plugin
Click Hamster icon in toolbar

Comment 8 Petr Šimon 2011-08-21 23:28:17 UTC
(In reply to comment #7)
> Package: gtg-0.2.4-5.fc15
> Architecture: x86_64
> OS Release: Fedora release 15 (Lovelock)
> 
> Comment
> -----
> Start GTG
> Enable Hamster plugin
> Click Hamster icon in toolbar
crash follows

Comment 9 Dan 2011-08-22 20:56:34 UTC
I've also seen this, but I'm not using the Hamster plugin. I'll get a stack trace uploaded when I can.

Comment 10 Juan Carlos Watts 2011-11-15 20:49:17 UTC
Package: gtg-0.2.4-5.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)

Comment
-----
click on hamster time tracker

Comment 11 Juan Carlos Watts 2011-11-15 20:54:29 UTC
Package: gtg-0.2.4-5.fc15
Architecture: i686
OS Release: Fedora release 15 (Lovelock)

Comment
-----
click on hamster time tracker

Comment 12 Juan Carlos Watts 2012-01-27 15:03:11 UTC
start gtg
click on hamster plugin button.


Package: gtg-0.2.4-5.fc15
OS Release: Fedora release 16 (Verne)

Comment 13 Michael 2012-07-10 17:15:08 UTC
i click (in gtg) start task in hamster

Package: gtg-0.2.4-7.fc17
Architecture: i686
OS Release: Fedora release 17 (Beefy Miracle)

Comment 14 Michael 2012-08-07 05:50:23 UTC
i will start a "gtg" task whit hamster time tracker.  (the gtg task has a weblink in my task descrption) 

Package: gtg-0.2.4-8.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 15 Fedora End Of Life 2012-08-07 19:14:16 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 16 Cristian Ciupitu 2012-08-11 19:13:37 UTC
It just happened to me too, with the following packages:
 - gtg-0.2.4-8.fc17.noarch.rpm
 - hamster-applet-2.32.1-3.fc17.x86_64.rpm
 - dbus-python-0.83.0-9.fc17.x86_64.rpm

Comment 17 marianne@tuxette.fr 2012-08-14 09:07:06 UTC
trying to launch a task in hamster (time-track tool) from gtg 

Package: gtg-0.2.4-8.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 18 Michael 2012-10-13 10:55:36 UTC
i will start a GTG task whit Hamster (twice apps are installed) i select a GTG-Task an click on the Hamster Icon in GTG, instead of Hamster ABRT cam up 

Package: gtg-0.2.4-8.fc17
OS Release: Fedora release 17 (Beefy Miracle)

Comment 19 xhsong 2013-02-24 04:50:40 UTC
I accounterd this question in the fedora14

can anybody help me??

Thanks!

Comment 20 Fedora End Of Life 2013-07-04 06:37:39 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 21 Fedora End Of Life 2013-08-01 18:13:57 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.