minorua / Qgis2threejs

3D map visualization and web export plugin for QGIS
http://minorua.github.io/Qgis2threejs/docs/
GNU General Public License v2.0
517 stars 90 forks source link

python error #161

Open jelreyes opened 5 years ago

jelreyes commented 5 years ago

### What does this error mean? 3D visualization dont appear due to this error:

2018-12-14T16:12:06 WARNING warning:/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py:672: 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 "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 335, in startPlugin
          plugins[packageName] = package.classFactory(iface)
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/__init__.py", line 27, in classFactory
          from .qgis2threejs import Qgis2threejs
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/qgis2threejs.py", line 30, in 
          from .q3dcontroller import Q3DController
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/q3dcontroller.py", line 26, in 
          from .build import ThreeJSBuilder
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/build.py", line 24, in 
          from .builddem import DEMLayerBuilder
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/builddem.py", line 30, in 
          from .propertyreader import DEMPropertyReader
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/propertyreader.py", line 27, in 
          from .qgis2threejscore import calculateDEMSize
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Users/VORTEX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/Qgis2threejs/qgis2threejscore.py", line 25, in 
          from osgeo import gdal
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/osgeo/__init__.py", line 21, in 
          _gdal = swig_import_helper()
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/osgeo/__init__.py", line 8, in swig_import_helper
          import imp
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/imp.py", line 33, in 
          DeprecationWarning, stacklevel=2)

2018-12-14T16:12:33 WARNING warning:/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/psycopg2/init.py:144: UserWarning: The psycopg2 wheel package will be renamed from release 2.8; in order to keep installing from binary please use "pip install psycopg2-binary" instead. For details see: . """)

         traceback: File "", line 1, in 
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 299, in loadPlugin
          __import__(packageName)
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/__init__.py", line 28, in 
          from processing.tools.dataobjects import * # NOQA
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/tools/dataobjects.py", line 51, in 
          from processing.algs.gdal.GdalUtils import GdalUtils
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/plugins/processing/algs/gdal/GdalUtils.py", line 34, in 
          import psycopg2
          File "/Applications/QGIS3.app/Contents/MacOS/../Resources/python/qgis/utils.py", line 672, in _import
          mod = _builtin_import(name, globals, locals, fromlist, level)
          File "", line 971, in _find_and_load
          File "", line 955, in _find_and_load_unlocked
          File "", line 665, in _load_unlocked
          File "", line 678, in exec_module
          File "", line 219, in _call_with_frames_removed
          File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/psycopg2/__init__.py", line 144, in 
          """)
kannes commented 3 years ago

I think this is not relevant anymore, qgis2threejs works perfectly well on modern QGIS :)