Problem checking out files with non ascii characters

Aníbal Rojas anibal at rojas.com.ve
Wed Jul 8 17:04:39 BST 2009


Alexander,

   Thanks a lot. I understand the problem, as I can't change the
setting for the file system I think I will try to sanitize the
filenames in the repo using iconv, I am sure these characters are
basically a mistake.

--
Aníbal

On Sun, Jul 5, 2009 at 5:18 AM, Alexander Belchenko<bialix at ukr.net> wrote:
> Aníbal Rojas пишет:
>> Alexander,
>>
>>     Thanks for you response. The is no .bzr.log (at leats I can¿t find
>> it) but I suppose you are asking for:
>>
>> bzr checkout --lightweight file:///foo/bar/repo /foor/bar/target
>> stdin: is not a tty
>> bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode
>> character u'\xf3' in position 124: ordinal not in range(128)
>> Traceback (most recent call last):
> ...
>> File "/home/gprotec/lib/python/bzrlib/transform.py", line 1099, in create_file
>>     f = open(name, 'wb')
>> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in
>> position 124: ordinal not in range(128)
>> bzr 1.16.1 on python 2.4.3 (linux2)
>> arguments: ['/home/gprotec/bin/bzr', 'checkout', '--lightweight',
>> 'file:///home/gprotec/repos/banmujer/',
>> '/home/gprotec/apps/banmujer-dev/releases/20090703141230']
>> encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
>
> You're running system with strict ASCII encoding of filesystem. bzr don't know how to create unicode
> filename for you. Perhaps you need set the LANG to something like en_US.utf8 -- sorry, I'm not Linux
> user, I don't know how to make this settings right.
>
>
>



More information about the bazaar mailing list