Comment 5 for bug 56947

Revision history for this message
Richard Bukovansky (richard-bukovansky) wrote :

Hi, I'm trying to run Bzr on my Snow Leopard, but I'm getting this error when I try to commit with files using Czech characters.

$ touch ěčšěšíčáěšéíčěšč.txt
$ bzr status
unknown:
  ěčšěšíčáěšéíčěšč.txt

$ bzr add ěčšěšíčáěšéíčěšč.txt
adding "ěčšěšíčáěšéíčěšč.txt"

$ bzr commit -m "Adding unicode filename"
Committing to: /Users/beecher/Projects/Bazaar/
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/logging/__init__.py", line 765, in emit
    self.stream.write(fs % msg.encode("UTF-8"))
  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 8: ordinal not in range(128)
aborting commit write group: PointlessCommit(No changes to commit)
bzr: ERROR: No changes to commit. Use --unchanged to commit anyhow.

$ bzr --version
Bazaar (bzr) 2.1.0b4
  Python interpreter: /usr/bin/python 2.6.1
  Python standard library: /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
  Platform: Darwin-10.2.0-i386-64bit
  bzrlib: /Library/Python/2.6/site-packages/bzrlib
  Bazaar configuration: /Users/beecher/.bazaar
  Bazaar log file: /Users/beecher/.bzr.log