[Qgis-developer] erroR in py plugins

Stefan Kiefer st_kiefer at web.de
Thu Apr 1 11:47:48 EDT 2010


have you build rpy2 by yourself? maybe a path was not set properly or
something like that?
Unformatunately I have rpy 2.0.4, so I can not reproduce that.
As far as I can follow the code and the error it stops connecting to the
R Binary. This one probably points not to the libR.so.
So maybe something went wrong While building rpy2. That is what this is
looking to me ...
have you used easy-install, or at least modified the setup.cfg to your
needs, when build yourself?

cheers

Stefan
Am Donnerstag, den 01.04.2010, 16:29 +0200 schrieb Paolo Cavallini:

> Hi all.
> I'm getting errors after an upgrade and recompilation from trunk:
> 
> ===
> Traceback (most recent call last):
> File "/home/paolo/.qgis/python/plugins/manageR/plugin.py", line 58, in run
> from manageR import MainWindow, loadConfig, saveConfig
> File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 284, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/home/paolo/.qgis/python/plugins/manageR/manageR.py", line 41, in 
> from QLayerConverter import QVectorLayerConverter, QRasterLayerConverter
> File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 284, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/home/paolo/.qgis/python/plugins/manageR/QLayerConverter.py", line
> 38, in 
> import rpy2.robjects as robjects
> File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 284, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/lib/python2.6/dist-packages/rpy2/robjects/__init__.py", line 12,
> in 
> import rpy2.rinterface as rinterface
> File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 284, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> File "/usr/lib/python2.6/dist-packages/rpy2/rinterface/__init__.py", line
> 75, in 
> from rpy2.rinterface.rinterface import *
> File "/usr/lib/python2.6/dist-packages/qgis/utils.py", line 284, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
> ImportError: libR.so: cannot open shared object file: No such file or
> directory
> ===
> 
> I have  python-rpy2 2.1.0~20100314-1
> Any idea?
> 
> All the best.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100401/0074519c/attachment.html


More information about the Qgis-developer mailing list