Alacarte won't add separators.

Asked by Tobias Brodel on 2012-06-08

Hi, I'm using ubuntu 12.04 and I've installed the ubuntu studio desktop, audio and audio-plugins metapackages.

When attempting to alter the applications menu in xfce4.8 with alacarte the program doesn't allow me to add separators.

Here's the terminal output of one such attempt:

Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 330, in on_new_separator_button_clicked
    self.editor.createSeparator(parent, after=after)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 237, in createSeparator
    self.__positionItem(parent, ('Separator',), before, after)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 661, in __positionItem
    current = parent.contents.index(item)
ValueError: ('Separator',) is not in list

Thanks in advance for your time and help.
Toby

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu alacarte Edit question
Assignee:
No assignee Edit question
Solved by:
Miha Gašperšič
Solved:
2012-06-08
Last query:
2012-06-08
Last reply:
2012-06-08

Hi Tobias,

you have found bug in application Alacarte. I will report it that devs should fix this issue. Try running system updates in next days to check if update will be avalible.

If this helps you solve your question, please mark this thread as solved.

Regards,
Miha

Tobias Brodel (toby-jamesjoy) said : #2

Thanks for your reply Miha, but i'm not sure I understand you fully. Are you saying I should report a bug for this issue, or that you will report this to the devs or both?

Hi Tobias,

don't worry I will report it, but if you want and know how to do it, you can report it for yourself. Your choose.

Regards,
Miha

Tobias Brodel (toby-jamesjoy) said : #4

Thanks Miha, I've done it before and it'd be good for me to do it again, so I'll do it. Thanks for your help and quick replies.

Toby.

Ok Toby report bug and please mark thread as solved.

Regards,
Miha

Tobias Brodel (toby-jamesjoy) said : #6

Thanks Miha Gašperšič, that solved my question.

Michele (michele-arace) said : #7

Hello,
but what is the solution for this bug??
Thankyou

Miky

Michele (michele-arace) said : #8

there is olso another problem..
If I go to menu setting and I try to add other item like "debian" or "science" or "other" it doesn't work!
How can we solve this bug!!
Bye

Miky

Michele (michele-arace) said : #9

Hi
the problem: "If I go to menu setting and I try to add other item like "debian" or "science" or "other" it doesn't work!"
Solved UPdating Ubuntu 12.04

The problem of separator remains
 Bye for now
Miky