From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <473E0FAC.1030308@altlinux.com> Date: Sat, 17 Nov 2007 00:46:20 +0300 From: Anton Farygin User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: ALT Linux Team development discussions References: <473E0BD7.9080704@altlinux.com> In-Reply-To: <473E0BD7.9080704@altlinux.com> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] help me! python.req! X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Nov 2007 21:46:26 -0000 Archived-At: List-Archive: List-Post: 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