Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 608552 - 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)
Summary: app-admin/webapp-config fails to install www-apps/baikal-0.4.6 with locale PO...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-07 18:37 UTC by René
Modified: 2024-05-11 08:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description René 2017-02-07 18:37:30 UTC
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)
Comment 1 Fabian Groffen gentoo-dev 2017-02-11 09:13:34 UTC
Not sure who's at fault here, but I've removed the ï's from the file.  No big deal, in any case.