| Summary: | app-admin/webapp-config fails to install www-apps/baikal-0.4.6 with locale POSIX - UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | René <gentoo-bugzilla> |
| Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | web-apps |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Not sure who's at fault here, but I've removed the ï's from the file. No big deal, in any case. |
webapp-config -h localhost -d baikal -I baikal 0.4.6 fails with the following error when the locale is set to POSIX (probably with other non-utf8 locales as well) because of the ï in postinstall-en.txt Setting the locale to e.g. de_DE.utf8 works as a workaround. Traceback (most recent call last): File "/usr/lib/python-exec/python3.4/webapp-config", line 42, in <module> main() File "/usr/lib/python-exec/python3.4/webapp-config", line 39, in main config.run() File "/usr/lib64/python3.4/site-packages/WebappConfig/config.py", line 1325, in run self.config.get('USER', 'pvr')).install() File "/usr/lib64/python3.4/site-packages/WebappConfig/server.py", line 281, in install self.__ebuild.show_postinst(self) File "/usr/lib64/python3.4/site-packages/WebappConfig/ebuild.py", line 121, in show_postinst self.show_post(filename = 'postinst-en.txt', ptype = 'install', server = server) File "/usr/lib64/python3.4/site-packages/WebappConfig/ebuild.py", line 91, in show_post post_instructions = open(post_file).readlines() File "/usr/lib64/python3.4/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128)