FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-13-2010, 05:17 AM
"Zhu Sha Zang"
 
Default Fails to compile dev-lang/python-3.1.2-r4

I see this error when i'm trying to "compile" my python source codes in
eric4/eric5 and my system are with uncorrect locales.


Your locale are corect?

att

Em Tue, 13 Jul 2010 02:03:35 -0300, Blackdream W
<blackdream1890@gmail.com> escreveu:



https://bugs.gentoo.org/show_bug.cgi?id=328047

I'm using ~amd64,and I sync my portage tree just now,but I couldn't
upgrade

to dev-lang/python-3.1.2-r4.

"UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:
ordinal not in range(128)"


any help?thx



--

how much i think, how much i observe, how much i cry


humans act like idiots and need die
 
Old 07-13-2010, 05:32 AM
Blackdream W
 
Default Fails to compile dev-lang/python-3.1.2-r4

cat /etc/locale.gen

en_US ISO-8859-1
en_US.UTF-8 UTF-8

2010/7/13 Zhu Sha Zang <zhushazang@yahoo.com.br>


I see this error when i'm trying to "compile" my python source codes in eric4/eric5 and my system are with uncorrect locales.





Your locale are corect?



att



Em Tue, 13 Jul 2010 02:03:35 -0300, Blackdream W <blackdream1890@gmail.com> escreveu:




https://bugs.gentoo.org/show_bug.cgi?id=328047



I'm using ~amd64,and I sync my portage tree just now,but I couldn't upgrade

to dev-lang/python-3.1.2-r4.



"UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:

ordinal not in range(128)"





any help?thx






--



how much i think, how much i observe, how much i cry





humans act like idiots and need die
 
Old 07-15-2010, 07:59 AM
Erik
 
Default Fails to compile dev-lang/python-3.1.2-r4

2010-07-13 07:32, Blackdream W skrev:
> cat /etc/locale.gen
>
> en_US ISO-8859-1
> en_US.UTF-8 UTF-8
>
> 2010/7/13 Zhu Sha Zang <zhushazang@yahoo.com.br>
>
>> I see this error when i'm trying to "compile" my python source codes in
>> eric4/eric5 and my system are with uncorrect locales.
>>
>> Your locale are corect?
>>
>> att
>>
>> Em Tue, 13 Jul 2010 02:03:35 -0300, Blackdream W <blackdream1890@gmail.com>
>> escreveu:
>>
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=328047
>>>
>>> I'm using ~amd64,and I sync my portage tree just now,but I couldn't
>>> upgrade
>>> to dev-lang/python-3.1.2-r4.
>>>
>>> "UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 1:
>>> ordinal not in range(128)"
>>>
>>>
>>> any help?thx

I get a similar error:
running build_ext
Traceback (most recent call last):
File "./setup.py", line 1823, in <module>
main()
File "./setup.py", line 1817, in main
"Tools/scripts/2to3"]
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/core.py",
line 149, in setup
dist.run_commands()
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/dist.py",
line 919, in run_commands
self.run_command(cmd)
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/dist.py",
line 938, in run_command
cmd_obj.run()
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/command/build.py",
line 128, in run
self.run_command(cmd_name)
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/cmd.py",
line 315, in run_command
self.distribution.run_command(command)
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/dist.py",
line 938, in run_command
cmd_obj.run()
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/distutils/command/build_ext.py",
line 347, in run
self.build_extensions()
File "./setup.py", line 160, in build_extensions
missing = self.detect_modules()
File "./setup.py", line 567, in detect_modules
for ln in fp:
File
"/var/tmp/portage/dev-lang/python-3.1.2-r4/work/Python-3.1.2/Lib/encodings/ascii.py",
line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 19:
ordinal not in range(128)
 

Thread Tools




All times are GMT. The time now is 08:39 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org