<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">In addition to the last error, when I quit and restart qgis after loading and installing the HomeRange plugin, I get this error during startup. Afterwards, the HomeRange plugin cannot be loaded:<div><br></div><div><div style="margin-top: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; text-indent: 0px; "><!--StartFragment--><span style=" color:#ff0000;">Couldn't load plugin "HomeRange_plugin" from ['/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/python', '/Users/jctull/.qgis//python/plugins', '/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/python/plugins', '/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages', '/Library/Python/2.5/site-packages/nose-0.11.0.dev_r560-py2.5.egg', '/Library/Python/2.5/site-packages/setuptools-0.6c9-py2.5.egg', '/Library/Python/2.5/site-packages/matplotlib-0.98.6svn-py2.5-macosx-10.3-i386.egg', '/Library/Python/2.5/site-packages/pytz-2008i-py2.5.egg', '/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg', '/Library/Python/2.5/site-packages/pyparsing-1.5.1-py2.5.egg', '/Library/Python/2.5/site-packages/PyOpenGL-3.0.0b8-py2.5.egg', '/Library/Python/2.5/site-packages/scipy-0.7.0-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/pyamg-1.0.0-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/numpy-1.2.1-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/simplejson-2.0.9-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/Shapely-1.0.11-py2.5.egg', '/Library/Python/2.5/site-packages/psycopg2-2.0.9-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/pymc-2.0-py2.5-macosx-10.3-i386.egg', '/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages', '/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages/wx-2.8-mac-unicode', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Python/2.5/site-packages', '/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/python/plugins/fTools/tools']</span><br><br>Traceback (most recent call last):<br>  File "", line 2, in <br>  File "/Users/jctull/.qgis//python/plugins/HomeRange_plugin/__init__.py", line 32, in <br>    from HRplugin_main import HRPlugin<br>  File "/Users/jctull/.qgis//python/plugins/HomeRange_plugin/HRplugin_main.py", line 40, in <br>    from HRplugin_dialog import Dialog<br>  File "/Users/jctull/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py", line 44, in <br>    from HRplugin_algorithm import *<br>  File "/Users/jctull/.qgis//python/plugins/HomeRange_plugin/HRplugin_algorithm.py", line 46, in <br>    import rpy2.robjects as robjects<br>  File "/Library/Python/2.5/site-packages/rpy2/robjects/__init__.py", line 12, in <br>    import rpy2.rinterface as rinterface<br>  File "/Library/Python/2.5/site-packages/rpy2/rinterface/__init__.py", line 6, in <br>    R_HOME = os.popen("R RHOME").readlines()<br>IOError: [Errno 4] Interrupted system call<br><br>Python version:<br>2.5.1 (r251:54863, Jan 13 2009, 10:26:13) <br>[GCC 4.0.1 (Apple Inc. build 5465)]<br><br>Python path:['/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/python', '/Users/jctull/.qgis//python/plugins', '/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/python/plugins', '/Library/Frameworks/GDAL.framework/Versions/1.6/Python/site-packages', '/Library/Python/2.5/site-packages/nose-0.11.0.dev_r560-py2.5.egg', '/Library/Python/2.5/site-packages/setuptools-0.6c9-py2.5.egg', '/Library/Python/2.5/site-packages/matplotlib-0.98.6svn-py2.5-macosx-10.3-i386.egg', '/Library/Python/2.5/site-packages/pytz-2008i-py2.5.egg', '/Library/Python/2.5/site-packages/py2app-0.3.6-py2.5.egg', '/Library/Python/2.5/site-packages/pyparsing-1.5.1-py2.5.egg', '/Library/Python/2.5/site-packages/PyOpenGL-3.0.0b8-py2.5.egg', '/Library/Python/2.5/site-packages/scipy-0.7.0-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/pyamg-1.0.0-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/numpy-1.2.1-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/simplejson-2.0.9-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/Shapely-1.0.11-py2.5.egg', '/Library/Python/2.5/site-packages/psycopg2-2.0.9-py2.5-macosx-10.5-i386.egg', '/Library/Python/2.5/site-packages/pymc-2.0-py2.5-macosx-10.3-i386.egg', '/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages', '/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages/wx-2.8-mac-unicode', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python25.zip', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/lib-dynload', '/Library/Python/2.5/site-packages', '/usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5', '/System/Library/Frameworks/Python.framework/Versions/2.5/Extras/lib/python/PyObjC', '/Applications/qgis1.1.0.app/Contents/MacOS/share/qgis/python/plugins/fTools/tools']<!--EndFragment--></div></div><div><br><div><div>On Apr 9, 2009, at 1:31 AM, Anne Ghisla wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>John C. Tull ha scritto:<br><blockquote type="cite">I've worked out the OS X linking issues. When I run on a modest dataset, I now receive the following error. I'd be happy to test with another shapefile of points if it will help.<br></blockquote><blockquote type="cite">An error has occured while executing Python code:<br></blockquote><blockquote type="cite">Traceback (most recent call last):<br></blockquote>[cut]<br><blockquote type="cite">RRuntimeError: Error in kernelUD(dd[, c("X", "Y")], dd[, "ID"], h = "LSCV", grid = grid) :<br></blockquote><blockquote type="cite">  At least 5 relocations are required to fit an home range<br></blockquote><br>this is a normal R error - to compute homeranges, subsets of points determined by the attribute in the colum you chose (for esample animal ID, month, year...) must contain at least 5 points. Even one subset with <5 points raises this error.<br>I suggest to group points by another column.<br>On my side, I will change the code to avoid Python error, and raise a info window instead.<br><br>many thanks and best regards,<br><br>Anne<br><br><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">Qgis-user mailing list<br></blockquote><blockquote type="cite"><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br></blockquote><blockquote type="cite"><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br></blockquote><br></div></blockquote></div><br></div></body></html>