FS#37221 - [alacarte] It 'impossible to edit entries

Attached to Project: Arch Linux
Opened by Fabio (regulus) - Monday, 07 October 2013, 14:15 GMT
Last edited by Jan de Groot (JGC) - Monday, 14 April 2014, 19:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description: It 'impossible to edit entries

(alacarte:2883): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:2883): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
File "/usr/lib/python3.3/site-packages/Alacarte/ItemEditor.py", line 164, in on_response
self.save()
File "/usr/lib/python3.3/site-packages/Alacarte/ItemEditor.py", line 154, in save
util.fillKeyFile(self.keyfile, self.get_keyfile_edits())
File "/usr/lib/python3.3/site-packages/Alacarte/util.py", line 37, in fillKeyFile
elif isinstance(item, basestring):
NameError: global name 'basestring' is not defined


Additional info:
* package version: 3.10.0-2



Steps to reproduce: Try to edit an entry, an icon for example
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 14 April 2014, 19:20 GMT
Reason for closing:  Works for me
Comment by Steve Zalek (taotedice) - Tuesday, 08 October 2013, 13:05 GMT
Experiencing same: the menu editor may be opened, and a menu entry may be opened for editing. The values of the menu entry may be changed, including the icon, but there is no way to SAVE the change as the 'OK' button does not function. Clicking on the 'Cancel' button closes the editor, and all changes are lost.
Comment by Ricardo Vizcaya (RicardoVizcaya) - Thursday, 10 October 2013, 05:25 GMT
I can also confirm this behaviour. I can make entries visible or invisible and open and change the menu entries, only saving is not possible as the OK is irresponsive.
Comment by Fabio (regulus) - Thursday, 10 October 2013, 08:36 GMT
Yes! The problem is OK button.
Comment by Gabriel Simões (biel.carioca) - Monday, 14 October 2013, 23:19 GMT
Same here, was happening on last install of arch, and I fresh installed and it is happening again...
Comment by Sandra McMullen (MidnightDemon) - Wednesday, 13 November 2013, 18:01 GMT
(alacarte:4545): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed

(alacarte:4545): Gtk-CRITICAL **: gtk_accel_label_set_accel_closure: assertion 'gtk_accel_group_from_accel_closure (accel_closure) != NULL' failed
Traceback (most recent call last):
File "/usr/bin/alacarte", line 24, in <module>
main()
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 454, in main
app.setMenuBasename(basename)
File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 65, in setMenuBasename
self.editor = MenuEditor(menu_basename)
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 36, in __init__
self.load()
File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 49, in load
if not self.tree.load_sync():
gi._glib.GError: Failed to look up menu_file for "applications.menu"

Cannot save - v3.10.0-3
Comment by Jan de Groot (JGC) - Monday, 14 April 2014, 19:19 GMT
This is because there's no applications.menu anymore. From this git commit:
https://git.gnome.org/browse/alacarte/commit/Alacarte/MenuEditor.py?id=e65fd3456817e9f7735a52941c5d6b787a1d030d

If XDG_MENU_PREFIX is not set by your system, you'll have to specify it as option to alacarte. GNOME itself exports this prefix correctly.

Loading...