Bug 891714 - [abrt] alacarte-3.6.1-1.fc18: subprocess.py:1249:_execute_child:OSError: [Errno 2] No such file or directory
Summary: [abrt] alacarte-3.6.1-1.fc18: subprocess.py:1249:_execute_child:OSError: [Err...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: alacarte
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jasper St. Pierre
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:487c5150d2d3558531bb2406ad5...
: 906810 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-03 19:09 UTC by Michal Toman
Modified: 2015-03-23 00:41 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-03 00:37:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (1.64 KB, text/plain)
2013-01-03 19:09 UTC, Michal Toman
no flags Details

Description Michal Toman 2013-01-03 19:09:15 UTC
Description of problem:
After installing F18 with Cinnamon, I've wanted to edit main menu. Alacarte is not installed by default (is there a reason for this?). Even after installing it, Alacarte tries to run 'gnome-desktop-item-edit', which fails because of missing gnome-panel.

Expected results:
alacarte package should depend on gnome-panel

Version-Release number of selected component:
alacarte-3.6.1-1.fc18

Additional info:
cmdline:        /usr/bin/python2.7 -OOt /usr/bin/alacarte
dso_list:       python-libs-2.7.3-13.fc18.x86_64
executable:     /usr/bin/alacarte
kernel:         3.6.10-4.fc18.x86_64
uid:            1000

Truncated backtrace:
subprocess.py:1249:_execute_child:OSError: [Errno 2] Adresár alebo súbor neexistuje

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 326, in on_edit_properties_activate
    process = subprocess.Popen(['gnome-desktop-item-edit', file_path], env=os.environ)
  File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1249, in _execute_child
    raise child_exception
OSError: [Errno 2] Adresár alebo súbor neexistuje

Local variables in innermost frame:
errread: None
c2pread: None
gc_was_enabled: True
errwrite: None
shell: False
errpipe_write: 13
executable: 'gnome-desktop-item-edit'
close_fds: False
self: <subprocess.Popen object at 0x2f52b90>
cwd: None
child_exception: OSError(2, 'Adres\xc3\xa1r alebo s\xc3\xbabor neexistuje')
args: ['gnome-desktop-item-edit', '/home/mtoman/.local/share/applications/google-chrome.desktop']
fd: None
c2pwrite: None
data: 'cexceptions\nOSError\np0\n(I2\nS\'Adres\\xc3\\xa1r alebo s\\xc3\\xbabor neexistuje\'\np1\ntp2\nRp3\n(dp4\nS\'child_traceback\'\np5\nS\'Traceback (most recent call last):\\n  File "/usr/lib64/python2.7/subprocess.py", line 1203, in _execute_child\\n    os.execvpe(executable, args, env)\\n  File "/usr/lib64/python2.7/os.py", line 353, in execvpe\\n    _execvpe(file, args, env)\\n  File "/usr/lib64/python2.7/os.py", line 380, in _execvpe\\n    func(fullname, *argrest)\\nOSError: [Errno 2] Adres\\xc3\\xa1r alebo s\\xc3\\xbabor neexistuje\\n\'\np6\nsb.'
creationflags: 0
errpipe_read: 12
preexec_fn: None
p2cread: None
startupinfo: None
p2cwrite: None
universal_newlines: False

Comment 1 Michal Toman 2013-01-03 19:09:19 UTC
Created attachment 672157 [details]
File: backtrace

Comment 2 Bob Goodwin 2013-03-14 20:35:05 UTC
I am running Fedora 18 64 bit XFCE on three computers and had to yum install  gnome-panel.x86_64 0:3.6.2-2.fc18 after which it appears to work with some GTK Warnings.

Comment 3 Peter Williams 2013-07-24 06:19:11 UTC
This problem is also present in Fedora 19 and effects cinnamon-menu-editor as well as alacarte.  I've been unable to locate a package in that contains this file.  I tried installing the gnome-panel package from Fedora-18 (which contains the file) but yum refused saying that it was obsoleted by gnome-classic-session.  A check of the files in gnome-classic-session failed to find the file.

Comment 4 Peter Williams 2013-07-26 05:18:41 UTC
I've created a repository called <https://github.com/pwil3058/cdie> at GitHub that consists of source files extracted from a gnome-panel-3.6.2 source rpm and a hand generated Makefile (that works on my Fedora 19 (64) system).  It sucessfully builds an executable called cinnamon-desktop-item-edit which if renamed gnome-desktop-item-edit and placed somewhere in your PATH restores cinnamon-menu-editor's functionality.

This is just a quick workaraound NOT a final solution but may be useful until something more permanent is available.

Now that I have a working version (and MY itch is scratched) I will start stripping the code to remove bits that are not required to work towards something more permanent.

Comment 5 Jasper St. Pierre 2013-12-03 00:38:32 UTC
*** Bug 906810 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.