[Qgis-user] Re: Problem activating manageR

Claudia A Engel cengel at stanford.edu
Thu May 22 10:18:14 PDT 2008


FYI - I have the same problem with the joinattributes plugin -- see  
below.
Claudia

Couldn't load plugin "joinattributes" from ['/Users/cc/.qgis//python/ 
plugins', '/Applications/qgis-0.10.0/qgis0.10.0.app/Contents/MacOS/ 
share/qgis/python', '/Applications/qgis-0.10.0/qgis0.10.0.app/ 
Contents/MacOS/share/qgis/python/plugins', '/System/Library/ 
Frameworks/Python.framework/Versions/2.3/lib/python23.zip', '/System/ 
Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3', '/ 
System/Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/ 
2.3/lib/python2.3/plat-mac', '/System/Library/Frameworks/ 
Python.framework/Versions/2.3/lib/python2.3/plat-mac/lib- 
scriptpackages', '/System/Library/Frameworks/Python.framework/ 
Versions/2.3/lib/python2.3/lib-tk', '/System/Library/Frameworks/ 
Python.framework/Versions/2.3/lib/python2.3/lib-dynload', '/System/ 
Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/site- 
packages', '/System/Library/Frameworks/Python.framework/Versions/2.3/ 
Extras/lib/python']
Traceback (most recent call last): File "", line 3, in ? File "/Users/ 
cc/.qgis//python/plugins/joinattributes/__init__.py", line 34, in ?   
from joinAttributes import joinAttributesPluginImportError: cannot  
import name joinAttributesPlugin

_________________________
Claudia A Engel
Department of Anthropology
Stanford University


On May 22, 2008, at 10:00 AM, Carson Farmer wrote:
> Hi Don,
>
> Unfortunately I don't have access to Mac OS X these days, so  
> perhaps someone else from this list has some suggestions? It sounds  
> like you're on the right track with the problem, but unfortunately  
> I don't have a solution for you at the moment. Does this behaviour  
> occur with all python plugins, or just manageR?
>
> You may have to specify which python path you want to use in  
> your .bash_login file ($PATH)? Are you able to remove the older  
> python version?
>
> Carson
>
> Don MacQueen wrote:
>> Carson,
>>
>> I decided to try manageR and ran into a problem. It appears to be  
>> specific to Mac OS X, but I'm hoping you or someone on this list  
>> will be able to help. It installs correctly, as far as I can tell,  
>> but does not activate.
>>
>> When I go activate manageR  using the QGis plugin manager, I get  
>> this:
>>
>> Couldn't load plugin "manageR" from ['/Users/macq/.qgis//python/ 
>> plugins', '/Applications/qgis0.10.0.app/Contents/MacOS/share/qgis/ 
>> python', '/Applications/qgis0.10.0.app/Contents/MacOS/share/qgis/ 
>> python/plugins', '/System/Library/Frameworks/Python.framework/ 
>> Versions/2.3/lib/python23.zip', '/System/Library/Frameworks/ 
>> Python.framework/Versions/2.3/lib/python2.3', '/System/Library/ 
>> Frameworks/Python.framework/Versions/2.3/lib/python2.3/plat- 
>> darwin', '/System/Library/Frameworks/Python.framework/Versions/2.3/ 
>> lib/python2.3/plat-mac', '/System/Library/Frameworks/ 
>> Python.framework/Versions/2.3/lib/python2.3/plat-mac/lib- 
>> scriptpackages', '/System/Library/Frameworks/Python.framework/ 
>> Versions/2.3/lib/python2.3/lib-tk', '/System/Library/Frameworks/ 
>> Python.framework/Versions/2.3/lib/python2.3/lib-dynload', '/System/ 
>> Library/Frameworks/Python.framework/Versions/2.3/lib/python2.3/ 
>> site-packages', '/System/Library/Frameworks/Python.framework/ 
>> Versions/2.3/Extras/lib/python'] Traceback (most recent call last):
>>  File "", line 3, in ?
>>  File "/Users/macq/.qgis//python/plugins/manageR/__init__.py",  
>> line 35, in ?
>>   from manageR import manageRPlugin ImportError: cannot import  
>> name manageRPlugin
>>
>>
>> Note that version 2.3 of python is being searched, within /System/ 
>> Library/...
>>
>> QGis itself requires a newer version of python than comes with the  
>> OS.
>> The OS X binary installer for Qgis installes python 2.5 in
>>     /Library/Frameworks
>> *** not *** /System/Library
>> Which means that I now have two versions of python installed.
>>
>> It looks like there's a search path that is searching the wrong  
>> python installation, so maybe the wrong python is being used to  
>> load the plugin??
>>
>> But I don't know where that search path is defined or controlled.  
>> Any suggestions will be appreciated
>>
>> Thanks
>> -Don
>>
>>
>> p.s.
>> With regard to having two versions of python:
>>
>> python[118]% which python
>> /usr/local/bin/python
>> python[119]% python --version
>> Python 2.5.1
>> python[120]% /usr/bin/python -V
>> Python 2.3.5
>>
>> And /usr/local/bin/python is actually a link to the python in / 
>> Library/... (not /System/Library/....)
>>
>> I did downloaded and installed NumPy and Rpy, and a few tests  
>> succeeded.
>>
>> At 12:09 AM -0700 5/14/08, cfarmer wrote:
>>> Hello lists,
>>>
>>> For those of you who are interested, a new version of manageR is now
>>> available at http://www.geog.uvic.ca/spar/carson/ or via
>>> http://www.geog.uvic.ca/spar/carson/cfarmerQgisRepo.xml from the  
>>> QGIS
>>> python plugin installer.
>>>
>>> This latest release includes a few big fixes, the ability  
>>> (hopefully?!) to
>>> check all libPaths for installed packages, and the ability to
>>> automatically write sp objects to file and load them in QGIS.  
>>> This was a
>>> pretty quick update, so please feel free to push the plugin to  
>>> the limits,
>>> and let me know what the outcome is...
>>>
>>> Cheers,
>>>
>>> Carson
>>>
>>> Spatial Pattern Analysis & Research Lab (SPAR)
>>> Department of Geography, University of Victoria
>>> www.geog.uvic.ca/spar/carson
>>> cfarmer at uvic.ca
>>>
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list