bug: bzr annotate

Jean-François Veillette jean_francois_veillette at yahoo.ca
Tue Jan 16 16:05:10 GMT 2007


11:00:43: time bzr annotate AFaire.txt
     1 jfv at Jea | Lundi 23 mai 2005 - jf
               | ----------------------
...
... lots of lines
...
    63 jean.fr | ===========
               |  À Faire :
               | ===========
    49 jean.fr |
    63 jean.fr | Cette semaine
               | -------------
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode  
byte 0xc3 in position 63: ordinal not in range(128)

Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/bzrlib/commands.py", line 626, in  
run_bzr_catch_errors
     return run_bzr(argv)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/bzrlib/commands.py", line 588, in run_bzr
     ret = run(*run_argv)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/bzrlib/commands.py", line 292, in  
run_argv_aliases
     return self.run(**all_cmd_args)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/bzrlib/commands.py", line 598, in ignore_pipe
     result = func(*args, **kwargs)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/bzrlib/builtins.py", line 2682, in run
     annotate_file(branch, file_version, file_id, long, all, sys.stdout)
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/bzrlib/annotate.py", line 53, in annotate_file
     print >>to_file, '%s| %s' % (anno, text)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position  
63: ordinal not in range(128)

bzr 0.13.0 on python 2.4.2.final.0 (darwin)
arguments: ['/usr/local/bin/bzr', 'annotate', 'AFaire.txt']

** please send this report to bazaar-ng at lists.ubuntu.com

real    0m2.337s
user    0m1.000s
sys     0m0.681s

As you can see, it only annotate part of the file.  It could be that  
at some point my 'bzr whoami' had non-ascii char.  Now it is only  
ascii :
bzr whoami
Jean-François Veillette <jean.francois.veillette at gmail.com>

Thanks,

- jfv

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




More information about the bazaar mailing list