Bug 1135784

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: 20CC: sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/31e6b77e5e83a9fe7addde3942bb217fe4a2ea43
Whiteboard: abrt_hash:f9163ace09da69a134df837abf99a08c5ea9ba3a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-29 22:20:55 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 2014-08-31 14:01:59 UTC
Description of problem:
Startup system

Version-Release number of selected component:
gtg-0.3.1-3.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/gtg
executable:     /usr/bin/gtg
kernel:         3.15.10-201.fc20.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 156, in core_main_init
    ds.save(quit=False)
  File "/usr/lib/python2.7/site-packages/GTG/core/datastore.py", line 589, in save
    cleanxml.savexml(datafile, 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/projects.xml__'
backup_name: '/home/<username>/.local/share/gtg/backup/projects.xml'
backup_dir: '/home/<username>/.local/share/gtg/backup'
zefile: '/home/<username>/.local/share/gtg/projects.xml'
doc: <xml.dom.minidom.Document instance at 0x2ebbe18>
backup: True

Comment 1 Thom Carlin 2014-08-31 14:02:02 UTC
Created attachment 933145 [details]
File: backtrace

Comment 2 Thom Carlin 2014-08-31 14:02:02 UTC
Created attachment 933146 [details]
File: environ

Comment 3 Thom Carlin 2014-09-11 01:09:46 UTC
Another user experienced a similar problem:

Start up system

reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/gtg
executable:     /usr/bin/gtg
kernel:         3.15.10-201.fc20.x86_64
package:        gtg-0.3.1-3.fc20
reason:         cleanxml.py:197:savexml:OSError: [Errno 2] No such file or directory
runlevel:       N 5
type:           Python
uid:            1000

Comment 4 Fedora End Of Life 2015-05-29 12:46:29 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 '20'.

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 20 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 5 Fedora End Of Life 2015-06-29 22:20:55 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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.