I Solve this problem by
import sys
reload(sys)
sys.setdefaultencoding('utf8')
2016-05-05 11:12 GMT+08:00 Remo Mattei <[email protected]>:
> how? Distort? v2, v3 guys provide more data if you want people to answer
> your questions.
>
> my 2 cents.
> Remo
> > On May 4, 2016, at 20:00, yewgang <[email protected]> wrote:
> >
> > Hi all
> >
> > gateway@gateway-20150605:~$ keystone tenant-create --name admin
> > Traceback (most recent call last):
> > File "/usr/bin/keystone", line 10, in <module>
> > sys.exit(main())
> > File "/usr/lib/python2.7/dist-packages/keystoneclient/shell.py", line
> 488, in main
> > print(strutils.safe_encode(six.text_type(e)), file=sys.stderr)
> > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 39:
> ordinal not in range(128)
> >
> > Does any one get this error ? How to deal with it ?
> > Thank you.
> > !DSPAM:1,572ab956304169163817503!
> _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to : [email protected]
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
> >
> > !DSPAM:1,572ab956304169163817503!
>
>
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack