[QGIS-es] Error python en Qgis 3.12.0

Arturo Hernández ahernandez en cygsa.com
Lun Feb 24 04:51:18 PST 2020


Buenos días,

acabo de actualizar a la versión 3.12.0 (antes tenía la 3.10.2), desde 
el instalador OSGEO4W y me sale un mensaje de error de python que antes 
no me salía:

WARNING warning:C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py:744: 
DeprecationWarning: the imp module is deprecated in favour of importlib; 
see the module's documentation for alternative uses
               mod = _builtin_import(name, globals, locals, fromlist, level)

              traceback: File "", line 1, in
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
302, in loadPlugin
               __import__(packageName)
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\__init__.py", line 
25, in
               from processing.tools.general import * # NOQA
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\tools\general.py", 
line 32, in
               from processing.core.Processing import Processing
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\core\Processing.py", 
line 54, in
               from processing.algs.qgis.QgisAlgorithmProvider import 
QgisAlgorithmProvider # NOQA
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\QgisAlgorithmProvider.py", 
line 52, in
               from .HypsometricCurves import HypsometricCurves
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File 
"C:/OSGEO4~1/apps/qgis/./python/plugins\processing\algs\qgis\HypsometricCurves.py", 
line 27, in
               from osgeo import gdal, ogr, osr
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File 
"C:\OSGEO4~1\apps\Python37\lib\site-packages\osgeo\__init__.py", line 
41, in
               _gdal = swig_import_helper()
               File 
"C:\OSGEO4~1\apps\Python37\lib\site-packages\osgeo\__init__.py", line 
15, in swig_import_helper
               import imp
               File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 
744, in _import
               mod = _builtin_import(name, globals, locals, fromlist, level)
               File "", line 983, in _find_and_load
               File "", line 967, in _find_and_load_unlocked
               File "", line 677, in _load_unlocked
               File "", line 728, in exec_module
               File "", line 219, in _call_with_frames_removed
               File "C:\OSGEO4~1\apps\Python37\lib\imp.py", line 33, in
               DeprecationWarning, stacklevel=2)

¿Alguien sabe a qué es debido y cómo solucionarlo?

Uso Windows 10 x64 con 16Gb de RAM y adjunto captura por si es de ayuda.

Muchas gracias

------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://lists.osgeo.org/pipermail/qgis-es/attachments/20200224/ff0615b4/attachment-0001.html>
------------ próxima parte ------------
A non-text attachment was scrubbed...
Name: enlalbomgokboifc.png
Type: image/png
Size: 29396 bytes
Desc: no disponible
URL: <http://lists.osgeo.org/pipermail/qgis-es/attachments/20200224/ff0615b4/attachment-0001.png>


Más información sobre la lista de distribución QGIS-es