Bug 1293313

Summary: [abrt] yumex-dnf: dialogs.py:185:handle_setting:FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/marco/.config/autostart/yumex-dnf.desktop'
Product: [Fedora] Fedora Reporter: Woi <woiling>
Component: yumex-dnfAssignee: Tim Lauridsen <tim.lauridsen>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: tim.lauridsen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/02733abb900272cf656a010ae2cde15f773f6b7f
Whiteboard: abrt_hash:00affe7d01f3489d513d55f927ccfa76d0fd727e;
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-09 10:50:47 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 Woi 2015-12-21 12:04:22 UTC
Description of problem:
start yumex-dnf
switch "Start status icon at user login" to on
stop yumex-dnf
rm ~/.config/autostart/yumex-dnf.desktop
start yumex-dnf
switch "Start status icon at user login" to off 
switch "Start status icon at user login" to on

Problem occures either at the last or the second last step. Autostart entry is recreated anyway.

Version-Release number of selected component:
yumex-dnf-4.1.5-1.fc22

Additional info:
reporter:       libreport-2.6.3
cmdline:        /usr/bin/python3 /usr/bin/yumex-dnf
executable:     /usr/bin/yumex-dnf
kernel:         4.2.7-200.fc22.x86_64
runlevel:       N 5
type:           Python3
uid:            1000

Truncated backtrace:
dialogs.py:185:handle_setting:FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/marco/.config/autostart/yumex-dnf.desktop'

Traceback (most recent call last):
  File "/usr/lib/python3.4/site-packages/yumex/__init__.py", line 981, in on_pref
    need_reset = self.preferences.run()
  File "/usr/lib/python3.4/site-packages/yumex/gui/dialogs.py", line 74, in run
    need_reset = self.set_settings()
  File "/usr/lib/python3.4/site-packages/yumex/gui/dialogs.py", line 139, in set_settings
    self.handle_setting(option, state)
  File "/usr/lib/python3.4/site-packages/yumex/gui/dialogs.py", line 185, in handle_setting
    "/.config/autostart/yumex-dnf.desktop")
FileNotFoundError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/home/marco/.config/autostart/yumex-dnf.desktop'

Local variables in innermost frame:
self: <yumex.gui.dialogs.Preferences object at 0x7fb769417f28>
state: False
option: 'autostart'

Comment 1 Woi 2015-12-21 12:04:27 UTC
Created attachment 1108276 [details]
File: backtrace

Comment 2 Woi 2015-12-21 12:04:28 UTC
Created attachment 1108277 [details]
File: environ

Comment 3 Tim Lauridsen 2016-05-09 10:50:47 UTC
fixed in current dev release 4.3.x