Bug#676566: alacarte broken

Iain Lane laney at debian.org
Mon Jun 11 15:45:06 UTC 2012


reassign 676566 src:gnome-menus
severity 676566 serious
affects 676566 + alacarte
forwarded 676566 https://bugzilla.gnome.org/show_bug.cgi?id=677344
thanks

Hi there,

On Thu, Jun 07, 2012 at 10:03:33PM +0200, Domenico Cufalo wrote:
> Package: alacarte
> Version: 0.13.4-2
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> After upgrade to v. 0.13.4-2, alacarte crashes with the following error
> 
> Traceback (most recent call last):
>   File "/usr/bin/alacarte", line 37, in <module>
>     main()
>   File "/usr/bin/alacarte", line 34, in main
>     app.run()
>   File "/usr/share/alacarte/Alacarte/MainWindow.py", line 65, in run
>     self.loadMenus()
>   File "/usr/share/alacarte/Alacarte/MainWindow.py", line 204, in loadMenus
>     self.on_menu_tree_cursor_changed(menu_tree)
>   File "/usr/share/alacarte/Alacarte/MainWindow.py", line 355, in
> on_menu_tree_cursor_changed
>     self.loadItems(self.menu_store[menu_path][2], menu_path)
>   File "/usr/share/alacarte/Alacarte/MainWindow.py", line 218, in loadItems
>     for item, show in self.editor.getItems(menu):
>   File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 147, in getItems
>     item = item_iter.get_separator()
> AttributeError: 'TreeIter' object has no attribute 'get_separator'

Indeed. I see this when I add a separator to my menu; you can work
around this by getting rid of yours.

This is due to missing API in gnome-menus, although I'm not sure how
this code got written since AFAICS the API was never there.

We could take the patch from the bug, which works for me (after another
patch[0] to alacarte…). Or wait for it to be taken by upstream. I'll do
what others in the team think is best here. :-)

Thanks,

-- 
Iain Lane                                  [ iain at orangesquash.org.uk ]
Debian Developer                                   [ laney at debian.org ]
Ubuntu Developer                                   [ laney at ubuntu.com ]
PhD student                                       [ ial at cs.nott.ac.uk ]

[0] https://bugzilla.gnome.org/show_bug.cgi?id=677343#c6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120611/44eb1e0e/attachment-0001.pgp>


More information about the pkg-gnome-maintainers mailing list