Make BE working with non-ASCII username.
[be.git] / .be / bea86499-824e-4e77-b085-2d581fa9ccab / bugs / 742c86f3-0693-4d75-bdee-1785bcebdd43 / comments / 94e55330-a4d5-41f5-bc4d-1c7a73964224 / body
1 matej@wycliff: CZEKMS-CSP_Bible (master *+%)$ locale
2 LANG=en_US.utf8
3 LC_CTYPE="en_US.utf8"
4 LC_NUMERIC="en_US.utf8"
5 LC_TIME="en_US.utf8"
6 LC_COLLATE="en_US.utf8"
7 LC_MONETARY="en_US.utf8"
8 LC_MESSAGES="en_US.utf8"
9 LC_PAPER="en_US.utf8"
10 LC_NAME="en_US.utf8"
11 LC_ADDRESS="en_US.utf8"
12 LC_TELEPHONE="en_US.utf8"
13 LC_MEASUREMENT="en_US.utf8"
14 LC_IDENTIFICATION="en_US.utf8"
15 LC_ALL=
16 matej@wycliff: CZEKMS-CSP_Bible (master *+%)$ be new 'Incorporate errata into our texts'
17 Traceback (most recent call last):
18   File "/home/matej/.local/bin/be", line 26, in <module>
19     sys.exit(libbe.ui.command_line.main())
20   File "/home/matej/.local/lib/python2.7/site-packages/libbe/ui/command_line.py", line 391, in main
21     ret = dispatch(ui, command, args)
22   File "/home/matej/.local/lib/python2.7/site-packages/libbe/ui/command_line.py", line 304, in dispatch
23     ret = ui.run(command, options, args)
24   File "/home/matej/.local/lib/python2.7/site-packages/libbe/command/base.py", line 590, in run
25     return command.run(options, args)
26   File "/home/matej/.local/lib/python2.7/site-packages/libbe/command/base.py", line 302, in run
27     self.status = self._run(**params)
28   File "/home/matej/.local/lib/python2.7/site-packages/libbe/command/new.py", line 132, in _run
29     bug.creator = self._get_user_id()
30   File "/home/matej/.local/lib/python2.7/site-packages/libbe/command/base.py", line 606, in _get_user_id
31     self.storage_callbacks.get_storage())
32   File "/home/matej/.local/lib/python2.7/site-packages/libbe/ui/util/user.py", line 145, in get_user_id
33     user = storage.get_user_id()
34   File "/home/matej/.local/lib/python2.7/site-packages/libbe/storage/vcs/base.py", line 630, in get_user_id
35     self.user_id = self._vcs_get_user_id()
36   File "/home/matej/.local/lib/python2.7/site-packages/libbe/storage/vcs/git.py", line 295, in _vcs_get_user_id
37     'config', 'user.name', expect=(0,1))
38   File "/home/matej/.local/lib/python2.7/site-packages/libbe/storage/vcs/base.py", line 934, in _u_invoke_client
39     return self._u_invoke(cl_args, **kwargs)
40   File "/home/matej/.local/lib/python2.7/site-packages/libbe/storage/vcs/base.py", line 929, in _u_invoke
41     return invoke(*args, **kwargs)
42   File "/home/matej/.local/lib/python2.7/site-packages/libbe/util/subproc.py", line 90, in invoke
43     libbe.LOG.debug('{0}\n{1}{2}'.format(status, stdout, stderr))
44 UnicodeEncodeError: 'ascii' codec can't encode character u'\u011b' in position 3: ordinal not in range(128)
45 matej@wycliff: CZEKMS-CSP_Bible (master *+%)$ git config user.name
46 MatÄ›j Cepl
47 matej@wycliff: CZEKMS-CSP_Bible (master *+%)$ 
48
49