[Qgis-user] Python Error when lauching QGIS + deprecation Warming , MacOsX, no brew
Camille Baillon
baillon.camille at gmail.com
Thu Jul 13 04:47:12 PDT 2017
Hello everyone, I'm quite new to the QGIS platform, but after several
days scrolling all the forums about the topic, trying to install,
uninstall, deleting possible files that could be problematic, I'd like
to submit the problem I'm encountering and would be very grateful for
any kind of information who could bring some answer.
I'm trying to work with *QGIS 2.18.9* on *Mac OS X 10.9.5*. [installed
from http://www.kyngchaos.com/software/qgis ] Warning message from the
Python-Panel, right direct after the start of QGIS:
*Failed |CDLL(/opt/local/lib/libgeos_c.dylib)|*
To resume what I've already investigated: (1) uninstall Python 3.6 (2)
uninstall all the packages linked with Homebrew (3) uninstall Xquartz
(4) uninstall/reinstall the GDAL/GEOS/NUMPY/MATPLOTLIB/SQLITE3 Package
I know that the problem could be linked with an incompatibility in the
python versions or files installed with other applications or wrong path
, but I'm now out of idea and I really don't know what to do, aside from
asking for help!
The second Message, a DeprecationWarning message may be a complement to
analyse the problem (but I'm not sure if there is a link between the
two, and if not, I'm sorry for the confusion!)
Thank you all for your help!
DeprecationWarning :
warning:/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py:81:
DeprecationWarning: Converters and adapters are deprecated. Please use
only supported SQLite types. Any type mapping should happen in layer
above this module.
register_adapter(datetime.date, adapt_date)
traceback: File "<string>", line 1, in <module>
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 49, in initPluginInstaller
pluginInstaller = QgsPluginInstaller()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 65, in __init__
plugins.getAllInstalled()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 718, in getAllInstalled
plugin = self.getInstalledPlugin(key, path=path, readOnly=readOnly,
testLoad=testLoadThis)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 622, in getInstalledPlugin
pkg = __import__(key)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 29, in <module>
from processing.tools.general import * # NOQA
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
line 31, in <module>
from processing.core.Processing import Processing
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 42, in <module>
from processing.script.ScriptUtils import ScriptUtils
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptUtils.py",
line 30, in <module>
from processing.script.ScriptAlgorithm import ScriptAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptAlgorithm.py",
line 33, in <module>
from processing.core.GeoAlgorithm import GeoAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/GeoAlgorithm.py",
line 41, in <module>
from processing.core.parameters import ParameterRaster, ParameterVector,
ParameterMultipleInput, ParameterTable, Parameter
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/parameters.py",
line 32, in <module>
from processing.tools.vector import resolveFieldIndex
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/vector.py",
line 47, in <module>
from processing.tools import dataobjects, spatialite, postgis
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/spatialite.py",
line 29, in <module>
from pyspatialite import dbapi2 as sqlite
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py",
line 86, in <module>
register_adapters_and_converters()
2017-07-13T13:41:45 1
warning:/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py:82:
DeprecationWarning: Converters and adapters are deprecated. Please use
only supported SQLite types. Any type mapping should happen in layer
above this module.
register_adapter(datetime.datetime, adapt_datetime)
traceback: File "<string>", line 1, in <module>
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 49, in initPluginInstaller
pluginInstaller = QgsPluginInstaller()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 65, in __init__
plugins.getAllInstalled()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 718, in getAllInstalled
plugin = self.getInstalledPlugin(key, path=path, readOnly=readOnly,
testLoad=testLoadThis)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 622, in getInstalledPlugin
pkg = __import__(key)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 29, in <module>
from processing.tools.general import * # NOQA
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
line 31, in <module>
from processing.core.Processing import Processing
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 42, in <module>
from processing.script.ScriptUtils import ScriptUtils
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptUtils.py",
line 30, in <module>
from processing.script.ScriptAlgorithm import ScriptAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptAlgorithm.py",
line 33, in <module>
from processing.core.GeoAlgorithm import GeoAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/GeoAlgorithm.py",
line 41, in <module>
from processing.core.parameters import ParameterRaster, ParameterVector,
ParameterMultipleInput, ParameterTable, Parameter
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/parameters.py",
line 32, in <module>
from processing.tools.vector import resolveFieldIndex
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/vector.py",
line 47, in <module>
from processing.tools import dataobjects, spatialite, postgis
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/spatialite.py",
line 29, in <module>
from pyspatialite import dbapi2 as sqlite
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py",
line 86, in <module>
register_adapters_and_converters()
2017-07-13T13:41:45 1
warning:/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py:83:
DeprecationWarning: Converters and adapters are deprecated. Please use
only supported SQLite types. Any type mapping should happen in layer
above this module.
register_converter("date", convert_date)
traceback: File "<string>", line 1, in <module>
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 49, in initPluginInstaller
pluginInstaller = QgsPluginInstaller()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 65, in __init__
plugins.getAllInstalled()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 718, in getAllInstalled
plugin = self.getInstalledPlugin(key, path=path, readOnly=readOnly,
testLoad=testLoadThis)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 622, in getInstalledPlugin
pkg = __import__(key)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 29, in <module>
from processing.tools.general import * # NOQA
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
line 31, in <module>
from processing.core.Processing import Processing
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 42, in <module>
from processing.script.ScriptUtils import ScriptUtils
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptUtils.py",
line 30, in <module>
from processing.script.ScriptAlgorithm import ScriptAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptAlgorithm.py",
line 33, in <module>
from processing.core.GeoAlgorithm import GeoAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/GeoAlgorithm.py",
line 41, in <module>
from processing.core.parameters import ParameterRaster, ParameterVector,
ParameterMultipleInput, ParameterTable, Parameter
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/parameters.py",
line 32, in <module>
from processing.tools.vector import resolveFieldIndex
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/vector.py",
line 47, in <module>
from processing.tools import dataobjects, spatialite, postgis
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/spatialite.py",
line 29, in <module>
from pyspatialite import dbapi2 as sqlite
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py",
line 86, in <module>
register_adapters_and_converters()
2017-07-13T13:41:45 1
warning:/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py:84:
DeprecationWarning: Converters and adapters are deprecated. Please use
only supported SQLite types. Any type mapping should happen in layer
above this module.
register_converter("timestamp", convert_timestamp)
traceback: File "<string>", line 1, in <module>
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 49, in initPluginInstaller
pluginInstaller = QgsPluginInstaller()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer.py",
line 65, in __init__
plugins.getAllInstalled()
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 718, in getAllInstalled
plugin = self.getInstalledPlugin(key, path=path, readOnly=readOnly,
testLoad=testLoadThis)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/pyplugin_installer/installer_data.py",
line 622, in getInstalledPlugin
pkg = __import__(key)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py",
line 29, in <module>
from processing.tools.general import * # NOQA
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/general.py",
line 31, in <module>
from processing.core.Processing import Processing
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/Processing.py",
line 42, in <module>
from processing.script.ScriptUtils import ScriptUtils
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptUtils.py",
line 30, in <module>
from processing.script.ScriptAlgorithm import ScriptAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/script/ScriptAlgorithm.py",
line 33, in <module>
from processing.core.GeoAlgorithm import GeoAlgorithm
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/GeoAlgorithm.py",
line 41, in <module>
from processing.core.parameters import ParameterRaster, ParameterVector,
ParameterMultipleInput, ParameterTable, Parameter
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/core/parameters.py",
line 32, in <module>
from processing.tools.vector import resolveFieldIndex
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/vector.py",
line 47, in <module>
from processing.tools import dataobjects, spatialite, postgis
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing/tools/spatialite.py",
line 29, in <module>
from pyspatialite import dbapi2 as sqlite
File
"/Applications/QGIS.app/Contents/MacOS/../Resources/python/qgis/utils.py",
line 607, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File
"/Library/Frameworks/SQLite3.framework/Versions/C/Python/2.7/pyspatialite/dbapi2.py",
line 86, in <module>
register_adapters_and_converters()
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20170713/37813d17/attachment.html>
More information about the Qgis-user
mailing list