[Qgis-user] [Processing] error updating "Processing"

skampus skampus at gmail.com
Thu Dec 3 00:13:34 PST 2015


hi, i have some installation of qgis on my windows 8.
I installed via osgeo4w:
2.8.4-2 (LTR dev)
2.12.1-1 (Lyon)
2.13.0-21 (dev)

but there is a problem with the update processing.
In fact, if I upgrade it to 2.12.2 from 2.10.99, a directory called
"processing" is created in C:\ Users\ ... \. qgis2\python\ plugins folder
and this error comes out:

Couldn't load plugin 'processing' 

ImportError: cannot import name spatialite_utils 
Traceback (most recent call last):
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 281, in
loadPlugin
    __import__(packageName)
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/11186cs/.qgis2/python/plugins\processing\__init__.py", line
29, in 
    from processing.tools.general import *
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/11186cs/.qgis2/python/plugins\processing\tools\general.py",
line 28, in 
    from processing.core.Processing import Processing
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\Processing.py", line
40, in 
    from processing.core.GeoAlgorithm import GeoAlgorithm
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py",
line 41, in 
    from processing.core.parameters import ParameterRaster, ParameterVector,
ParameterMultipleInput, ParameterTable, Parameter
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"C:/OSGeo4W/apps/qgis/./python/plugins\processing\core\parameters.py", line
33, in 
    from processing.tools.vector import resolveFieldIndex, features
  File "C:/OSGeo4W/apps/qgis/./python\qgis\utils.py", line 572, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:/Users/11186cs/.qgis2/python/plugins\processing\tools\vector.py",
line 20, in 
    from processing.algs.qgis import spatialite_utils
ImportError: cannot import name spatialite_utils


Python version: 2.7.4 (default, Apr  6 2013, 19:54:46) [MSC v.1500 32 bit
(Intel)] 
QGIS version: 2.12.1-Lyon Lyon, 16760fd 


at this point, it no longer works neither processing nor any plugins
associated (processing_workflow, and so on).

The only solution is to delete the directory called "processing", but that
processing is outdated.

is this a bug?

thanks a lot



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Processing-error-updating-Processing-tp5239778.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list