menu editor dont start.

Bug #144538 reported by kjellhei
432
This bug affects 41 people
Affects Status Importance Assigned to Milestone
alacarte (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: alacarte

the menu editor only starts if ROOT.

ProblemType: Crash
Architecture: i386
Date: Mon Sep 24 21:15:54 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/alacarte
InterpreterPath: /usr/bin/python2.5
Package: alacarte 0.11.3-1ubuntu1
PackageArchitecture: all
ProcCmdline: /usr/bin/python -OOt /usr/bin/alacarte
ProcCwd: /home/kjell
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/alacarte']
SourcePackage: alacarte
Title: alacarte crashed with IOError in save()
Uname: Linux kjell-hp510 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Tags: apport-crash
Revision history for this message
kjellhei (kjellhei) wrote :
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, what's the output of "ls -las /home/kjell/.config/menus/applications.menu" ; it seems that you modified the file as a root and now you don't have permissions to edit it.

Changed in alacarte:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

We are closing this bug report as it lacks the information, described in the previous comments, we need to investigate the problem further. However, please reopen it if you can give us the missing information and don't hesitate to submit bug reports in the future.

Changed in alacarte:
status: Incomplete → Invalid
Revision history for this message
Valto Wirkola (valto-wirkola-deactivatedaccount-deactivatedaccount) wrote :

Unfortunately, I don't actually know what happened. It still happens always when I try to open the menu editor (alacarte?) and I think it have something to do with gnome-setting-daemon package's routine crash always at start-up.

Revision history for this message
McDope (tobiasbaeumer) wrote :

I fixed it for me - the access rights wasn't right.
i corrected the problem for me by setting the rights of "menus" and everything in it to 0755

Revision history for this message
Kamil Z (kamil-zielinski) wrote :

Please repair that. I don't know how i can add to menu something. I have problem with install xmms :( help, but new version repair my Xorg i can to bash :D

Revision history for this message
Boredom inc. (boredom-inc) wrote :

Yeah it is some kind of permission error. Running as sudo allows modification of menus. Not sure why the permissions were/are set like that.

Revision history for this message
Milos (mrajsic) wrote :

Same problem for me to. It sems that premissions has been changed to root during/after the upgrade from 7.10 to 8.04

Revision history for this message
PaulReiber (paulreiber) wrote :

I didn't do anything manually to any files as root; this occurred all on its own either from the 0.04 install or from the 9.04->9.10 upgrade.

The previous comments are very old so they make me wonder if its the same bug... but it's definitely the same symptom; just trying to edit my menus and the main menu editor crashes.

Revision history for this message
Eduard Carcole (ecarcole) wrote :

I did a fresh install of Ubuntu 9.10 amd64 and I have the same problem.

I provide the following outputs:

When I execute alacarte from terminal I get:

eduard@ecc:~/Desktop$ alacarte
Traceback (most recent call last):
  File "/usr/bin/alacarte", line 36, in <module>
    main()
  File "/usr/bin/alacarte", line 32, in main
    app = MainWindow(datadir, version, sys.argv)
  File "/usr/lib/pymodules/python2.6/Alacarte/MainWindow.py", line 48, in __init__
    self.editor = MenuEditor()
  File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 63, in __loadMenus
    self.save(True)
  File "/usr/lib/pymodules/python2.6/Alacarte/MenuEditor.py", line 67, in save
    fd = open(getattr(self, menu).path, 'w')
IOError: [Errno 13] Permission denied: '/home/eduard/.config/menus/applications.menu'

Of course I can execute it using sudo.

Then, because the permission is denied to /home/eduard/.config/menus/applications.menu I tried to list it:

eduard@ecc:~/Desktop$ ls /home/eduard/.config/menus/applications.menu
ls: cannot access /home/eduard/.config/menus/applications.menu: Permission denied

eduard@ecc:~/Desktop$ sudo ls /home/eduard/.config/menus/applications.menu
/home/eduard/.config/menus/applications.menu

So the problem might be the permisions on the file /home/eduard/.config/menus/applications.menu

Since the missing information is now provided, may be this bug could be reopened.

Changed in alacarte (Ubuntu):
assignee: Ubuntu Desktop Bugs (desktop-bugs) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.