UnicodeError occurs in glance installaion. [closed]
Hi, this error occurs when I was installing glance, could anyone help me to fix it? Thanks a lot!
The traceback is listed as below, and when I test with "$ glance image-list", the CLI responds me with "HTTPInternalServerError (HTTP 500)", I can provide with my glance-api.conf and glance-registry.conf if you need.
2015-01-10 00:46:32.917 11534 CRITICAL glance [-] UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
2015-01-10 00:46:32.917 11534 TRACE glance Traceback (most recent call last):
2015-01-10 00:46:32.917 11534 TRACE glance File "/usr/bin/glance-registry", line 10, in <module>
2015-01-10 00:46:32.917 11534 TRACE glance sys.exit(main())
2015-01-10 00:46:32.917 11534 TRACE glance File "/usr/lib/python2.7/dist-packages/glance/cmd/registry.py", line 74, in main
2015-01-10 00:46:32.917 11534 TRACE glance sys.exit("ERROR: %s" % e)
2015-01-10 00:46:32.917 11534 TRACE glance File "/usr/local/lib/python2.7/dist-packages/oslo/i18n/_message.py", line 167, in __str__
2015-01-10 00:46:32.917 11534 TRACE glance raise UnicodeError(msg)
2015-01-10 00:46:32.917 11534 TRACE glance UnicodeError: Message objects do not support str() because they may contain non-ascii characters. Please use unicode() or translate() instead.
2015-01-10 00:46:32.917 11534 TRACE glance