Bug 1311524

Summary: [abrt] gtg: cleanxml.py:197:savexml:OSError: [Errno 2] No such file or directory
Product: [Fedora] Fedora Reporter: Thom Carlin <tcarlin>
Component: gtgAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bugzilla.acct, sanjay.ankur, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/753fc5609191460d8088cddffaa5a6d31b6ae335
Whiteboard: abrt_hash:f9163ace09da69a134df837abf99a08c5ea9ba3a;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-20 18:59:25 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 Thom Carlin 2016-02-24 12:11:19 UTC
Version-Release number of selected component:
gtg-0.3.1-7.fc23

Additional info:
reporter:       libreport-2.6.4
cmdline:        /usr/bin/python /usr/bin/gtg
executable:     /usr/bin/gtg
kernel:         4.3.5-300.fc23.x86_64
runlevel:       N 5
type:           Python
uid:            1000

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

Traceback (most recent call last):
  File "/usr/bin/gtg", line 89, in <module>
    main()
  File "/usr/bin/gtg", line 85, in main
    sys.exit(gtg.main(options, args))
  File "/usr/lib/python2.7/site-packages/GTG/gtg.py", line 121, in main
    ds, req = core_main_init(options, args)
  File "/usr/lib/python2.7/site-packages/GTG/gtg.py", line 149, in core_main_init
    backends_list = BackendFactory().get_saved_backends_list()
  File "/usr/lib/python2.7/site-packages/GTG/backends/__init__.py", line 174, 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
    dic["backend"] = module.Backend(dic)
  File "/usr/lib/python2.7/site-packages/GTG/backends/backend_localfile.py", line 100, in __init__
    cleanxml.savexml(self.get_path(), self.doc, backup=True)
  File "/usr/lib/python2.7/site-packages/GTG/tools/cleanxml.py", line 197, in savexml
    os.rename(zefile, tmpfile)
OSError: [Errno 2] No such file or directory

Local variables in innermost frame:
tmpfile: '/home/<username>/.local/share/gtg/gtg_tasks.xml__'
backup_name: '/home/<username>/.local/share/gtg/backup/gtg_tasks.xml'
backup_dir: '/home/<username>/.local/share/gtg/backup'
zefile: '/home/<username>/.local/share/gtg/gtg_tasks.xml'
doc: <xml.dom.minidom.Document instance at 0x7eff5538f5f0>
backup: True

Potential duplicate: bug 1135784

Comment 1 Thom Carlin 2016-02-24 12:11:23 UTC
Created attachment 1130195 [details]
File: backtrace

Comment 2 Thom Carlin 2016-02-24 12:11:24 UTC
Created attachment 1130196 [details]
File: environ

Comment 3 Fedora End Of Life 2016-11-24 15:44:31 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. 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 EOL if it remains open with a Fedora  'version'
of '23'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 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 this bug is closed as described in the policy above.

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 4 Fedora End Of Life 2016-12-20 18:59:25 UTC
Fedora 23 changed to end-of-life (EOL) status on 2016-12-20. Fedora 23 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

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