Your message dated Sat, 20 May 2006 14:54:14 -0500
with message-id <[EMAIL PROTECTED]>
and subject line bzr: running testament chokes on non-ascii chars
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: bzr
Version: 0.7-2

Hi,

  my BZREMAIL setting contains a non-ascii character, 'ó'. bzr testament
  seems to not like this:

    % bzr testament
    bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode 
character u'\xf3' in position 23: ordinal not in range(128)
    at /usr/lib/python2.4/site-packages/bzrlib/testament.py line 168
    in as_short_text

  The full backtrace as obtained from ~/.bzr.log is:

    Traceback (most recent call last):
      File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 572, in 
run_bzr_catch_errors
        return run_bzr(argv)
      File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 534, in 
run_bzr
        ret = cmd_obj.run_argv(argv)
      File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 233, in 
run_argv
        return self.run(**all_cmd_args)
      File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 544, in 
ignore_pipe
        result = func(*args, **kwargs)
      File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 1887, in 
run
        sys.stdout.write(t.as_short_text())
      File "/usr/lib/python2.4/site-packages/bzrlib/testament.py", line 168, in 
as_short_text
        map(s.update, self.as_text_lines())
    UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in 
position 23: ordinal not in range(128)

  Attached is a script that reproduces the error.

  Cheers,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
One of my most productive days was throwing away 1000 lines of code.
                -- Ken Thompson
#! /bin/sh

export BZREMAIL="[EMAIL PROTECTED]"

mkdir test
cd test
bzr init

echo hi >hi.txt
bzr add hi.txt
bzr ci -m 'Add hi.txt.'
bzr testament

export BZREMAIL="Foó <[EMAIL PROTECTED]>"

echo hi >>hi.txt
bzr ci -m 'Add extra hi.'
bzr testament

--- End Message ---
--- Begin Message ---
Version: 0.8.2-1

* Andres Salomon [Sat, 20 May 2006 00:40:45 -0400]:

> Hi,

Hey Andres,

> Thanks for the script.  I just tested this w/ 0.8.2-2, and it appears
> that it's been fixed in 0.8.2.  Can you please verify that it works for
> you?

Yep, works in -1 as well. Thanks,

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                               Listening to: Placebo - Bulletproof Cupid


--- End Message ---

Reply via email to