Bug 1602186

Summary: [abrt] gnome-tweaks: makedirs(): os.py:220:makedirs:FileExistsError: [Errno 17] File exists: '/home/jannik/.config/autostart'
Product: [Fedora] Fedora Reporter: Jannik <lovelyjubble>
Component: gnome-tweaksAssignee: Mohamed El Morabity <pikachu.2014>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: pikachu.2014
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/e0717f0bde9d5e44f3aead9c2a1c9ffd766bdb03
Whiteboard: abrt_hash:e04c4e8e950bc31ef31d932fdc7d1befc89c7afb;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-28 21:52:31 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: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Jannik 2018-07-18 01:10:03 UTC
Version-Release number of selected component:
gnome-tweaks-3.28.1-1.fc28

Additional info:
reporter:       libreport-2.9.5
cmdline:        /usr/bin/python3 /usr/bin/gnome-tweaks
crash_function: makedirs
exception_type: FileExistsError
executable:     /usr/bin/gnome-tweaks
interpreter:    python3-3.6.5-1.fc28.x86_64
kernel:         4.17.6-200.fc28.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
os.py:220:makedirs:FileExistsError: [Errno 17] File exists: '/home/jannik/.config/autostart'

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/gtweak/app.py", line 30, in do_activate
    self.win = Window(self, model)
  File "/usr/lib/python3.6/site-packages/gtweak/tweakview.py", line 45, in __init__
    self._model.load_tweaks(self)
  File "/usr/lib/python3.6/site-packages/gtweak/tweakmodel.py", line 104, in load_tweaks
    mods = __import__("gtweak.tweaks", globals(), locals(), tweak_files, 0)
  File "/usr/lib/python3.6/site-packages/gtweak/tweaks/tweak_group_power.py", line 47, in <module>
    IgnoreLidSwitchTweak(),
  File "/usr/lib/python3.6/site-packages/gtweak/tweaks/tweak_group_power.py", line 20, in __init__
    exec_cmd = self._inhibitor_path)
  File "/usr/lib/python3.6/site-packages/gtweak/utils.py", line 164, in __init__
    os.makedirs(user_autostart_dir, exist_ok=True)
  File "/usr/lib64/python3.6/os.py", line 220, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/home/jannik/.config/autostart'

Local variables in innermost frame:
tail: 'autostart'
head: '/home/jannik/.config'
exist_ok: True
mode: 511
name: '/home/jannik/.config/autostart'

Comment 1 Jannik 2018-07-18 01:10:08 UTC
Created attachment 1459581 [details]
File: backtrace

Comment 2 Jannik 2018-07-18 01:10:09 UTC
Created attachment 1459582 [details]
File: cgroup

Comment 3 Jannik 2018-07-18 01:10:10 UTC
Created attachment 1459583 [details]
File: cpuinfo

Comment 4 Jannik 2018-07-18 01:10:11 UTC
Created attachment 1459584 [details]
File: environ

Comment 5 Jannik 2018-07-18 01:10:13 UTC
Created attachment 1459585 [details]
File: mountinfo

Comment 6 Jannik 2018-07-18 01:10:14 UTC
Created attachment 1459586 [details]
File: namespaces

Comment 7 Jannik 2018-07-18 01:10:15 UTC
Created attachment 1459587 [details]
File: open_fds

Comment 8 Ben Cotton 2019-05-02 21:18:22 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. 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 '28'.

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 28 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 9 Ben Cotton 2019-05-28 21:52:31 UTC
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 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.