FS#32313 - [alacarte] fails to run if XDG_MENU_PREFIX is not defined
Attached to Project:
Arch Linux
Opened by Balló György (City-busz) - Wednesday, 31 October 2012, 06:07 GMT
Last edited by Ionut Biru (wonder) - Saturday, 03 November 2012, 13:00 GMT
Opened by Balló György (City-busz) - Wednesday, 31 October 2012, 06:07 GMT
Last edited by Ionut Biru (wonder) - Saturday, 03 November 2012, 13:00 GMT
|
Details
Description:
Alacarte fails to run if XDG_MENU_PREFIX environment variable is not defined. It seems that it is already fixed by upstream: http://git.gnome.org/browse/alacarte/commit/?id=fe7211f2eb4c8bcf7cbddca75bf4e28ee7b98659 Please apply the patch. Additional info: * package version(s) alacarte 3.6.1-1 * config and/or log files etc. Traceback (most recent call last): File "/usr/bin/alacarte", line 22, in <module> from Alacarte.MainWindow import MainWindow File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 31, in <module> from Alacarte.MenuEditor import MenuEditor File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 25, in <module> class MenuEditor(object): File "/usr/lib/python2.7/site-packages/Alacarte/MenuEditor.py", line 26, in MenuEditor def __init__(self, name=os.environ['XDG_MENU_PREFIX'] + 'applications.menu'): File "/usr/lib/python2.7/UserDict.py", line 23, in __getitem__ raise KeyError(key) KeyError: 'XDG_MENU_PREFIX' Steps to reproduce: * Run alacarte. |
This task depends upon
FS#32386also.