ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Anton Farygin <rider@altlinux.com>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] help me! python.req!
Date: Sat, 17 Nov 2007 00:46:20 +0300
Message-ID: <473E0FAC.1030308@altlinux.com> (raw)
In-Reply-To: <473E0BD7.9080704@altlinux.com>

Anton Farygin пишет:
> Люди добрые, поможите кто чем может... что делать с этим 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

Воспроизводится только в hasher. На той же машине python.req.py 
отрабатывает без проблем в хост-системе.

Может быть это поможет:

open("fetch_poster.py", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=7266, ...}) = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=7266, ...}) = 0
lseek(3, 0, SEEK_CUR)                   = 0
fstat(3, {st_mode=S_IFREG|0755, st_size=7266, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaabdd6000
lseek(3, 0, SEEK_CUR)                   = 0
read(3, "#!/usr/bin/python\n# -*- coding: "..., 4096) = 4096
read(3, "len(links) > 0:\n\t\t\t\tfor link in "..., 4096) = 3170
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x2aaaabdd6000, 4096)            = 0
write(2, "Error while parsing \"fetch_poste"..., 37Error while parsing 
"fetch_poster.py") = 37
write(2, "\n", 1
)                       = 1
write(2, "Traceback (most recent call last"..., 35Traceback (most recent 
call last):
) = 35
open("/usr/lib/rpm/python.req.py", O_RDONLY) = 3
write(2, "  File \"/usr/lib/rpm/python.req."..., 52  File 
"/usr/lib/rpm/python.req.py", line 133, in ?
) = 52
fstat(3, {st_mode=S_IFREG|0755, st_size=6124, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0x2aaaabdd6000
read(3, "#! /usr/bin/env python\n\nfrom __f"..., 4096) = 4096
read(3, ".splitext(os.path.basename(src))"..., 4096) = 2028
write(2, "    ", 4    )                     = 4
write(2, "lis = parser.suite(open(src).rea"..., 78lis = 
parser.suite(open(src).read().replace("\r\n","\n")).tolist(line_info=1)
) = 78
close(3)                                = 0
munmap(0x2aaaabdd6000, 4096)            = 0
write(2, "MemoryError", 11MemoryError)             = 11
write(2, "\n", 1
)                       = 1
rt_sigaction(SIGINT, {SIG_DFL}, {0x2aaaaad7a630, [], SA_RESTORER, 
0x2aaaab01e400}, 8) = 0
futex(0x63ca60, FUTEX_WAKE, 1)          = 0
futex(0x6012a0, FUTEX_WAKE, 1)          = 0
futex(0x6012a0, FUTEX_WAKE, 1)          = 0
futex(0x6012a0, FUTEX_WAKE, 1)          = 0
exit_group(1)                           = ?
Process 31503 detached




  reply	other threads:[~2007-11-16 21:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 21:29 Anton Farygin
2007-11-16 21:46 ` Anton Farygin [this message]
2007-11-16 22:04 ` Alexey Tourbin
2007-11-16 22:04   ` Anton Farygin
2007-11-17  5:01 ` [devel] python encodings Alexey Tourbin
2007-11-17  7:38   ` 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=473E0FAC.1030308@altlinux.com \
    --to=rider@altlinux.com \
    --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