ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] python encodings
Date: Sat, 17 Nov 2007 08:01:09 +0300
Message-ID: <20071117050109.GJ31452@solemn.turbinal> (raw)
In-Reply-To: <473E0BD7.9080704@altlinux.com>

[-- Attachment #1: Type: text/plain, Size: 980 bytes --]

On Sat, Nov 17, 2007 at 12:29:59AM +0300, Anton Farygin wrote:
> Люди добрые, поможите кто чем может... что делать с этим MemoryError.
> 
> x86_64, hasher, branch-4.0
> 
> Error while parsing 
> "/usr/src/tmp/mythplugins-buildroot/usr/share/mythtv/mythvideo/scripts/fetch_poster.py"
> Traceback (most recent call last):
>    File "/usr/lib/rpm/python.req.py", line 133, in ?
>      lis = 
> parser.suite(open(src).read().replace("\r\n","\n")).tolist(line_info=1)
> MemoryError
> error: /bin/sh failed
> error: Failed to find Requires

http://google.com/codesearch?q=file%3afetch_poster.py

Там написано:
# -*- coding: utf8 -*-

это является нестандартным обозначением кодировки, лучше писать
# -*- coding: utf-8 -*-

тогда не потребуется разрешения алиаса через python-modules-encodings.

Думаю, захачить на эту тему python-base или нет.  То есть чтобы он
понимал побольше настандартных алиасов для стандартных кодировок,
без заглядывания в encodings.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2007-11-17  5:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 21:29 [devel] help me! python.req! Anton Farygin
2007-11-16 21:46 ` Anton Farygin
2007-11-16 22:04 ` Alexey Tourbin
2007-11-16 22:04   ` Anton Farygin
2007-11-17  5:01 ` Alexey Tourbin [this message]
2007-11-17  7:38   ` [devel] python encodings Anton Farygin
2007-11-18  0:41     ` Alexey Tourbin
2007-11-18  1:52       ` Alexey Tourbin

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=20071117050109.GJ31452@solemn.turbinal \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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