Comment 4 for bug 151968

Revision history for this message
Radim Kolář (hsn10) wrote :

Its still dont works here. From command line it is ok:

D:\Python\Lib\site-packages\bzrlib\plugins\bzrxml>bzr update
Tree is up to date at revision 32.

D:\Python\Lib\site-packages\bzrlib\plugins\bzrxml>bzr version --xml
<version>
<bazaar>
<version>0.91.0</version>
<bzrlib>D:\Python\lib\site-packages\bzrlib</bzrlib>
<configuration>C:\Documents and Settings\Radim\Data aplikací\bazaar\2.0</configu
ration>
<log_file> C:\Documents and Settings\Radim\.bzr.log </log_file>
<copyright>
Copyright 2005, 2006, 2007 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.
</copyright>
</bazaar>
<python>
<executable>D:\Python\python.exe</executable>
<version>2.4.4.final.0</version>
<standard_library>D:\Python\lib</standard_library>
</python>

</version>

D:\Python\Lib\site-packages\bzrlib\plugins\bzrxml>

bzr called from Eclispe
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 229, in run
    show_version_xml(to_file=self.outf)
  File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\versionxml.py", line 42, in show_version_xml
    _show_bazaar_version(to_file)
  File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\versionxml.py", line 72, in _show_bazaar_version
    _show_bzr_config(to_file)
  File "D:\Python\lib\site-packages\bzrlib\plugins\bzrxml\versionxml.py", line 104, in _show_bzr_config
    print >>to_file, u'<configuration>%s</configuration>' % config_dir
UnicodeEncodeError: 'ascii' codec can't encode character u'\xed' in position 59: ordinal not in range(128)

I am going to upgrade my Python to 2.5.1 to see if it fixes problem.