ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Ivan Khakhaev <ikh1@yandex.ru>
To: sp_archer@meta.ua,
	ALT Linux Community general discussions
	<community@lists.altlinux.org>
Subject: Re: [Comm] Eric. Помогите настроить.
Date: Fri, 09 Oct 2009 09:46:33 +0400
Message-ID: <19531255067193@webmail104.yandex.ru> (raw)
In-Reply-To: <60106.195.230.140.18.1255028496.metamail@webmail.meta.ua>



08.10.09, 23:01, "Olexander Chernetskyy" <sp_archer@meta.ua>:

> Установил в 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
-- 
С уважением
Иван Хахаев


  parent reply	other threads:[~2009-10-09  5:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-08 19:01 Olexander Chernetskyy
2009-10-09  5:38 ` Ivan Khakhaev
2009-10-09  5:46 ` Ivan Khakhaev [this message]
2009-10-09  8:55   ` Olexander Chernetskyy
2009-10-09  9:12     ` Ivan Khakhaev
2009-10-09  9:26       ` alisher
2009-10-09  9:57         ` Olexander Chernetskyy
2009-10-09 18:40           ` Olexander Chernetskyy
2009-10-09  9:52       ` Olexander Chernetskyy
2009-10-09  9:27     ` Владимир
2009-10-12  8:54 ` Владимир
2009-10-12 10:10   ` Ivan Khakhaev
2009-10-12 12:24     ` Владимир Чёрный
2009-10-12 14:28       ` Ivan Khakhaev
2009-10-12 15:50         ` Андрей Черепанов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19531255067193@webmail104.yandex.ru \
    --to=ikh1@yandex.ru \
    --cc=community@lists.altlinux.org \
    --cc=sp_archer@meta.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git