rpy fails to import in oneiric due to version mismatch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rpy (Debian) |
Fix Released
|
Unknown
|
|||
rpy (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Maverick |
Fix Released
|
Medium
|
Julian Taylor | ||
Oneiric |
Fix Released
|
Medium
|
Julian Taylor |
Bug Description
rpy needs to be rebuilt against R 2.13.1. One can't import the python module as it is built against R 2.13.0 which does not exist in oneiric anymore.
TESTCASE:
apt-get install python-rpy
python -c "import rpy"
expected result:
sucessful import no further output
oneiric result:
traceback:
File "/usr/lib/
""" % RVERSION)
RuntimeError: No module named _rpy2131
Development fix:
will need to be fixed in precise, this will happen automatically with 2.40 migrates from debian but will require further observing to prevent it from breaking again for the release.
Stable fix:
a simple rebuild fixes the issue
Original report:
When I try to load the rpy module using the versions of r-base and python-rpy that ship with oneiric, I get:
>>> import rpy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
""" % RVERSION)
RuntimeError: No module named _rpy2131
RPy module can not be imported. Please check if your rpy
installation supports R 2.13.1. If you have multiple R versions
installed, you may need to set RHOME before importing rpy. For
example:
>>> from rpy_options import set_options
>>> set_options(
>>> from rpy import *
This appears to be a recurrence of bug 667795, which affected maverick. I assume the problem is just that rpy was built for the wrong version of R (expects 2.13.0, but 2.13.1 was shipped with oneiric). Indeed, other oneiric users are reporting the same issue in the thread for 667795, but I am reporting this separately because there doesn't appear to be anyone taking notice of those comments since the host bug is closed.
Changed in rpy (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
description: | updated |
Changed in rpy (Ubuntu Maverick): | |
status: | Confirmed → Fix Committed |
assignee: | nobody → Julian Taylor (jtaylor) |
importance: | Undecided → Medium |
Changed in rpy (Debian): | |
status: | Unknown → New |
tags: | added: verification-done-oneiric |
Changed in rpy (Debian): | |
status: | New → Fix Released |
tags: | added: verification-done |
Uploaded rebuild to oneiric-proposed. Please copy-up.