Version-Release number of selected component: openbox-3.6.1-10.fc29 Additional info: reporter: libreport-2.9.5 cmdline: /usr/bin/python3 /usr/libexec/openbox-xdg-menu applications crash_function: sort exception_type: AttributeError executable: /usr/libexec/openbox-xdg-menu interpreter: python3-3.7.0-9.fc29.x86_64 kernel: 4.18.5-300.fc29.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: Menu.py:301:sort:AttributeError: 'DesktopEntry' object has no attribute 'OnlyShowIn' Traceback (most recent call last): File "/usr/libexec/openbox-xdg-menu", line 103, in <module> menu = xdg.Menu.parse(menufile) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 1128, in parse return XMLMenuBuilder(debug).parse(filename) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 644, in parse menu.sort() File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 232, in sort submenu.sort() File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 301, in sort if (entry.DesktopEntry.OnlyShowIn != [] and ( AttributeError: 'DesktopEntry' object has no attribute 'OnlyShowIn' Local variables in innermost frame: self: <xdg.Menu.Menu object at 0x7ff74a143d68> _submenus: set() _entries: set() order: ['Merge', 'files'] menuentry: xfburn.desktop entry: xfce4-about.desktop
Created attachment 1480386 [details] File: backtrace
Created attachment 1480387 [details] File: cgroup
Created attachment 1480388 [details] File: cpuinfo
Created attachment 1480389 [details] File: environ
Created attachment 1480390 [details] File: mountinfo
Created attachment 1480391 [details] File: namespaces
Created attachment 1480392 [details] File: open_fds
From the backtrace it looks like it might be a pyxdg issue.
*** Bug 1634269 has been marked as a duplicate of this bug. ***
Downgrading to python3-pyxdg-0.25-16.fc29.noarch resolves this problem for me.
I have the same problem in Fedora 29 XFCE + openbox: # /usr/libexec/openbox-xdg-menu /etc/xdg/openbox/terminals Traceback (most recent call last): File "/usr/libexec/openbox-xdg-menu", line 103, in <module> menu = xdg.Menu.parse(menufile) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 1128, in parse return XMLMenuBuilder(debug).parse(filename) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 644, in parse menu.sort() File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 301, in sort if (entry.DesktopEntry.OnlyShowIn != [] and ( AttributeError: 'DesktopEntry' object has no attribute 'OnlyShowIn'
Ack, downgrade to python3-pyxdg-0.25-16.fc29.noarch resolves the issue: # /usr/libexec/openbox-xdg-menu /etc/xdg/openbox/terminals <?xml version="1.0" encoding="UTF-8"?> <openbox_pipe_menu> <item label="Xfce Terminal" icon="/usr/share/icons/gnome/22x22/apps/utilities-terminal.png"> <action name="Execute"><command>xfce4-terminal</command></action> </item> </openbox_pipe_menu>
pyxdg-0.26-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-e3ab92c68d
*** Bug 1644945 has been marked as a duplicate of this bug. ***
*** Bug 1624654 has been marked as a duplicate of this bug. ***
python3-pyxdg-0.26-2.fc29.noarch.rpm fixes the problem for me. Direct link: https://kojipkgs.fedoraproject.org//packages/pyxdg/0.26/2.fc29/noarch/python3-pyxdg-0.26-2.fc29.noarch.rpm
pyxdg-0.26-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-e3ab92c68d
pyxdg-0.26-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.