TwistedTestCase.test_help fails if there are non-ascii characters in gflags help strings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned |
Bug Description
I translated one string into Danish, just for giggles, and since then, I've been getting this whenever I run the test suite:
=======
ERROR: test_help (nova.tests.
-------
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
callableObj
File "/home/
self.
File "/home/
self.
File "/home/
handler()
File "/usr/lib/
print self.__str__()
File "/home/
return str(FLAGS)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xf8' in position 4409: ordinal not in range(128)
Related branches
- Cory Wright (community): Needs Information
-
Diff: 12 lines (+1/-1)1 file modifiednova/twistd.py (+1/-1)
Changed in nova: | |
importance: | Undecided → Low |
status: | New → In Progress |
assignee: | nobody → Soren Hansen (soren) |
Changed in nova: | |
status: | In Progress → Triaged |
assignee: | Soren Hansen (soren) → nobody |
Apparently, it's a gflags problem. Filed http:// code.google. com/p/python- gflags/ issues/ detail? id=6