Bug 1654857
| Summary: | [abrt] openbox: post_parse(): Menu.py:997:post_parse:AttributeError: 'MenuEntry' object has no attribute 'Type' | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Isaque Galdino <igaldino> | ||||||||||||||||
| Component: | pyxdg | Assignee: | Tom "spot" Callaway <tcallawa> | ||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 29 | CC: | christoph.wickert, igaldino, mlichvar, sindrepb, splinux25, tcallawa | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/ad57de4083557947b56d8008bf6e2f8220089c80 | ||||||||||||||||||
| Whiteboard: | abrt_hash:b03d46d6d2b4357d6b354cd9a104e81517d1c930;VARIANT_ID=workstation; | ||||||||||||||||||
| Fixed In Version: | pyxdg-0.26-3.fc29 | Doc Type: | If docs needed, set a value | ||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2018-12-02 08:27:41 UTC | Type: | --- | ||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
| Embargoed: | |||||||||||||||||||
| Attachments: |
|
||||||||||||||||||
Created attachment 1509956 [details]
File: backtrace
Created attachment 1509957 [details]
File: cgroup
Created attachment 1509958 [details]
File: cpuinfo
Created attachment 1509959 [details]
File: environ
Created attachment 1509960 [details]
File: mountinfo
Created attachment 1509961 [details]
File: namespaces
Created attachment 1509962 [details]
File: open_fds
What release is the pyxdg package? Is it pyxdg-0.26-2.fc29? (In reply to Miroslav Lichvar from comment #8) > What release is the pyxdg package? Is it pyxdg-0.26-2.fc29? Yep, that's the version I'm using. Ok. It might be a different bug in pyxdg. Can you give me a copy of the output of: /usr/bin/python3 /usr/libexec/openbox-xdg-menu applications Sure:
isaque ~ /usr/bin/python3 /usr/libexec/openbox-xdg-menu applications
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 637, in parse
self.post_parse(menu)
File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 983, in post_parse
self.post_parse(submenu)
File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 983, in post_parse
self.post_parse(submenu)
File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 983, in post_parse
self.post_parse(submenu)
File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 997, in post_parse
elif menuentry.Type == MenuEntry.TYPE_SYSTEM:
AttributeError: 'MenuEntry' object has no attribute 'Type'
Okay, I think I have this one fixed. Please download: https://kojipkgs.fedoraproject.org//packages/pyxdg/0.26/3.fc29/noarch/python2-pyxdg-0.26-3.fc29.noarch.rpm https://kojipkgs.fedoraproject.org//packages/pyxdg/0.26/3.fc29/noarch/python3-pyxdg-0.26-3.fc29.noarch.rpm and upgrade to those packages, then retry. Yep, it worked, thank you! And thanks for the quick reply too! Amazing job! Wow, that's a lot of exclamation marks! But you deserve them! pyxdg-0.26-3.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7339f61610 pyxdg-0.26-3.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-7339f61610 pyxdg-0.26-3.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: I clicked on "Applications" in root-menu. Version-Release number of selected component: openbox-3.6.1-10.fc29 Additional info: reporter: libreport-2.9.6 cmdline: /usr/bin/python3 /usr/libexec/openbox-xdg-menu applications crash_function: post_parse exception_type: AttributeError executable: /usr/libexec/openbox-xdg-menu interpreter: python3-3.7.1-4.fc29.x86_64 kernel: 4.19.3-300.fc29.x86_64 runlevel: N 5 type: Python3 uid: 1000 Truncated backtrace: Menu.py:997:post_parse:AttributeError: 'MenuEntry' object has no attribute 'Type' 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 637, in parse self.post_parse(menu) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 983, in post_parse self.post_parse(submenu) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 983, in post_parse self.post_parse(submenu) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 983, in post_parse self.post_parse(submenu) File "/usr/lib/python3.7/site-packages/xdg/Menu.py", line 997, in post_parse elif menuentry.Type == MenuEntry.TYPE_SYSTEM: AttributeError: 'MenuEntry' object has no attribute 'Type' Local variables in innermost frame: self: <xdg.Menu.XMLMenuBuilder object at 0x7fe59c8e3cf8> menu: <xdg.Menu.Menu object at 0x7fe59c8f90f0> submenu: <xdg.Menu.Menu object at 0x7fe59c8f92e8> directory: '/home/isaque/IBM/WebSphere/AppServer/profiles/AppSrv01/properties/linuxMenu/directories/Profiles.directory' dir: '/usr/share/desktop-directories' menuentry: -home-isaque-IBM-WebSphere-AppServer-profiles-AppSrv01-properties-linuxMenu-directories-Profiles.directory