bzr-email fails if committer has non-ascii gecos
jelmer at samba.org
Tue Aug 27 22:00:51 UTC 2013
On Tue, Aug 27, 2013 at 04:48:15PM -0400, Glenn Morris wrote:
> I noticed that Savannah's bzr-email failed to send an email for one
> particular commit. The commit worked ok, it was just the email that
> failed. Checking the server log (traceback at the end of this message),
> I see what looks like
> (supposedly fixed in bzr 2.3.4; this is bzr 2.6b2).
> The user does have whoami set; at least bzr log tells me so:
> revno: 113996
> committer: Vincent ... at users.sourceforge.net>
> Short of asking the user to change his real name on his Savannah
> account, is there any way to work around this?
> (Maybe some way to convince osutils.get_user_encoding() to return
> 'utf-8' rather than ascii?)
> TIA for any help.
osutils.get_user_encoding() gets the locale to use from your
environment. What does 'locale' output for you? E.g. for me it says:
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the bazaar