Status: New
Owner:
J.S.P...@gmail.com
Labels: Type-Defect Priority-Medium
New issue 356 by
J.S.P...@gmail.com: Audit logging to DB doesn't work
with unicode characters
http://code.google.com/p/roster-dns-management/issues/detail?id=356
What steps will reproduce the problem?
1. dnsmkusergroup user -n some\xc6one -a 128
2. dnslsauditlog --success 1
What is the expected output?
ID Action Timestamp Username Success Data
-----------------------------------------------------
1 MakeUser 2013-01-13T17:46:04 shuey 1 {'access_level':
128, 'user_name': u'some\xc6one'}
What do you see instead?
Traceback (most recent call last):
File "../roster-user-tools/scripts/dnslsauditlog", line 120, in <module>
main(sys.argv[1:])
File "../roster-user-tools/scripts/dnslsauditlog", line 114, in main
str(cPickle.loads(entry['data'])['audit_args'])])
EOFError