-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2016-10-01 12:13, ( - wrote:
> Hello !
> 
> When using "Run command in VM" I found this little bug with unicode chars.
> 
> UnicodeEncodeError: 'ascii' codec can't encode characters in position 
> 27-30: ordinal not in range(128)
> 
> This is most likely a bug in the Qubes Manager
> 
> ----
> line: vm, str(command_to_run), thread_monitor))
> func: action_run_command_in_vm_triggered
> line no.: 1407
> file: /usr/lib64/python2.7/site-packages/qubesmanager/main.py
> 
> So I try to make a one-line patch and test it with non-ascii string.
> 
> xterm -hold -e 'echo "test-ั‚ะตัั‚"'
> 
> I guess this behavior exist in ver. 3.2 too.
> 
> See attached diff and screenshots.
> 
> -            vm, str(command_to_run), thread_monitor))
> +            vm, unicode(command_to_run), thread_monitor))
> 

Thanks for the report! This is a known issue that is being tracked here:

https://github.com/QubesOS/qubes-issues/issues/2040

I've added your report as a comment to this issue.

- -- 
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJX8BMAAAoJENtN07w5UDAwKVYQALD24ur2b2Bs7n96yFe/ZqIE
umpo6QToXrxshsK/JtTxXK297gR44sjPxF8so/w70MwoUutzAOmdaB7CWaraWns5
lBxX5ewyFFe03QoeMLD7E5QbjTfYmqX3530xzGAfjpCy7a2jxwyot8okJfMUaryj
e+ZDkM7xuX9zEGj1/QE3v7A2Ess+RyRs/+OPHGZW0ucSiUIBf0069k3fIsEiRVtM
ykLKQZU0iF90Lf6WsXaZWNGMmU+Mrm8X/i+mzFMFfYSzEuwESTToYtnocZN9BHfg
9J+jtrPU2Mw3ahLar8dNOe+AN+SVFFEby8MJfneZfenRdEUPmIgZhTn5ImRPmNdH
mkEblLteJ9mxl3NSB049p+QluTiOFNF9w3TnJi18UjALcQr/6A5vFfueVbPq2eP7
4jdKFjIDADJNUNOSWd7tZOknv49m1sVEDaiij/Jn8Cb/wi/wyvEvPQmVkDszpGAX
RZCOO7qHtmU3bkdEhf/pJ5OwcUKtyLe54Hjkw43vUlHCQRSDB7keHbxNNimIm8ZR
9t/q2VyFVnr6nt6S5vdikt3a3h4vyaAeKmUoxZU43JzVzWgquZnxhACWXXdY3rsZ
+cCts5gI/S5flu0mUz/48XwjFG7J5EUubGrmt21sTfoTZjF8u7uvUmlqm0Zqlj83
NtNWsmJTzEhWoHKpBvRj
=Xf3x
-----END PGP SIGNATURE-----

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-devel/92c07083-8b9d-9196-7ea3-91efc7262390%40qubes-os.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to