Bug 1144843

Summary: [abrt] mozo: MenuEditor.py:575:__writeItem:IOError: [Errno 13] Permission denied: '/home/n0oir/.local/share/applications/zoo.desktop'
Product: [Fedora] Fedora Reporter: Carlos Morel-Riquelme <morel.riquelme>
Component: mozoAssignee: Wolfgang Ulbrich <raveit65.sun>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: dan.mashal, raveit65.sun
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2bd394aaddb80b8f335238774bcec8170c09dbc1
Whiteboard: abrt_hash:0138c4b5e9a39231fd485739bbd667c4c35f0b72
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-27 18:12:18 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 Carlos Morel-Riquelme 2014-09-21 13:08:36 UTC
Version-Release number of selected component:
mozo-1.8.0-2.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python2.7 -OOt /usr/bin/mozo
executable:     /usr/bin/mozo
kernel:         3.16.2-301.fc21.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
MenuEditor.py:575:__writeItem:IOError: [Errno 13] Permission denied: '/home/n0oir/.local/share/applications/zoo.desktop'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Mozo/MainWindow.py", line 333, in on_edit_delete_activate
    self.editor.deleteItem(item)
  File "/usr/lib/python2.7/site-packages/Mozo/MenuEditor.py", line 351, in deleteItem
    self.__writeItem(item, hidden=True)
  File "/usr/lib/python2.7/site-packages/Mozo/MenuEditor.py", line 575, in __writeItem
    keyfile.write(open(out_path, 'w'))
IOError: [Errno 13] Permission denied: '/home/n0oir/.local/share/applications/zoo.desktop'

Local variables in innermost frame:
no_display: None
comment: None
name: None
out_path: '/home/n0oir/.local/share/applications/zoo.desktop'
self: <Mozo.MenuEditor.MenuEditor instance at 0x7f4044d88098>
item: <matemenu.Entry object at 0x7f4045ca0e70>
use_term: None
startup_notify: None
command: None
file_id: 'zoo.desktop'
hidden: True
keyfile: <Mozo.util.DesktopParser instance at 0x7f40405d4758>
file_path: '/home/n0oir/.local/share/applications/zoo.desktop'
icon: None

Comment 1 Carlos Morel-Riquelme 2014-09-21 13:08:39 UTC
Created attachment 939760 [details]
File: backtrace

Comment 2 Carlos Morel-Riquelme 2014-09-21 13:08:40 UTC
Created attachment 939761 [details]
File: environ

Comment 3 Wolfgang Ulbrich 2014-09-27 16:38:18 UTC
Did you check permissions of /home/n0oir/.local/share/applications/zoo.desktop  ?
Is this from a fedora package?

Comment 4 Carlos Morel-Riquelme 2014-09-27 16:46:28 UTC
(In reply to Wolfgang Ulbrich from comment #3)
> Did you check permissions of
> /home/n0oir/.local/share/applications/zoo.desktop  ?
> Is this from a fedora package?

sorry wolfgang the problem is in the permission, but i solved this 

excuse me :)

Comment 5 Wolfgang Ulbrich 2014-09-27 18:12:18 UTC
np, i'm very happy that it isn't a bug. :)