ubuntustudio-menu 0.5 main menu shows only Places and System other entries of the menu are not available

Bug #147603 reported by murmelhunter
4
Affects Status Importance Assigned to Milestone
ubuntustudio-menu (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: ubuntustudio-menu

Hi all,

using Gutsy 7.10 Ubuntustudio since 4 days.(Upgrade from Ubuntustudio 7.04 to 7.10)

Yesterday I installed the update ubuntustudio-menu 0.5 and noticed that the main menu shows now only 2 entries: Places and System.
All other entries Applications, Internet, etc of the menu are currently not available and can not be added with the Main Menu Editor.

Issue was not present with version 0.4, the main menu has been working fine.

Bug was reported yesterday under Bug#147324 found today the info how to report errors regarding Ubuntustudio menu.

Applications still work by launching them via terminal

The Bug seem to be linked at the setup process of the installer of ubuntustudio-menu 0.5 to build a correct main menu for the Gnome Desktop environment.

Revision history for this message
murmelhunter (d-drehlich) wrote :

If you need further details to verify the reported issue please notify me.

Revision history for this message
Tom Badran (tom-badran) wrote :

I can confirm this. It also stays that way on uninstall of the pacakge.

Changed in ubuntustudio-menu:
status: New → Confirmed
Revision history for this message
murmelhunter (d-drehlich) wrote :

Reinstallation of ubuntustudio-menu 0.5, ubuntustudio-desktop and alacarte have not resolved the issue.

Alacarte is currently not starting up as well anymore.

Starting alacarte at the terminal (with self created launcher) gives following output:

/usr/lib/python2.5/site-packages/apt/progress.py: inconsistent use of tabs and spaces in indentation
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/python2.5/site-packages/Alacarte/MainWindow.py", line 49, in __init__
    self.editor = MenuEditor()
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
    self.__loadMenus()
  File "/usr/lib/python2.5/site-packages/Alacarte/MenuEditor.py", line 44, in __loadMenus
    self.applications.dom = xml.dom.minidom.parseString(util.getUserMenuXml(self.applications.tree))
  File "/usr/lib/python2.5/site-packages/Alacarte/util.py", line 197, in getUserMenuXml
    name = tree.root.get_menu_id()
AttributeError: 'NoneType' object has no attribute 'get_menu_id'

Revision history for this message
murmelhunter (d-drehlich) wrote :

I only can guess that something is wrong with the file util.py

current configuration is the following at Line 197:

def getUserMenuXml(tree):
 system_file = getSystemMenuPath(tree.get_menu_file())
 name = tree.root.get_menu_id()

I hope the information is useful to find a solution

Revision history for this message
murmelhunter (d-drehlich) wrote :

I found a solution which worked for me and I hope it will help others too.

The issue seems to be linked to old configuration files of Feisty the programs involved are alacarte and ubuntustudio 0.5

1. open the terminal during a Gnome session
 ( you can create if needed a new launcher at the upper taskbar settings are:
Type: Aplication
Name: Terminal
command: gnome-terminal9

2. Enter following code:

sudo apt-get remove --purge alacarte* ubuntustudio-menu* && sudo apt-get autoremove && sudo apt-get clean

hit enter and confirm the question with Y

3. Update your Database now

Code:

sudo updatedb

4. search for remainig files

Code:
locate alacarte

5.remove all files alcarte

Code:

sudo rm -R /path/alacarte

and for single files

sudo rm /path/alacarte

Update your Database now and search just to be sure for alacarte again if there are files delete them

6. Do the same for ubuntustudio-menu

Code:

locate ubuntustudio-menu

7. remove all file of ubuntustudio-menu

code:

Code:

sudo rm -R /path/ubuntustudio-menu

and for single files

sudo rm /path/ubuntustudio-menu

Update your Database now and search just to be sure for ubuntustudio-menu again if there are files delete them

8. Now go to home folder and enable the view for hidden files (ctrl +h)
 Look for folder named: .config, open this folder and open the folder menu

I have deleted here everything except the folder called: applications-merged ( think this one is too important)

9. Install now Alacarte via Synaptic ( Synaptic launcher can be found at following location:
/usr/share/applications)

10. Reboot your System and the Menu should be normally fine again.

11. Install now again ubuntustudio-menu 0.5 again and everything is will be normally fine.

Resume:

Old configuration files of Feisty can cause a lot of trouble while testing Gutsy.
This Guide is also very useful for all other which having currently trouble with Comiz and Compiz Fusion. The files in question here are Comiz, Beryl & Emerald (just replace the file name which is mentioned at the code) especially the hidden config files of Comiz.(same location as desribed at topic 8).

Result: Smooth and stable Desktop with all features and a complete menu.

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.