The snapcore/snapcraft docker image fails because it's not setting UTF-8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Critical
|
Leo Arias |
Bug Description
With snapcraft 2.31, our CLI now requires to have UTF-8 set. So the travis jobs out there configured with this image will fail with:
snapcraft clean
Traceback (most recent call last):
File "/usr/bin/
obj=
File "/usr/lib/
return self.main(*args, **kwargs)
File "/usr/lib/
_verify_
File "/usr/lib/
'mitigation steps.' + extra)
RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Either run this under Python 2 or consult http://
This system supports the C.UTF-8 locale which is recommended.
You might be able to resolve your issue by exporting the
following environment variables:
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
https:/ /github. com/snapcore/ snapcraft/ pull/1370