You are not logged in.
Pages: 1
hi. system is up to date.
python version:
[chris: ~]$ python -V
Python 2.6.2
when i run alacarte, it starts fine.
when i try to view the properties of any item or do pretty much anything, it does nothing and i get this error:
[chris: ~]$ alacarte
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/Alacarte/MainWindow.py", line 375, in on_edit_properties_activate
process = subprocess.Popen(['gnome-desktop-item-edit', file_path], env=os.environ)
File "/usr/lib/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
[chris: ~]$
does anyone have any suggestions?
Offline
[chris: ~]$ which python
/usr/bin/python
Offline
bump
Offline
Do you have a gnome-desktop-item-edit command on your system?
Edit: should be provided by gnome-panel
Last edited by Mr.Elendig (2009-09-17 18:15:51)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Offline
Reinstalling python will achive nothing in this case.
subprocess.Popen is returning "file not found" because it can't find the command given.
example:
>>> subprocess.Popen(['ls'])
<subprocess.Popen object at 0x1ba7c10>
>>>
>>> subprocess.Popen(['thiscommanddontexist'])
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/usr/lib/python2.6/subprocess.py", line 595, in __init__
errread, errwrite)
File "/usr/lib/python2.6/subprocess.py", line 1092, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
Last edited by Mr.Elendig (2009-09-17 18:27:23)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Do you have a gnome-desktop-item-edit command on your system?
Edit: should be provided by gnome-panel
i don't have gnome-panel installed. gnome-panel and lxpanel are both freedesktop.org compliant, alacarte works with it... well, it did for a while. im not sure what i did to break it. neither python nor alacarte have been updated by -Syu lately.
updated system again, and reinstalled python:
...
warning: python-2.6.2-5 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): python-2.6.2-5
Total Download Size: 15.24 MB
Total Installed Size: 63.03 MB
Proceed with installation? [Y/n] y
...
did same with alacarte:
...
warning: alacarte-0.12.1-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...
Targets (1): alacarte-0.12.1-1
Total Download Size: 0.12 MB
Total Installed Size: 1.34 MB
Proceed with installation? [Y/n] y
...
problem remains.
Offline
You need to install gnome-panel. Alacarte is trying to execute the command "gnome-desktop-item-edit" in a shell, and it is throwing the exception because it cannot find "gnome-desktop-item-edit".
Offline
Awesome, ty. I was actually going to try to figure out what dependency was missing myself at some point, as it worked when I had the gnome and gnome-extra groups installed, but not when I removed most of it for E17.
Perhaps a missing dependency bug should be filed? If nobody else is going to, I will .
EDIT: I posted a bug report.
http://bugs.archlinux.org/task/16251
Last edited by FrozenFox (2009-09-18 21:51:28)
Offline
thanks! adding gnome-panel worked.
alacarte worked as well as it did before: i can use it to add menu items, but not remove them.
edit: i was gong to complain about the 12mb long list of dependencies that pacman brought with gnome-panel... but then i just checked on my ubuntu computer, and they have 47mb of stuff.
so, i will count my blessings, be grateful to the folks that make Arch happen, and wait for LXDE to release its own optional GUI menu editor
and, if LXDE follows its own pattern of small/smart/modular/standards-compliant, the LXDE menu editor will probably serve as a drop-in replacement for both xfce and gnome...
Last edited by earthpig (2009-09-18 20:33:14)
Offline
Pages: 1