Hi all,
With all this, I was able to install and enable the HomeRange plugin in Qgis 1.1.0 once - it loaded and showed up in the plugins menu. After restarting Qgis, I got an error loading HomeRange:

Traceback (most recent call last):
  File "", line 2, in
File "/Users/kyngchaos/.qgis//python/plugins/HomeRange_plugin/__init__.py", line 32, in
    from HRplugin_main import HRPlugin
File "/Users/kyngchaos/.qgis//python/plugins/HomeRange_plugin/HRplugin_main.py", line 40, in
    from HRplugin_dialog import Dialog
File "/Users/kyngchaos/.qgis//python/plugins/HomeRange_plugin/HRplugin_dialog.py", line 44, in
    from HRplugin_algorithm import *
File "/Users/kyngchaos/.qgis//python/plugins/HomeRange_plugin/HRplugin_algorithm.py", line 46, in
    import rpy2.robjects as robjects
File "/Library/Python/2.5/site-packages/rpy2/robjects/__init__.py", line 12, in
    import rpy2.rinterface as rinterface
File "/Library/Python/2.5/site-packages/rpy2/rinterface/__init__.py", line 6, in
    R_HOME = os.popen("R RHOME").readlines()
IOError: [Errno 4] Interrupted system call
This appears to be a general PyQt problem with 'popen', and appears to be especially problematic for macs. I think what's happening is that PyQt is interrupting the (slower?) os.popen command, making it impossible for rpy2 to find RHOME. This is why things work when entered into a normal console... I have yet to find a way to effectively fix it, but I'm going to look into it further tonight, so hopefully I'll have a solution in the next few days. It actually doesn't happen all the time, which makes it slightly harder to pin down. ...

Carson

--
Carson J. Q. Farmer
ISSP Doctoral Fellow
National Centre for Geocomputation (NCG),
Email: [email protected]
Web:   http://www.carsonfarmer.com/
      http://www.ftools.ca/


_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to