On 1 September 2009 at 11:44, Yaroslav Halchenko wrote: | | Sorry for the too loud of a severity.. and I bet I am at fault somewhere but | might be not... | | $> python2.5 -c 'import rpy' | | *** caught segfault *** | address (nil), cause 'memory not mapped' | | Possible actions: | 1: abort (with core dump, if enabled) | 2: normal R exit | 3: exit R without saving workspace | 4: exit R saving workspace | Selection: Exception in thread Thread-1: | Traceback (most recent call last): | File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner | self.run() | File "/usr/lib/python2.5/threading.py", line 446, in run | self.__target(*self.__args, **self.__kwargs) | File "/usr/lib/python2.5/site-packages/rpy.py", line 226, in r_eventloop | _r_lock.release() | error: release unlocked lock
To add insult to injury, this works on my Ubuntu box at work using Python 2.6, the CRAN-port of rpy and a rebuild of my Debian R package: $ python Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18) [GCC 4.3.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from rpy import *; >>> $ COLUMNS=72 dpkg -l python-rpy r-base-core Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==============-==============-============================================ ii python-rpy 1.0.3-9jaunty0 Python interface to the GNU R language and e ii r-base-core 2.9.2-1ubuntu1 GNU R core of statistical computation and gr $ Dirk | -- System Information: | Debian Release: squeeze/sid | APT prefers testing | APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental') | Architecture: amd64 (x86_64) | | Kernel: Linux 2.6.31-rc5-amd64 (SMP w/2 CPU cores) | Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) | Shell: /bin/sh linked to /bin/bash | | Versions of packages python-rpy depends on: | ii libc6 2.9-23 GNU C Library: Shared libraries | ii python 2.5.4-2 An interactive high-level object-o | ii python-central 0.6.11 register and build utility for Pyt | ii python-numpy 1:1.2.1-1.1 Numerical Python adds a fast array | ii r-base-core 2.9.2-1 GNU R core of statistical computat | | python-rpy recommends no packages. | | Versions of packages python-rpy suggests: | pn python-rpy-docs <none> (no description available) | | -- no debconf information | | -- Three out of two people have difficulties with fractions. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org