[elbe-devel] UnicodeEncodeError: 'ascii' codec can't encode character u'\u0151'

Olivier Dion dion at linutronix.de
Sat Aug 1 16:32:49 CEST 2020


On Sat, 01 Aug 2020, Martin Petzold <martin.petzold at tavla.de> wrote:
> Hello,
>
> I have upgraded to ELBE 12.5 (Debian Buster host), then deleted initvm 
> and re-created initvm. My build was running fine before, now I get this 
> error:
>
>   Adding debian:Atos_TrustedRoot_2011.pem
>   Adding debian:GeoTrust_Primary_Certification_Authority_-_G3.pem
>   Adding debian:LuxTrust_Global_Root_2.pem
>   Adding debian:IdenTrust_Commercial_Root_CA_1.pem
>   Adding debian:Hongkong_Post_Root_CA_1.pem
>   Traceback (most recent call last):
>     File "/usr/bin/elbe", line 62, in <module>
>       cmdmod.run_command(sys.argv[2:])
>     File 
> "/usr/lib/python2.7/dist-packages/elbepack/commands/control.py", line 
> 189, in run_command
>       action.execute(control, opt, args[1:])
>     File "/usr/lib/python2.7/dist-packages/elbepack/soapclient.py", line 
> 640, in execute
>       print(msg)
>   UnicodeEncodeError: 'ascii' codec can't encode character u'\u0151' in 
> position 461: ordinal not in range(128)
>   elbe control wait_busy Failed

At first glance it seems like a subprogram called by Elbe is printing
some gibberish.  This could probably be fixed by encoding with base64
the message in daemons/soap/esoap:get_project_busy()

Can you provide the log of your build?  You should have a log.txt file
in the build for your project.  If you can scp it to your host and send
it to me that would help.

-- 
Olivier Dion
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen


More information about the elbe-devel mailing list