version mismatch between gutsy GNU R packages and python-rpy package

Bug #134359 reported by schalkpd
This bug report is a duplicate of:  Bug #128180: rpy import error at Gusty. Edit Remove
2
Affects Status Importance Assigned to Milestone
rpy (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: python-rpy

When importing the rpy module (provided by the python-rpy package) there is a version mismatch between the R package and python module that prevents importing of the module.
$ python
Python 2.5.1 (r251:54863, Aug 17 2007, 18:40:36)
[GCC 4.1.3 20070812 (prerelease) (Ubuntu 4.1.2-15ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from rpy import *
RHOME= /usr/lib/R
RVERSION= 2.5.1
RVER= 2051
RUSER= /home/schalkpd
Loading Rpy version 2051 ..
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/rpy.py", line 112, in <module>
    exec("import _rpy%s as _rpy" % RVER)
  File "<string>", line 1, in <module>
ImportError: dynamic module does not define init function (init_rpy2051)

The module that exists is _rpy2050, and renaming it to _rpy2051 does not solve the problem (it finds the file but brings up further errors).

Revision history for this message
schalkpd (schalkpd+launchpad) wrote :

This is a duplicate of bug 128180. Didn't see it before posting here.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.