NetBSD Problem Report #43527

From www@NetBSD.org  Sat Jun 26 11:06:00 2010
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 0853263BA62
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 26 Jun 2010 11:06:00 +0000 (UTC)
Message-Id: <20100626110559.9B31F63B873@www.NetBSD.org>
Date: Sat, 26 Jun 2010 11:05:59 +0000 (UTC)
From: wenheping@gmail.com
Reply-To: wenheping@gmail.com
To: gnats-bugs@NetBSD.org
Subject: [math/py-rpy] Failed in regression test
X-Send-Pr-Version: www-1.0

>Number:         43527
>Category:       pkg
>Synopsis:       [math/py-rpy] Failed in regression test
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 26 11:10:00 +0000 2010
>Last-Modified:  Fri Jul 16 13:30:03 +0000 2010
>Originator:     Wen Heping
>Release:        NetBSD-5.0.2
>Organization:
Private
>Environment:
NetBSD nb502.wenjing.com 5.0.2 NetBSD 5.0.2 (GENERIC) #0: Sat Feb  6 17:53:27 UTC 2010  builds@b7.netbsd.org:/home/builds/ab/netbsd-5-0-2-RELEASE/i386/201002061851Z-obj/home/builds/ab/netbsd-5-0-2-RELEASE/src/sys/arch/i386/compile/GENERIC i386

>Description:
After install math/py-rpy:

nb502$ python2.6 /usr/pkg/lib/python2.6/site-packages/rpy2/tests.py
...E...............................................................................................................................................................................................................................................................................
======================================================================
ERROR: testInterruptR (rpy2.rinterface.tests.test_EmbeddedR.EmbeddedRTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/pkg/lib/python2.6/site-packages/rpy2/rinterface/tests/test_EmbeddedR.py", line 113, in testInterruptR
    child_proc = subprocess.Popen(('python', rpy_code.name))
  File "/usr/pkg/lib/python2.6/subprocess.py", line 633, in __init__
    errread, errwrite)
  File "/usr/pkg/lib/python2.6/subprocess.py", line 1139, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

----------------------------------------------------------------------
Ran 275 tests in 5.741s

FAILED (errors=1)



>How-To-Repeat:

>Fix:
Sorry, I do not know.

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43527: [math/py-rpy] Failed in regression test
Date: Fri, 16 Jul 2010 21:24:28 +0900

 On Sat, 26 Jun 2010 20:10:01 +0900, <wenheping@gmail.com> wrote:

 > Traceback (most recent call last):
 >   File "/usr/pkg/lib/python2.6/site-packages/rpy2/rinterface/tests/test_EmbeddedR.py", line 113, in testInterruptR
 >     child_proc = subprocess.Popen(('python', rpy_code.name))

 How about replace 'python' with sys.executable?

From: wen heping <wenheping@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43527: [math/py-rpy] Failed in regression test
Date: Fri, 16 Jul 2010 21:26:30 +0800

 On Fri, Jul 16, 2010 at 8:25 PM, OBATA Akio <obache@netbsd.org> wrote:
 > The following reply was made to PR pkg/43527; it has been noted by GNATS.
 >
 > From: "OBATA Akio" <obache@netbsd.org>
 > To: gnats-bugs@netbsd.org
 > Cc:
 > Subject: Re: pkg/43527: [math/py-rpy] Failed in regression test
 > Date: Fri, 16 Jul 2010 21:24:28 +0900
 >
 >  On Sat, 26 Jun 2010 20:10:01 +0900, <wenheping@gmail.com> wrote:
 >
 >  > Traceback (most recent call last):
 >  >   File "/usr/pkg/lib/python2.6/site-packages/rpy2/rinterface/tests/tes=
 t_EmbeddedR.py", line 113, in testInterruptR
 >  >     child_proc =3D subprocess.Popen(('python', rpy_code.name))
 >
 >  How about replace 'python' with sys.executable?

 Yes, now it works well.

 Thank you.

 wen



 >
 >



 --=20
 =D5=E6=C0=ED=B4=D3=C0=B4=C3=BB=D3=D0=D5=BD=CA=A4=B9=FD=C3=FD=CE=F3=A3=AC=D5=
 =E6=C0=ED=D6=BB=D3=D0=D4=DA=BC=E1=B3=D6=C3=FD=CE=F3=B5=C4=C8=CB=CB=C0=C8=A5=
 =BA=F3=B2=C5=B3=C9=CE=AA=D5=E6=C0=ED=A1=A3

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.