Alacarte won't add separators.

Asked by Tobias Brodel

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:
Last query:
Last reply:
Revision history for this message
Miha Gašperšič (miha.gaspersic) said :
#1

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

Revision history for this message
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?

Revision history for this message
Miha Gašperšič (miha.gaspersic) said :
#3

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

Revision history for this message
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.

Revision history for this message
Best Miha Gašperšič (miha.gaspersic) said :
#5

Ok Toby report bug and please mark thread as solved.

Regards,
Miha

Revision history for this message
Tobias Brodel (toby-jamesjoy) said :
#6

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

Revision history for this message
Michele (michele-arace) said :
#7

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

Miky

Revision history for this message
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

Revision history for this message
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