From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, FUZZY_XPILL, SPF_PASS autolearn=no version=3.2.5 X-Yandex-Spam: 1 X-Yandex-Front: webmail104 X-Yandex-TimeMark: 1255067193 From: Ivan Khakhaev To: sp_archer@meta.ua, ALT Linux Community general discussions In-Reply-To: <60106.195.230.140.18.1255028496.metamail@webmail.meta.ua> References: <60106.195.230.140.18.1255028496.metamail@webmail.meta.ua> MIME-Version: 1.0 Message-Id: <19531255067193@webmail104.yandex.ru> Date: Fri, 09 Oct 2009 09:46:33 +0400 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Subject: Re: [Comm] =?koi8-r?b?RXJpYy4g8M/Nz8fJ1MUgzsHT1NLPydTYLg==?= X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Oct 2009 05:46:47 -0000 Archived-At: List-Archive: List-Post: 08.10.09, 23:01, "Olexander Chernetskyy" : > Установил в p5 eric4, а в branch4 - просто eric. > Начал читать http://www.altlinux.org/Books:PythonSchool и ставить опыты. > Беру из http://www.altlinux.org/images/a/af/Examples.tar.gz первый скрипт > script-01.py > # -*- coding: utf-8 -*- > # Простейший ввод и вывод > # > print "Привет!" > # input - для чисел > # raw_input - для строк > s1=raw_input("Как тебя зовут? ") > print "Здравствуй, "+s1+"!" > Запускаю. > В просто eric под бранч4 > ------------------------- > в окне выполнения вижу такое: > Python 2.5.4 (r254:67916, Feb 6 2009, 12:35:27) > [GCC 4.1.2 20070626 (ALT Linux, build 4.1.2-alt2)] on > archer.elitenet.kr.ua, Qt-Version > >>> Как тебя зовут? > а в stderr такое: > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/eric3/Debugger/DebugServer.py", > line 889, in handleLine > line = str(us) > UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-5: > ordinal not in range(128) Нужно найти в настройках самого Эрика (см. на той же страничке wiki - "Методические указания") все места где указываются кодировки и везде поставть utf-8 -- С уважением Иван Хахаев