* Upgrading /roundcube-1.3.10 to /roundcube-1.4.0 * Installed by root on 2019-10-10 00:17:19 * Config files owned by 0:0 !empty config --- /srv/myweb/htdocs/. * Unable to read the install database /var/db/webapps/roundcube/1.3.10/installs * Remove whatever is listed above by hand * Creating required directories * Linking in required files * This can take several minutes for larger apps * Files and directories installed Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/webapp-config", line 42, in <module> main() File "/usr/lib/python-exec/python3.6/webapp-config", line 39, in main config.run() File "/usr/lib64/python3.6/site-packages/WebappConfig/config.py", line 1511, in run self.config.get('USER', 'pvr')) File "/usr/lib64/python3.6/site-packages/WebappConfig/server.py", line 131, in upgrade self.install(True) File "/usr/lib64/python3.6/site-packages/WebappConfig/server.py", line 284, in install self.__ebuild.show_postupgrade(self) File "/usr/lib64/python3.6/site-packages/WebappConfig/ebuild.py", line 130, in show_postupgrade self.show_post(filename = 'postupgrade-en.txt', ptype = 'upgrade', server = server) File "/usr/lib64/python3.6/site-packages/WebappConfig/ebuild.py", line 91, in show_post post_instructions = open(post_file).readlines() File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode return codecs.ascii_decode(input, self.errors)[0] UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 388: ordinal not in range(128) This seems to be caused by /usr/share/webapps/roundcube/1.4.0/postupgrade-en.txt being encoded as UTF-8 instead of plain ASCII. Removing the file before running webapp-config -U seems to be one workaround, but then its contents are not displayed after the upgrade.
Or switch your locale to en utf8.
Bug still occurs with mail-client/roundcube-1.4.1.
I just made a Github Pull Request[1] that switches to ASCII versions of the POST-UPGRADE files. (Conversion via iconv.) The only thing that changes is we lose the fancy directional double-quotes on a line each. [1] https://github.com/gentoo/gentoo/pull/14283
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36cb516b465c8dd0495d3f45f05ce2f48fbfc294 commit 36cb516b465c8dd0495d3f45f05ce2f48fbfc294 Author: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com> AuthorDate: 2020-01-08 20:51:26 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2020-05-11 10:52:10 +0000 mail-client/roundcube: POST-UPGRADE UTF-8 files to ASCII Just ran "iconv -f utf-8 -t ascii//TRANSLIT" on files/POST-UPGRADE*. Closes: https://bugs.gentoo.org/700466 Closes: https://github.com/gentoo/gentoo/pull/14283 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Philippe Chaintreuil <gentoo_bugs_peep@parallaxshift.com> Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> mail-client/roundcube/files/POST-UPGRADE.txt | 2 +- mail-client/roundcube/files/POST-UPGRADE_complete.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)