Package: python-rpy2
Version: 2.5.6-2
Severity: normal
Dear Maintainer,
After upgrading to version 2.5.6-2, importing the stats package generates the
following error:
rpy2.robjects.packages.LibraryError: The symbol format_perc in the package
"stats" is conflicting with a Python object attribute
Downgrading to 2.5.6-1 along with all of the r packages to their 2/9/2015
versions avoids this error.
Following is an illustration of the bug using a clean debian:unstable docker
image upgraded with the latest python-rpy2:
-----------
root@530ea8375f99:~# cat rpy2init.py
from rpy2 import robjects
from rpy2.robjects import Formula
from rpy2.robjects.vectors import IntVector, FloatVector, StrVector
from rpy2.robjects.lib import grid
from rpy2.robjects.packages import importr
from rpy2.rinterface import NA_Real
base = importr("base")
stats = importr("stats")
grdevices = importr("grDevices")
graphics = importr("graphics")
root@530ea8375f99:~# python rpy2init.py
Traceback (most recent call last):
File "rpy2init.py", line 8, in <module>
stats = importr("stats")
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/packages.py", line 412,
in importr
version = version)
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/packages.py", line 178,
in __init__
self.__fill_rpy2r__(on_conflict = on_conflict)
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/packages.py", line 280,
in __fill_rpy2r__
super(SignatureTranslatedPackage, self).__fill_rpy2r__(on_conflict =
on_conflict)
File "/usr/lib/python2.7/dist-packages/rpy2/robjects/packages.py", line 224,
in __fill_rpy2r__
'a Python object attribute')
rpy2.robjects.packages.LibraryError: The symbol format_perc in the package
"stats" is conflicting with a Python object attribute
root@530ea8375f99:~# dpkg -l | grep python-rpy2
ii python-rpy2 2.5.6-2 amd64 Python
interface to the GNU R language and environment (version 2)
root@530ea8375f99:~# dpkg -l | grep r-base-core
ii r-base-core 3.2.0-2 amd64 GNU R
core of statistical computation and graphics system
root@530ea8375f99:~# dpkg -l | grep python2.7
ii libpython2.7-minimal:amd64 2.7.9-2 amd64 Minimal
subset of the Python language (version 2.7)
ii libpython2.7-stdlib:amd64 2.7.9-2 amd64
Interactive high-level object-oriented language (standard library, version 2.7)
ii python2.7 2.7.9-2 amd64
Interactive high-level object-oriented language (version 2.7)
ii python2.7-minimal 2.7.9-2 amd64 Minimal
subset of the Python language (version 2.7)
root@530ea8375f99:~#
--------------
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-rpy2 depends on:
ii libbz2-1.0 1.0.6-7+b3
ii libc6 2.19-18
ii libgomp1 5.1.1-4
ii liblzma5 5.1.1alpha+20120614-2+b3
ii libpcre3 2:8.35-3.3
ii python 2.7.9-1
ii python-numpy 1:1.8.2-2
ii python-singledispatch 3.4.0.3-1
ii r-base-core 3.1.2-2
ii zlib1g 1:1.2.8.dfsg-2+b1
python-rpy2 recommends no packages.
Versions of packages python-rpy2 suggests:
pn python-rpy-docs <none>
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]