bzr crash when adding word document

Mark mwatts42 at gmail.com
Wed Jun 7 12:11:02 BST 2006


On 6/7/06, Matthieu Moy <Matthieu.Moy at imag.fr> wrote:
>
> Mark <mwatts42 at gmail.com> writes:
>
> > added bzr: ERROR: exceptions.UnicodeEncodeError: 'charmap' codec can't
> > encode ch
> > aracter u'\u2013' in position 54: character maps to <undefined>
> >   at encodings\cp437.pyc line 18
> >   in encode
> >
> > Unfortunently I can not post the word document as it is confidential.
>
> The complete traceback should appear in ~/.bzr.log, it might help.
>
> --
> Matthieu
>

Yep. Here is the log entry.  I have replace the file name characters with
"x" but the number and length of the filename is the same.  As youy can see
it appears that there is a character \u2013 used in the file name.  Visually
this appears as a long "-" but Windows displays it as a valid file name.

-mark

===========LOG START
added u'xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxx \u2013
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.doc' kind 'file' file_id={
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.doc-20060607110225-e148b80f43795a41
}
[ 3620] Wed 07:02:25.421 ERROR: exceptions.UnicodeEncodeError: 'charmap'
codec can't encode character u'\u2013' in position 40: character maps to
<undefined>
  at encodings\cp437.pyc line 18
  in encode
Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 650, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 612, in run_bzr
  File "bzrlib\commands.pyc", line 246, in run_argv_aliases
  File "bzrlib\builtins.pyc", line 274, in run
  File "bzrlib\add.pyc", line 84, in smart_add
  File "bzrlib\add.pyc", line 150, in smart_add_tree
  File "bzrlib\add.pyc", line 187, in __add_one
  File "bzrlib\add.pyc", line 71, in add_action_add_and_print
  File "bzrlib\add.pyc", line 61, in add_action_print
  File "encodings\cp437.pyc", line 18, in encode
UnicodeEncodeError: 'charmap' codec can't encode character u'\u2013' in
position 40: character maps to <undefined>

return code 3
===========LOG END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20060607/21737d9e/attachment.htm 


More information about the bazaar mailing list