[Qgis-user] Re: Error loading HomeRange plugin on Mac OSX[was: Re: Fwd: Hello, ]

adigby andrewdigby at mac.com
Sun Jun 20 16:58:18 PDT 2010



I'm also having the "interrupted system call" problem with the HomeRange
plugin on Mac OS X. I've installed all the dependencies as listed on the
HomeRange wiki, but the plugin falls over at "import rpy2.robjects as
robjects". This command works fine in the QGIS python console. Any
suggestions gratefully received!

Mac OS X 10.6.4
QGIS 1.4.0
R64 2.11.1 
Python 2.6.1 (system)
rpy2 2.1.3



Couldn't load plugin 'HomeRange_plugin' from
['/Users/andrew/.qgis/python/plugins/elevation',
'/Applications/Qgis.app/Contents/MacOS/../Resources/python',
'/Users/andrew/.qgis//python', '/Users/andrew/.qgis//python/plugins',
'/Applications/Qgis.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/GDAL.framework/Versions/1.7/Python/site-packages',
'/Library/Python/2.6/site-packages/rpy2-2.1.3dev_20100619-py2.6-macosx-10.6-universal.egg',
'/Library/Frameworks/cairo.framework/Versions/1/Python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode',
'/Applications/Qgis.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/andrew/.qgis/python/plugins/GdalTools/tools',
'/Users/andrew/.qgis/python/plugins/GdalTools']

Traceback (most recent call last):
  File
"/Applications/Qgis.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 119, in loadPlugin
    __import__(packageName)
  File "/Users/andrew/.qgis//python/plugins/HomeRange_plugin/__init__.py",
line 37, in 
    from HRplugin_main import HRPlugin
  File
"/Users/andrew/.qgis//python/plugins/HomeRange_plugin/HRplugin_main.py",
line 37, in 
    from HRplugin_dialog import Dialog
  File
"/Users/andrew/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py",
line 44, in 
    import rpy2.robjects as robjects
  File "build/bdist.macosx-10.6-universal/egg/rpy2/robjects/__init__.py",
line 14, in 
    # The QGIS Elevation plugin is distributed in the hope that it will be
  File "build/bdist.macosx-10.6-universal/egg/rpy2/rinterface/__init__.py",
line 6, in 
    #
IOError: [Errno 4] Interrupted system call

Python version:
2.6.1 (r261:67515, Feb 11 2010, 00:51:29) 
[GCC 4.2.1 (Apple Inc. build 5646)]

Python path: ['/Users/andrew/.qgis/python/plugins/elevation',
'/Applications/Qgis.app/Contents/MacOS/../Resources/python',
'/Users/andrew/.qgis//python', '/Users/andrew/.qgis//python/plugins',
'/Applications/Qgis.app/Contents/MacOS/../Resources/python/plugins',
'/Library/Frameworks/SQLite3.framework/Versions/3/Python',
'/Library/Frameworks/GDAL.framework/Versions/1.7/Python/site-packages',
'/Library/Python/2.6/site-packages/rpy2-2.1.3dev_20100619-py2.6-macosx-10.6-universal.egg',
'/Library/Frameworks/cairo.framework/Versions/1/Python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python26.zip',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-darwin',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/plat-mac/lib-scriptpackages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-tk',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-old',
'/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/lib-dynload',
'/Library/Python/2.6/site-packages',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/PyObjC',
'/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode',
'/Applications/Qgis.app/Contents/Resources/python/plugins/fTools/tools',
'/Users/andrew/.qgis/python/plugins/GdalTools/tools',
'/Users/andrew/.qgis/python/plugins/GdalTools']
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Fwd-Hello-tp3267307p5202484.html
Sent from the qgis-user mailing list archive at Nabble.com.



More information about the Qgis-user mailing list