Problem is still here in revno 30, i think time to dig into bzr version command and check how it displays unicode values. because bzr version have no problems with it
bzr arguments: [u'version', u'--xml']
looking for plugins in C:/Documents and Settings/Radim/Data aplikací/bazaar/2.0/plugins
looking for plugins in D:\Python\lib\site-packages\bzrlib\plugins
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as bzrlib.user_encoding 'cp1250'
Traceback (most recent call last):
File "D:\Python\Lib\site-packages\bzrlib\commands.py", line 800, in run_bzr_catch_errors
return run_bzr(argv)
File "D:\Python\Lib\site-packages\bzrlib\commands.py", line 758, in run_bzr
ret = run(*run_argv)
File "D:\Python\Lib\site-packages\bzrlib\commands.py", line 492, in run_argv_aliases
return self.run(**all_cmd_args)
File "D:\Python\Lib\site-packages\bzrlib\commands.py", line 768, in ignore_pipe
result = func(*args, **kwargs)
File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\__init__.py", line 198, in run
show_version_xml(to_file=self.outf)
File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\versionxml.py", line 21, in show_version_xml
_show_bazaar_version(to_file)
File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\versionxml.py", line 51, in _show_bazaar_version
_show_bzr_config(to_file)
File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\versionxml.py", line 83, in _show_bzr_config
print >>to_file, "<configuration>%s</configuration>" % config_dir
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 59: ordinal not in range(128)
Problem is still here in revno 30, i think time to dig into bzr version command and check how it displays unicode values. because bzr version have no problems with it
bzr arguments: [u'version', u'--xml'] /bazaar/ 2.0/plugins lib\site- packages\ bzrlib\ plugins user_encoding 'cp1250' Lib\site- packages\ bzrlib\ commands. py", line 800, in run_bzr_ catch_errors Lib\site- packages\ bzrlib\ commands. py", line 758, in run_bzr Lib\site- packages\ bzrlib\ commands. py", line 492, in run_argv_aliases **all_cmd_ args) Lib\site- packages\ bzrlib\ commands. py", line 768, in ignore_pipe lib\site- packages\ bzrlib\ plugins\ bzrxml\ __init_ _.py", line 198, in run version_ xml(to_ file=self. outf) lib\site- packages\ bzrlib\ plugins\ bzrxml\ versionxml. py", line 21, in show_version_xml bazaar_ version( to_file) lib\site- packages\ bzrlib\ plugins\ bzrxml\ versionxml. py", line 51, in _show_bazaar_ version bzr_config( to_file) lib\site- packages\ bzrlib\ plugins\ bzrxml\ versionxml. py", line 83, in _show_bzr_config >%s</configurat ion>" % config_dir
looking for plugins in C:/Documents and Settings/Radim/Data aplikací
looking for plugins in D:\Python\
Plugin name __init__ already loaded
Plugin name __init__ already loaded
encoding stdout as bzrlib.
Traceback (most recent call last):
File "D:\Python\
return run_bzr(argv)
File "D:\Python\
ret = run(*run_argv)
File "D:\Python\
return self.run(
File "D:\Python\
result = func(*args, **kwargs)
File "D:\Python\
show_
File "D:\Python\
_show_
File "D:\Python\
_show_
File "D:\Python\
print >>to_file, "<configuration
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 59: ordinal not in range(128)