Bug 874633
| Summary: | [abrt] openbox-3.5.0-3.fc16: openbox-xdg-menu:69:walk_menu:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 26: ordinal not in range(128) | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miroslav Lichvar <mlichvar> |
| Component: | openbox | Assignee: | Miroslav Lichvar <mlichvar> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 17 | CC: | athmanem, christoph.wickert, claudiomar.costa, ejsheldrake, haliyo, ktim888, mlichvar, st.greb, tcallawa, vassari79, wili920503 |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 799663 | Environment: | |
| Last Closed: | 2012-12-07 03:31:00 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: | |||
| Bug Depends On: | 799663 | ||
| Bug Blocks: | |||
|
Description
Miroslav Lichvar
2012-11-08 14:59:07 UTC
I'm still not sure why getExec() sometimes returns unicode and sometimes str. I'd like to ask the pyxdg maintainer if it's not actually a bug in pyxdg before we implement a fix/workaround in xdg-menu. Go right ahead. :) openbox-3.5.0-9.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/openbox-3.5.0-9.fc17 openbox-3.5.0-9.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/openbox-3.5.0-9.fc18 Package openbox-3.5.0-9.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing openbox-3.5.0-9.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-18234/openbox-3.5.0-9.fc17 then log in and leave karma (feedback). *** Bug 877798 has been marked as a duplicate of this bug. *** *** Bug 879883 has been marked as a duplicate of this bug. *** Please add karma to the update, so we can push it to stable. Thanks. *** Bug 880808 has been marked as a duplicate of this bug. *** openbox-3.5.0-9.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. openbox-3.5.0-9.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. *** Bug 884858 has been marked as a duplicate of this bug. *** After, and before, the update to openbox-3.5.0-9.fc17 I'm still getting this error with /usr/libexec/openbox-xdg-menu:
~ $ /usr/libexec/openbox-xdg-menu applications
Traceback (most recent call last):
File "/usr/libexec/openbox-xdg-menu", line 100, in <module>
menu = xdg.Menu.parse(menufile)
File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 580, in parse
__genmenuNotOnlyAllocated(tmp["Root"])
File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 917, in __genmenuNotOnlyAllocated
__genmenuNotOnlyAllocated(submenu)
File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 920, in __genmenuNotOnlyAllocated
tmp["cache"].addMenuEntries(menu.AppDirs)
File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 1083, in addMenuEntries
self.__addFiles(dir, "", prefix, legacy)
File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 1089, in __addFiles
menuentry = MenuEntry(os.path.join(subdir,item), dir, prefix)
File "/usr/lib/python2.7/site-packages/xdg/Menu.py", line 425, in __init__
self.DesktopEntry = DesktopEntry(os.path.join(dir,filename))
File "/usr/lib/python2.7/site-packages/xdg/DesktopEntry.py", line 26, in __init__
self.parse(filename)
File "/usr/lib/python2.7/site-packages/xdg/DesktopEntry.py", line 34, in parse
IniFile.parse(self, file, ["Desktop Entry", "KDE Desktop Entry"])
File "/usr/lib/python2.7/site-packages/xdg/IniFile.py", line 54, in parse
for line in fd:
File "/usr/lib64/python2.7/codecs.py", line 296, in decode
(result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe9 in position 178: invalid continuation byte
should I open a new bug?
Yes, please file a new bug, this seems to be something different. |