Bug 1033831

Summary: [abrt] gtg-0.3-3.fc19: cleanxml.py:186:savexml:OSError: [Errno 2] No such file or directory
Product: [Fedora] Fedora Reporter: benvdh <benvanderharg>
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: i686   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/019392e9d15ce59d88cd5eada98766c6c906849c
Whiteboard: abrt_hash:7984f35cd54b5d0a073345359e1c13d049cd987f
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:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description benvdh 2013-11-23 14:46:24 UTC
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.8-200.fc19.i686.PAE
runlevel:       N 5
type:           Python

Truncated backtrace:
cleanxml.py:186:savexml:OSError: [Errno 2] No such file or directory

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 161, in restore_backend_from_xml
    dic["backend"] = module.Backend(dic)
  File "/usr/lib/python2.7/site-packages/GTG/backends/backend_localfile.py", line 112, in __init__
    cleanxml.savexml(self._parameters["path"], self.doc, backup=True)
  File "/usr/lib/python2.7/site-packages/GTG/tools/cleanxml.py", line 186, in savexml
    os.rename(zefile, tmpfile)
OSError: [Errno 2] No such file or directory

Local variables in innermost frame:
tmpfile: '/home/ben/.local/share/gtg/f90dbe25-7a56-461d-8756-251f587fc8a2.xml__'
backup_name: '/home/ben/.local/share/gtg/backup/f90dbe25-7a56-461d-8756-251f587fc8a2.xml'
backup_dir: '/home/ben/.local/share/gtg/backup'
zefile: '/home/ben/.local/share/gtg/f90dbe25-7a56-461d-8756-251f587fc8a2.xml'
doc: <xml.dom.minidom.Document instance at 0x89fab0c>
backup: True

Comment 1 benvdh 2013-11-23 14:46:31 UTC
Created attachment 828095 [details]
File: backtrace

Comment 2 benvdh 2013-11-23 14:46:33 UTC
Created attachment 828096 [details]
File: environ

Comment 3 Fedora Update System 2013-11-27 08:44:20 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:09:20 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 benvdh 2013-11-27 16:24:27 UTC
I would love to test this update, but I'm still using Fedora 19. So maybe it's good to submit a Fedora 19 update as well?

Kind regards,

Ben

Comment 6 Fedora Update System 2013-12-14 03:50:28 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.