[Qgis-user] Processing plugin upgrade problem

Fabrizio murè fabriziomure at gmail.com
Thu Dec 5 02:00:07 PST 2013


Hi list, I have a similar problem.
I updated my QGIS and when I try to install Processing plugin I get this
error.
I don't solve the problem  even if I close and re-open QGIS..

here is my Python Error Message:

Impossibile caricare il plugin 'processing' da
['C:/OSGeo4W/apps/qgis/./python', 'C:\Users\f.mure/.qgis2/python',
'C:\Users\f.mure/.qgis2/python/plugins',
'C:/OSGeo4W/apps/qgis/./python/plugins',
'C:\OSGeo4W\apps\Python27\lib\site-packages\setuptools-0.9.8-py2.7.egg',
'C:\OSGeo4W\apps\orfeotoolbox\wrapping\lib',
'C:\OSGeo4W\apps\orfeotoolbox\wrapping\Python',
'C:\OSGeo4W\apps\orfeotoolbox\python',
'C:\Users\f.mure\.qgis2\python\plugins', 'C:\OSGeo4W\bin\python27.zip',
'C:\OSGeo4W\apps\Python27\DLLs', 'C:\OSGeo4W\apps\Python27\lib',
'C:\OSGeo4W\apps\Python27\lib\plat-win',
'C:\OSGeo4W\apps\Python27\lib\lib-tk', 'C:\OSGeo4W\bin',
'C:\OSGeo4W\apps\Python27', 'C:\OSGeo4W\apps\Python27\lib\site-packages',
'C:\OSGeo4W\apps\Python27\lib\site-packages\PIL',
'C:\OSGeo4W\apps\Python27\lib\site-packages\win32',
'C:\OSGeo4W\apps\Python27\lib\site-packages\win32\lib',
'C:\OSGeo4W\apps\Python27\lib\site-packages\Pythonwin',
'C:\OSGeo4W\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg',
'C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode',
'C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools', 'C:/Dati
Utente/f.mure/work/UTILITY/QGIS/FromLutra/GISRUK 2012 Day 2 - Writing
Python Plugins for QGIS for Beginners/Data']

Traceback (most recent call last):
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 182, in
loadPlugin
    __import__(packageName)
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users\f.mure/.qgis2/python/plugins\processing\__init__.py", line
29, in
    from processing.tools.general import *
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\Users\f.mure/.qgis2/python/plugins\processing\tools\general.py",
line 29, in
    from processing.core.Processing import Processing
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\Users\f.mure/.qgis2/python/plugins\processing\core\Processing.py", line
48, in
    from processing.algs.QGISAlgorithmProvider import QGISAlgorithmProvider
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\Users\f.mure/.qgis2/python/plugins\processing\algs\QGISAlgorithmProvider.py",
line 102, in
    from processing.algs.CreateConstantRaster import CreateConstantRaster
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\Users\f.mure/.qgis2/python/plugins\processing\algs\CreateConstantRaster.py",
line 30, in
    from processing.core.RasterWriter import RasterWriter
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\Users\f.mure/.qgis2/python/plugins\processing\core\RasterWriter.py",
line 28, in
    import numpy
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\__init__.py", line
136, in
    import add_newdocs
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\add_newdocs.py",
line 9, in
    from numpy.lib import add_newdoc
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\lib\__init__.py",
line 4, in
    from type_check import *
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\lib\type_check.py", line
8, in
    import numpy.core.numeric as _nx
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\core\__init__.py",
line 11, in
    from numeric import *
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\core\numeric.py",
line 1315, in
    from arrayprint import array2string, get_printoptions, set_printoptions
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 453, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:\OSGeo4W\apps\Python27\lib\site-packages\numpy\core\arrayprint.py", line
19, in
    from fromnumeric import ravel
ImportError: cannot import name ravel

Versione Python:
2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]


Versione di QGIS:
2.0.1-Dufour Dufour, ebebdf3

