[Qgis-user] Mac - problem with python

António Manuel Rodrigues amrodrigues at fcsh.unl.pt
Wed May 23 03:19:58 PDT 2012


(Apologies for double posting of previous message)

I updated from kyngchaos all frameworks and when trying to reun ManageR, I get:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/Users/amrodrigues/.qgis/python/plugins/manageR/plugin.py", line 58, in run
    from manageR import MainWindow, loadConfig, saveConfig
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Users/amrodrigues/.qgis/python/plugins/manageR/manageR.py", line 68, in 
    import rpy2.robjects as robjects
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Library/Python/2.6/site-packages/rpy2/robjects/__init__.py", line 14, in 
    import rpy2.rinterface as rinterface
  File "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/Library/Python/2.6/site-packages/rpy2/rinterface/__init__.py", line 6, in 
    R_HOME = os.popen("R RHOME").readlines()
IOError: [Errno 4] Interrupted system call

Python version:
2.6.1 (r261:67515, Aug  2 2010, 20:10:18) 
[GCC 4.2.1 (Apple Inc. build 5646)]


QGIS version:
1.7.4-Wroclaw Wroclaw, 

Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python', '/Users/amrodrigues/.qgis/python', '/Users/amrodrigues/.qgis/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/3/Python/2.6', '/Library/Python/2.6/site-packages/numpy-override', '/Library/Frameworks/GDAL.framework/Versions/1.9/Python/2.6/site-packages', '/Library/Python/2.6/site-packages/simplejson-2.1.5-py2.6-macosx-10.6-universal.egg', '/Library/Python/2.6/site-packages/setuptools-0.6c12dev_r88795-py2.6.egg', '/Library/Frameworks/cairo.framework/Versions/1/Python/2.6', '/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', '/Library/Python/2.6/site-packages/PIL', '/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', '~/.qgis/python', '/Users/amrodrigues/.qgis/python/plugins/fTools/tools', '/Users/amrodrigues/.qgis/python/plugins/openlayersov/logic', '/Users/amrodrigues/.qgis/python/plugins/openlayersov/gui']

Any clues?
Thank you,
António

On 23 May 2012, at 10:44, António Manuel Rodrigues wrote:

> Hi all,
> 
> This issue has been discussed in previous threads but I can't seem be able to solve it, hence this e-mail.
> 
> In my Macbook, whenever trying to run any python module I get an error. I'm pretty sure it has to do with different python versions installed in the system, but I do not know how to solve this.
> 
> Any help, please?
> 
> (part of the error message)
> Python version:
> 2.6.1 (r261:67515, Aug  2 2010, 20:10:18) 
> [GCC 4.2.1 (Apple Inc. build 5646)]
> 
> 
> QGIS version:
> 1.7.0-Wroclaw Wroclaw, + 0
> 
> Python path: ['/Applications/vvork/QGIS.app/Contents/MacOS/../Resources/python', '/Users/amrodrigues/.qgis/python', '/Users/amrodrigues/.qgis/python/plugins', '/Applications/vvork/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/3/Python',
> 
> -----
> Thank you,
> António_______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120523/734cf77d/attachment.html>


More information about the Qgis-user mailing list