[Qgis-developer] Home range plugin error

Otto Dassau otto.dassau at gmx.de
Wed Jul 22 15:13:25 EDT 2009


Hi, 

I wanted to test the home range plugin on debian and opensuse with some point
data. I have R and rpy2 installed but get following error message: How can this
be fixed?

thanks a lot
 Otto

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/home/dassau/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py",
line 75, in     QObject.connect(self.buttonBox, SIGNAL("accepted()"), lambda
mth=mth: self.run(mth))  File
"/home/dassau/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py", line
170, in run    output = Rcall(geomData, opt)
  File
"/home/dassau/.qgis//python/plugins/HomeRange_plugin/HRplugin_algorithm.py",
line 65, in Rcall    rpy.set_default_mode(rpy.NO_CONVERSION)
NameError: global name 'rpy' is not defined

Python version:
2.5.2 (r252:60911, Jan  4 2009, 18:00:02) 
[GCC 4.3.2]

Python path:['/usr/local/share/qgis/python',
'/home/dassau/.qgis//python/plugins', '/usr/local/share/qgis/python/plugins',
'/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2',
'/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload',
'/usr/local/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages',
'/usr/lib/python2.5/site-packages/Numeric',
'/usr/lib/python2.5/site-packages/PIL', '/var/lib/python-support/python2.5',
'/var/lib/python-support/python2.5/gtk-2.0',
'/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode',
'/usr/local/share/qgis/python/plugins/fTools/tools']


More information about the Qgis-developer mailing list