Bug 1028240

Summary: [abrt] gtg-0.3-3.fc19: keyring.py:46:get_password:BadArgumentsError
Product: [Fedora] Fedora Reporter: Gary <gedberg>
Component: gtgAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/55b15cd85a128f83fb79ac45b2eb1a99388ec7c2
Whiteboard: abrt_hash:4b29b70dba34b57d06b7aec04557125194663e3d
Fixed In Version: gtg-0.3.1-1.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-14 03:50:12 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 Gary 2013-11-08 00:24:43 UTC
Description of problem:
I'm trying to share between home and work computers by putting .config/gtg/ and .local/share/gtg/ on owncloud. This works fine with other apps such as tomboy and hamster-applet but not gtg. Needs some error checking on existing or missing dirs and/or files.

Version-Release number of selected component:
gtg-0.3-3.fc19

Additional info:
reporter:       libreport-2.1.9
cmdline:        /usr/bin/python /usr/bin/gtg
executable:     /usr/bin/gtg
kernel:         3.11.6-200.fc19.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
keyring.py:46:get_password:BadArgumentsError

Traceback (most recent call last):
  File "/usr/bin/gtg", line 85, in <module>
    main()
  File "/usr/bin/gtg", line 81, in main
    sys.exit(gtg.main(options, args))
  File "/usr/lib/python2.7/site-packages/GTG/gtg.py", line 118, in main
    ds, req = core_main_init(options, args)
  File "/usr/lib/python2.7/site-packages/GTG/gtg.py", line 145, in core_main_init
    backends_list = BackendFactory().get_saved_backends_list()
  File "/usr/lib/python2.7/site-packages/GTG/backends/__init__.py", line 177, in get_saved_backends_list
    self.restore_backend_from_xml(dic)
  File "/usr/lib/python2.7/site-packages/GTG/backends/__init__.py", line 158, in restore_backend_from_xml
    xp.getAttribute(param_name), param_type)
  File "/usr/lib/python2.7/site-packages/GTG/backends/genericbackend.py", line 409, in cast_param_type_from_string
    return Keyring().get_password(int(param_value))
  File "/usr/lib/python2.7/site-packages/GTG/tools/keyring.py", line 46, in get_password
    item_info = gnomekeyring.item_get_info_sync(self.keyring, item_id)
BadArgumentsError

Local variables in innermost frame:
item_id: 23609
self: <GTG.tools.keyring.GNOMEKeyring object at 0x260a810>

Comment 1 Gary 2013-11-08 00:24:49 UTC
Created attachment 821350 [details]
File: backtrace

Comment 2 Gary 2013-11-08 00:24:52 UTC
Created attachment 821351 [details]
File: environ

Comment 3 Fedora Update System 2013-11-27 08:43:55 UTC
gtg-0.3.1-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gtg-0.3.1-1.fc20

Comment 4 Fedora Update System 2013-11-27 16:08:48 UTC
Package gtg-0.3.1-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gtg-0.3.1-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-22265/gtg-0.3.1-1.fc20
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-12-14 03:50:12 UTC
gtg-0.3.1-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.