Unable to install under C locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MenuLibre |
Fix Released
|
Undecided
|
Sean Davis |
Bug Description
Summary:
It is not possible to install MenuLibre under the C and possibly other locales.
Steps to reproduce:
1. LANG=C python3.4 setup.py install
Expected result:
MenuLibre should be successfully installed.
Actual result:
Traceback (most recent call last):
File "setup.py", line 195, in <module>
cmdclass=
File "/usr/lib/
distutils.
File "/usr/lib64/
dist.
File "/usr/lib64/
self.
File "/usr/lib64/
cmd_obj.run()
File "setup.py", line 181, in run
update_
File "setup.py", line 115, in update_desktop_file
for line in fin:
File "/usr/lib64/
return codecs.
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 57: ordinal not in range(128)
Workaround:
I have attached a patch which makes setup.py open files with a specified encoding. After applying the patch MenuLibre installed successfully.
Changed in menulibre: | |
milestone: | none → 2.0.7 |
status: | Fix Committed → Fix Released |
assignee: | nobody → Sean Davis (bluesabre) |
Thanks for the great patch. Added for next release.