Open janicedatawire opened 8 years ago
Hmmm. My experiment with non-ASCII characters didn't work for create-org
either, so at least we're consistent:
dwc --local create-org "Taquería Dos Cañones" Flynn flynn+tacos@datawire.io
Choose a password for flynn+tacos@datawire.io @ Taquería Dos Cañones:
Confirm password:
failure: No result from request (status 500)!
and from the server:
print("<<< CREATE ORG: %s" % result)
File "/Users/flynn/datawire/cloud-tools/datawire/utils/__init__.py", line 20, in <lambda>
__str__ = lambda x: unicode(x).encode('utf-8')
File "/Users/flynn/datawire/cloud-tools/datawire/utils/__init__.py", line 75, in __unicode__
" ".join([ '%s="%s"' % (key, getattr(self, key)) for key in self.keys ])))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 32: ordinal not in range(128)
Python 2 Unicode support is so annoying. :(
I was able to use unicode characters in org and user names, but I just tried it in a service handle and it crashed create-service: