I've installed rpy against python 2.5. When I ran regression tests  
they failed on test_lapack_load, test_sigint, and test_topy. I am  
using R 2.4.1 on an Intel Mac OS 10.4.9. While using rpy I frequently  
get errors as this:

rpy.RException: Error in sys.call(sys.parent()) : unimplemented type  
(27) in 'duplicate'
*** caught segfault ***
address 0x226f4e2a, cause 'memory not mapped'

What is the cause of these 2 issues? How can I fix this so regression  
tests run correctly and no errors while processing data?

Thanks for any help.
Philip



RHOME= /Library/Frameworks/R.framework/Resources
RVERSION= 2.4.1
RVER= 2041
RUSER= /Users/....
Loading Rpy version 2041 .. Done.
Creating the R object 'r' ..  Done
Testing: array
.......
----------------------------------------------------------------------
Ran 7 tests in 0.311s

OK
Testing: boolean
..
----------------------------------------------------------------------
Ran 2 tests in 0.001s

OK
Testing: cleanup
RHOME= /Library/Frameworks/R.framework/Resources
RVERSION= 2.4.1
RVER= 2041
RUSER= /Users/priggs
Loading Rpy version 2041 .. Done.
Creating the R object 'r' ..  Done
.
----------------------------------------------------------------------
Ran 1 test in 2.212s

OK
Testing: init
Creating the R object 'r' ...
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK
Testing: io
......
----------------------------------------------------------------------
Ran 6 tests in 0.046s

OK
Testing: lapack_load
Warning message:
cannot open file 'logit.r', reason 'No such file or directory'
E
======================================================================
ERROR: testLapackLoad (test_lapack_load.LapackLoadTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Users/priggs/Documents/Programs/Python/rpy-1.0-RC2/tests/ 
test_lapack_load.py", line 20, in testLapackLoad
     r.source(fi)
RException: Error in file(file, "r", encoding = encoding) :
         unable to open connection


----------------------------------------------------------------------
Ran 1 test in 0.007s

FAILED (errors=1)
Testing: modes
............
----------------------------------------------------------------------
Ran 12 tests in 0.050s

OK
Testing: noninteractive
.
----------------------------------------------------------------------
Ran 1 test in 1.569s

OK
Testing: robj
.............
----------------------------------------------------------------------
Ran 13 tests in 0.062s

OK
Testing: sigint
F
======================================================================
FAIL: test handling of keyboard interrupt signals
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Users/priggs/Documents/Programs/Python/rpy-1.0-RC2/tests/ 
test_sigint.py", line 23, in testSigint
     self.failUnlessRaises(KeyboardInterrupt, sendsig)
AssertionError: KeyboardInterrupt not raised

----------------------------------------------------------------------
Ran 1 test in 0.001s

FAILED (failures=1)
Testing: topy
gc: collectable <IOTestCase 0x723fb0>
gc: collectable <dict 0x727420>
gc: collectable <cell 0x72f4d0>
gc: collectable <cell 0x72f4f0>
gc: collectable <cell 0x72f510>
gc: collectable <list 0x72d878>
gc: collectable <tuple 0x7291e8>
gc: collectable <function 0x726a70>
gc: collectable <cell 0x736930>
gc: collectable <tuple 0x7368f0>
gc: collectable <tuple 0x736970>
gc: collectable <function 0x730ab0>
gc: collectable <type 0x62d090>
gc: collectable <dict 0x7289c0>
gc: collectable <getset_descriptor 0x738490>
gc: collectable <getset_descriptor 0x738468>
gc: collectable <tuple 0x738418>
gc: collectable <tuple 0x736950>
gc: collectable <function 0x730af0>
gc: collectable <type 0x62d3b0>
gc: collectable <dict 0x728f60>
gc: collectable <getset_descriptor 0x7383f0>
gc: collectable <getset_descriptor 0x738440>
gc: collectable <tuple 0x7383c8>
..Warning message:
cannot open file 'table.txt', reason 'No such file or directory'
E.................
======================================================================
ERROR: testDataFrameToList (test_topy.TypeConversionToPyTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
   File "/Users/priggs/Documents/Programs/Python/rpy-1.0-RC2/tests/ 
test_topy.py", line 66, in testDataFrameToList
     assert(r.read_table('table.txt', header=1) ==
RException: Error in file(file, "r") : unable to open connection


----------------------------------------------------------------------
Ran 20 tests in 0.016s

FAILED (errors=1)
Testing: tor
...........Warning message:
NaNs produced in: log(x)
...
----------------------------------------------------------------------
Ran 14 tests in 0.003s

OK
Testing: util
...
----------------------------------------------------------------------
Ran 3 tests in 0.001s

OK
Testing: vars
.
----------------------------------------------------------------------
Ran 1 test in 0.001s

OK


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to