Bug 895777 - [abrt] alacarte-3.6.1-1.fc18: UserDict.py:23:__getitem__:KeyError: 'XDG_MENU_PREFIX'
Summary: [abrt] alacarte-3.6.1-1.fc18: UserDict.py:23:__getitem__:KeyError: 'XDG_MENU_...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: alacarte
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jasper St. Pierre
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:e2161a98c5c78faded7a220f084...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-16 01:18 UTC by duc.nguyen2305
Modified: 2014-08-27 02:58 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-03 00:37:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (3.80 KB, text/plain)
2013-01-16 01:18 UTC, duc.nguyen2305
no flags Details
File: core_backtrace (509 bytes, text/plain)
2013-01-16 01:18 UTC, duc.nguyen2305
no flags Details
File: environ (2.74 KB, text/plain)
2013-01-16 01:18 UTC, duc.nguyen2305
no flags Details

Description duc.nguyen2305 2013-01-16 01:18:20 UTC
Version-Release number of selected component:
alacarte-3.6.1-1.fc18

Additional info:
cmdline:        /usr/bin/python2.7 -OOt /usr/bin/alacarte
dso_list:       python-libs-2.7.3-13.fc18.x86_64
executable:     /usr/bin/alacarte
kernel:         3.7.2-201.fc18.x86_64
uid:            1000

Truncated backtrace:
UserDict.py:23:__getitem__:KeyError: 'XDG_MENU_PREFIX'

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/lib64/python2.7/UserDict.py", line 23, in __getitem__
    raise KeyError(key)
KeyError: 'XDG_MENU_PREFIX'

Local variables in innermost frame:
self: {'MATE_DESKTOP_SESSION_ID': 'this-is-deprecated', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'QT_IM_MODULE': 'ibus', 'LOGNAME': 'ducnm', 'USER': 'ducnm', 'GNOME_KEYRING_CONTROL': '/run/user/1000/keyring-K5VqoS', 'XDG_VTNR': '1', 'QTDIR': '/usr/lib64/qt-3.3', 'WINDOWPATH': '1', 'MATE_KEYRING_CONTROL': '/tmp/keyring-VwHmWL', 'LANG': 'en_US.UTF-8', 'QTLIB': '/usr/lib64/qt-3.3/lib', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'SSH_AGENT_PID': '1823', 'XDG_SESSION_COOKIE': '69d27b356a94476da859461d3a3bc6fd-1358298163.477376-1570917171', 'SESSION_MANAGER': 'local/unix:@/tmp/.ICE-unix/1731,unix/unix:/tmp/.ICE-unix/1731', 'QTINC': '/usr/lib64/qt-3.3/include', 'HISTSIZE': '1000', 'WINDOWID': '50331651', 'MATECORBA_SOCKETDIR': '/tmp/matecorba-ducnm', 'IMSETTINGS_INTEGRATE_DESKTOP': 'yes', 'GPG_AGENT_INFO': '/tmp/keyring-VwHmWL/gpg:0:1', 'HOME': '/home/ducnm', 'USERNAME': 'ducnm', 'IMSETTINGS_MODULE': 'IBus', 'XDG_RUNTIME_DIR': '/run/user/1000', 'GTK_IM_MODULE': 'ibus', 'SSH_AUTH_SOCK': '/tmp/keyring-VwHmWL/ssh', 'PATH': '/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/home/ducnm/.local/bin:/home/ducnm/bin', 'XMODIFIERS': '@im=ibus', 'QT_GRAPHICSSYSTEM_CHECKED': '1', 'XDG_SESSION_ID': '2', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-HSHsU8XgIr,guid=656b21e89dd363a25c666a8750f5fc34', '_': '/usr/bin/alacarte', 'XAUTHORITY': '/var/run/gdm/auth-for-ducnm-W1LpFh/database', 'GDMSESSION': 'mate', 'DESKTOP_SESSION': 'mate', 'DISPLAY': ':0.0', 'GNOME_KEYRING_PID': '1727', 'KRB5CCNAME': 'DIR:/run/user/1000/krb5cc_6041b6b8e3bd19296e44d54f50f5fc12', 'HOSTNAME': 'localhost.localdomain', 'HISTCONTROL': 'ignoredups', 'SHLVL': '2', 'PWD': '/home/ducnm', 'COLORTERM': 'mate-terminal', 'MAIL': '/var/spool/mail/ducnm', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.tbz=01;31:*.tbz2=01;31:*.bz=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:*.flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=01;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:', 'XDG_SEAT': 'seat0'}
key: 'XDG_MENU_PREFIX'

Comment 1 duc.nguyen2305 2013-01-16 01:18:25 UTC
Created attachment 679204 [details]
File: backtrace

Comment 2 duc.nguyen2305 2013-01-16 01:18:28 UTC
Created attachment 679205 [details]
File: core_backtrace

Comment 3 duc.nguyen2305 2013-01-16 01:18:31 UTC
Created attachment 679206 [details]
File: environ

Comment 4 Raj Upadhyaya 2013-02-20 04:34:44 UTC
I just installed alacarte on Fedora 18, and ran it.  I first ran it under root and then a local user with the same error.

Package: alacarte-3.6.1-1.fc18
Architecture: i686
OS Release: Fedora release 18 (Spherical Cow)

Comment 5 Jason M 2013-10-23 15:16:13 UTC
Description of problem:
alacarte:  I haven't a clue, and did not notice it crash.

This is a new (less than one month old) installation of Fedora 18 32-bit on dual Athlon MP.  While I consider it "clean" the user account I log on under has been up on Fedora/Red Hat for over ten years: I cleaned out the user caches, GNOME settings, etc., when I put Fedora 18 on it.

