Bug 909585

Summary: [abrt] whaawmp-0.2.14-4.fc18: pyxdg: BaseDirectory.save_config_path: os.py:157:makedirs:OSError: [Errno 17] File exists: '~/.config/whaawmp'
Product: [Fedora] Fedora Reporter: Hugo Melendez <hmelende>
Component: pyxdgAssignee: Tom "spot" Callaway <tcallawa>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: christoph.wickert, jpmahowald, kevin, sindrepb, tcallawa, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:6575e0ae28bc5a7e77d584b82f42c99799b462d5
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-05 19:03:40 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: core_backtrace
none
File: dso_list
none
File: environ none

Description Hugo Melendez 2013-02-09 16:54:42 UTC
Version-Release number of selected component:
whaawmp-0.2.14-4.fc18

Additional info:
cmdline:        /usr/bin/python /usr/lib/python2.7/site-packages/whaawmp/whaawmp.py '/run/user/1000/gvfs/sftp:host=192.168.1.2,user=hugo/opt/Musica/ataque 90\'so/Backstreet Boys - Larger Than Life.mp3'
executable:     /usr/lib/python2.7/site-packages/whaawmp/whaawmp.py
kernel:         3.7.5-201.fc18.x86_64
uid:            1000

Truncated backtrace:
os.py:157:makedirs:OSError: [Errno 17] File exists: '/home/hmelende/.config/whaawmp'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/whaawmp/whaawmp.py", line 54, in <module>
    from gui import main as whaawmp
  File "/usr/lib/python2.7/site-packages/whaawmp/gui/main.py", line 33, in <module>
    from gui import dialogues, preferences
  File "/usr/lib/python2.7/site-packages/whaawmp/gui/dialogues.py", line 31, in <module>
    from common.config import cfg
  File "/usr/lib/python2.7/site-packages/whaawmp/common/config.py", line 33, in <module>
    cfgFile = os.path.join(xdg.BaseDirectory.save_config_path(useful.sName), 'config.ini')
  File "/usr/lib/python2.7/site-packages/xdg/BaseDirectory.py", line 58, in save_config_path
    os.makedirs(path, 0o700)
  File "/usr/lib64/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/home/hmelende/.config/whaawmp'

Local variables in innermost frame:
tail: 'whaawmp'
head: '/home/hmelende/.config'
name: '/home/hmelende/.config/whaawmp'
mode: 448

Comment 1 Hugo Melendez 2013-02-09 16:54:45 UTC
Created attachment 695515 [details]
File: backtrace

Comment 2 Hugo Melendez 2013-02-09 16:54:47 UTC
Created attachment 695516 [details]
File: core_backtrace

Comment 3 Hugo Melendez 2013-02-09 16:54:49 UTC
Created attachment 695517 [details]
File: dso_list

Comment 4 Hugo Melendez 2013-02-09 16:54:51 UTC
Created attachment 695518 [details]
File: environ

Comment 5 Thomas Spura 2013-02-10 11:15:20 UTC
Thanks for the bug report.

This seems to fail in python-xdg in line:
https://github.com/takluyver/pyxdg/blob/master/xdg/BaseDirectory.py#L58

Could you please check if /home/hmelende/.config/whaawmp is a file or a directory? The crash should only occur, if it is a file.

I'm unsure how to properly fix this in xdg. Throwing an Exception would be the best, but this needs to be decided by xdg upstream.

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

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 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 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 18'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 7 Fedora End Of Life 2014-02-05 19:03:40 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 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.

Comment 8 Red Hat Bugzilla 2023-09-14 01:41:16 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days