unicode & more
Jeff Garrett
jeff at jgarrett.org
Mon Dec 19 10:34:42 GMT 2005
> > I'm just starting a linux port of a small OSX app my roommates wrote,
> > and we wanted to use bazaar-ng so we can get familiar and eventually
> > help out. Anyway, on the very first commit after initializing a new
> > tree it crashed with this unicode handling exception:
> >
> > --------------------
> > $bzr ci
> >
> > bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode
> > byte 0xc3 in position 1: ordinal not in range(128)
> > at /opt/src/bzr.dev/bzrlib/config.py line 463
> > in _auto_user_id
> > ----------------------
> >
> > Any ideas?
>
> It would appear that your GECOS information (the name, room number, etc.
> in /etc/passwd) is not in ASCII, and bzr/python can't determine your
> preferred encoding (via locale.getpreferredencoding()).
>
> You may wish to set the LANG environment variable, e.g. LANG=en_US.UTF-8
> (This will affect everything, not just bzr.)
Oops, I didn't reply to list. Sorry
--
Jeff
JID: jeff at jgarrett.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051219/c7bbf5be/attachment.pgp
More information about the bazaar
mailing list