Version-Release number of selected component:
alacarte-3.6.1-1.fc18

Additional info:
reporter:       libreport-2.1.7
cmdline:        /usr/bin/python2.7 -OOt /bin/alacarte
dso_list:       python-libs-2.7.3-13.fc18.i686
executable:     /bin/alacarte
kernel:         3.11.4-101.fc18.i686
runlevel:       N 3
type:           Python
uid:            0

Truncated backtrace:
UserDict.py:23:__getitem__:KeyError: 'XDG_MENU_PREFIX'

Traceback (most recent call last):
  File "/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'

Local variables in innermost frame:
self: {'SSH_ASKPASS': '/usr/libexec/openssh/gnome-ssh-askpass', 'KDE_IS_PRELINKED': '1', 'LESSOPEN': '||/usr/bin/lesspipe.sh %s', 'CVS_RSH': 'ssh', 'LOGNAME': 'root', 'USER': 'root', 'QTDIR': '/usr/lib/qt-3.3', 'XDG_VTNR': '4', 'PATH': '/usr/lib/qt-3.3/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin', 'DISPLAY': ':0.0', 'QT_PLUGIN_PATH': '/usr/lib64/kde4/plugins:/usr/lib/kde4/plugins', 'LANG': 'en_US.utf8', 'QTLIB': '/usr/lib/qt-3.3/lib', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XAUTHORITY': '/root/.xauthv02UAK', 'QTINC': '/usr/lib/qt-3.3/include', 'HISTSIZE': '1000', 'CCACHE_HASHDIR': '', 'HOME': '/root', 'XDG_RUNTIME_DIR': '/run/user/1000', 'KDEDIRS': '/usr', 'QT_GRAPHICSSYSTEM_CHECKED': '1', 'XDG_SESSION_ID': '1', '_': '/bin/alacarte', 'PERL5LIB': '/usr/local/lib/perl5:/usr/local/share/perl5:/usr/lib/perl5/vendor_perl:/usr/share/perl5/vendor_perl', 'HOSTNAME': 'bert', 'HISTCONTROL': 'ignoredups', 'SHLVL': '1', 'PWD': '/root', 'MAIL': '/var/spool/mail/root', 'LS_COLORS': 'rs=0:di=38;5;27:ln=38;5;51:mh=44;38;5;15:pi=40;38;5;11:so=38;5;13:do=38;5;5:bd=48;5;232;38;5;11:cd=48;5;232;38;5;3:or=48;5;232;38;5;9:mi=05;48;5;232;38;5;15:su=48;5;196;38;5;15:sg=48;5;11;38;5;16:ca=48;5;196;38;5;226:tw=48;5;10;38;5;16:ow=48;5;10;38;5;21:st=48;5;21;38;5;15:ex=38;5;34:*.tar=38;5;9:*.tgz=38;5;9:*.arj=38;5;9:*.taz=38;5;9:*.lzh=38;5;9:*.lzma=38;5;9:*.tlz=38;5;9:*.txz=38;5;9:*.zip=38;5;9:*.z=38;5;9:*.Z=38;5;9:*.dz=38;5;9:*.gz=38;5;9:*.lz=38;5;9:*.xz=38;5;9:*.bz2=38;5;9:*.tbz=38;5;9:*.tbz2=38;5;9:*.bz=38;5;9:*.tz=38;5;9:*.deb=38;5;9:*.rpm=38;5;9:*.jar=38;5;9:*.war=38;5;9:*.ear=38;5;9:*.sar=38;5;9:*.rar=38;5;9:*.ace=38;5;9:*.zoo=38;5;9:*.cpio=38;5;9:*.7z=38;5;9:*.rz=38;5;9:*.jpg=38;5;13:*.jpeg=38;5;13:*.gif=38;5;13:*.bmp=38;5;13:*.pbm=38;5;13:*.pgm=38;5;13:*.ppm=38;5;13:*.tga=38;5;13:*.xbm=38;5;13:*.xpm=38;5;13:*.tif=38;5;13:*.tiff=38;5;13:*.png=38;5;13:*.svg=38;5;13:*.svgz=38;5;13:*.mng=38;5;13:*.pcx=38;5;13:*.mov=38;5;13:*.mpg=38;5;13:*.mpeg=38;5;13:*.m2v=38;5;13:*.mkv=38;5;13:*.ogm=38;5;13:*.mp4=38;5;13:*.m4v=38;5;13:*.mp4v=38;5;13:*.vob=38;5;13:*.qt=38;5;13:*.nuv=38;5;13:*.wmv=38;5;13:*.asf=38;5;13:*.rm=38;5;13:*.rmvb=38;5;13:*.flc=38;5;13:*.avi=38;5;13:*.fli=38;5;13:*.flv=38;5;13:*.gl=38;5;13:*.dl=38;5;13:*.xcf=38;5;13:*.xwd=38;5;13:*.yuv=38;5;13:*.cgm=38;5;13:*.emf=38;5;13:*.axv=38;5;13:*.anx=38;5;13:*.ogv=38;5;13:*.ogx=38;5;13:*.aac=38;5;45:*.au=38;5;45:*.flac=38;5;45:*.mid=38;5;45:*.midi=38;5;45:*.mka=38;5;45:*.mp3=38;5;45:*.mpc=38;5;45:*.ogg=38;5;45:*.ra=38;5;45:*.wav=38;5;45:*.axa=38;5;45:*.oga=38;5;45:*.spx=38;5;45:*.xspf=38;5;45:', 'XDG_SEAT': 'seat0'}
key: 'XDG_MENU_PREFIX'


Note You need to log in before you can comment on or make changes to this bug.