[Qgis-developer] Home range plugin error

Anne Ghisla a.ghisla at gmail.com
Fri Jul 24 05:13:18 EDT 2009


Il giorno mer, 22/07/2009 alle 21.13 +0200, Otto Dassau ha scritto:
> 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?

Hi Otto, list,

the problem is fixed in r209 on SVN repository - will come soon also on
Faunalia's 3rd party repository. Updated version of the plugin is
2.0.2. 
This is actually a patch, the module needs substantial cleanup.
I tested it on Debian Squeeze, Python 2.5.4, python-rpy2 2.0.4a-1. Hope
it works also on Opensuse.

best regards, 

Anne

> 
> 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']
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : http://lists.osgeo.org/pipermail/qgis-developer/attachments/20090724/13bd4a20/attachment.bin


More information about the Qgis-developer mailing list