Percorso Python: ['C:/OSGeo4W/apps/qgis/./python',
'C:\\Users\\f.mure/.qgis2/python',
'C:\\Users\\f.mure/.qgis2/python/plugins',
'C:/OSGeo4W/apps/qgis/./python/plugins',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\setuptools-0.9.8-py2.7.egg',
'C:\\OSGeo4W\\apps\\orfeotoolbox\\wrapping\\lib',
'C:\\OSGeo4W\\apps\\orfeotoolbox\\wrapping\\Python',
'C:\\OSGeo4W\\apps\\orfeotoolbox\\python',
'C:\\Users\\f.mure\\.qgis2\\python\\plugins',
'C:\\OSGeo4W\\bin\\python27.zip', 'C:\\OSGeo4W\\apps\\Python27\\DLLs',
'C:\\OSGeo4W\\apps\\Python27\\lib',
'C:\\OSGeo4W\\apps\\Python27\\lib\\plat-win',
'C:\\OSGeo4W\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGeo4W\\bin',
'C:\\OSGeo4W\\apps\\Python27',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\PIL',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\win32\\lib',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Pythonwin',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win32.egg',
'C:\\OSGeo4W\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools', 'C:/Dati
Utente/f.mure/work/UTILITY/QGIS/FromLutra/GISRUK 2012 Day 2 - Writing
Python Plugins for QGIS for Beginners/Data']



Processing is correctly downloaded in  .qgis2\python\plugins folder


Any idea?
Thanks in advance

Fabrizio


2013/11/7 G. Allegri <giohappy at gmail.com>

> I've noticed that it happens with Windows standalone installer too but not
> with OSGeo4W.
>
> giovanni
>
>
> 2013/11/7 Werner Macho <werner.macho at gmail.com>
>
>> Hi!
>>
>> I had the same error .. It is nothing serious .. it tells you more or
>> less that the upgrade was successful .. (because it does not find old
>> files)
>> just close and reopen QGIS and everything will be fine ..
>>
>> regards
>> Werner
>>
>> On Thu, Nov 7, 2013 at 12:16 PM, Julian Bogdani <jbogdani at gmail.com>
>> wrote:
>> > Hello all,
>> > I’m running latest QGIS (2.0.1-3) installed from Kyngchaos repo, on
>> MacOS X
>> > 10.9 (Mavericks)
>> > trying to upgrade Processing plugin, to get advantage of this fix: Bug
>> > #8877: Kriging from SAGA (Processing) fails to run I get the following
>> > error.
>> > Any hint? Thank you
>> >
>> >
>> >
>> > Couldn't load plugin 'processing' from
>> >
>> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
>> > '/Applications/QGIS.app/Contents/MacOS/../Resources/python',
>> > '/Users/jbogdani/.qgis2/python',
>> '/Users/jbogdani/.qgis2/python/plugins',
>> > '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
>> > '/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.7',
>> > '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7',
>> > '/Library/Python/2.7/site-packages/numpy-override',
>> >
>> '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
>> > '/Library/Python/2.7/site-packages',
>> > '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']
>> >
>> > Traceback (most recent call last):
>> >   File
>> >
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>> > line 182, in loadPlugin
>> >     __import__(packageName)
>> >   File
>> >
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>> > line 453, in _import
>> >     mod = _builtin_import(name, globals, locals, fromlist, level)
>> >   File "/Users/jbogdani/.qgis2/python/plugins/processing/__init__.py",
>> line
>> > 29, in
>> >     from processing.tools.general import *
>> >   File
>> >
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>> > line 453, in _import
>> >     mod = _builtin_import(name, globals, locals, fromlist, level)
>> >   File
>> "/Users/jbogdani/.qgis2/python/plugins/processing/tools/general.py",
>> > line 29, in
>> >     from processing.core.Processing import Processing
>> >   File
>> >
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>> > line 453, in _import
>> >     mod = _builtin_import(name, globals, locals, fromlist, level)
>> >   File
>> >
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
>> > line 35, in
>> >     from processing.gui.AlgorithmExecutor import AlgorithmExecutor
>> >   File
>> >
>> "/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
>> > line 453, in _import
>> >     mod = _builtin_import(name, globals, locals, fromlist, level)
>> > ImportError: No module named AlgorithmExecutor
>> >
>> > Python version:
>> > 2.7.5 (default, Aug 25 2013, 00:04:04)
>> > [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
>> >
>> >
>> > QGIS version:
>> > 2.0.1-Dufour Dufour, f738351
>> >
>> > Python path:
>> >
>> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
>> > '/Applications/QGIS.app/Contents/MacOS/../Resources/python',
>> > '/Users/jbogdani/.qgis2/python',
>> '/Users/jbogdani/.qgis2/python/plugins',
>> > '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
>> > '/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.7',
>> > '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7',
>> > '/Library/Python/2.7/site-packages/numpy-override',
>> >
>> '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
>> >
>> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
>> > '/Library/Python/2.7/site-packages',
>> > '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools']
>> >
>> >
>> >
>> >
>> >
>> > -----
>> > Julian Bogdani
>> > jbogdani at gmail.com
>> > http://bradypus.net
>> >
>> >
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > 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
>
>
>
>
> --
> Giovanni Allegri
> http://about.me/giovanniallegri
> blog: http://blog.spaziogis.it
> GEO+ geomatica in Italia http://bit.ly/GEOplus
>
> _______________________________________________
> 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/20131205/47d12c97/attachment.html>


More information about the Qgis-user mailing list