minorua / Qgis2threejs

3D map visualization and web export plugin for QGIS
http://minorua.github.io/Qgis2threejs/docs/
495 stars 91 forks source link

Plugin Qgis2threejs crashed QGIS #329

Open Juanjo1969 opened 4 months ago

Juanjo1969 commented 4 months ago

Hola Cuando intento representar un objeto línea el plugin tira a QGIS Pego a continuación el informe del fallo:

Report Details

Python Stack Trace

Windows fatal exception: access violation

Current thread 0x00005474 (most recent call first):
  File "C:\PROGRA~1\QGIS32~1.6\apps\Python39\lib\site-packages\osgeo\gdal.py", line 4510 in ReprojectImage
    return _gdal.ReprojectImage(*args, **kwargs)
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\q3dcore.py", line 159 in _read
    gdal.ReprojectImage(self.ds, warped_ds, self.source_wkt, None, gdal.GRA_Bilinear)
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\q3dcore.py", line 181 in readValue
    return struct.unpack("f", self._read(1, 1, geotransform))[0]
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\buildvector.py", line 61 in <lambda>
    zf = lambda x, y: z_func(x, y) + alt
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\geometry.py", line 168 in <listcomp>
    geom.lines = [[transform_func(pt.x(), pt.y(), z_func(pt.x(), pt.y())) for pt in line] for line in lines]
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\geometry.py", line 168 in <listcomp>
    geom.lines = [[transform_func(pt.x(), pt.y(), z_func(pt.x(), pt.y())) for pt in line] for line in lines]
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\geometry.py", line 168 in fromQgsGeometry
    geom.lines = [[transform_func(pt.x(), pt.y(), z_func(pt.x(), pt.y())) for pt in line] for line in lines]
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\buildvector.py", line 66 in geometry
    return LayerType2GeomClass[self.layerType].fromQgsGeometry(self.geom, zf, transform_func, useZM=useZM)
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\buildvector.py", line 425 in build
    d["geom"] = obj_geom_func(f, f.geometry(self.z_func, mapTo3d, self.useZM, be, self.grid))
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\q3dcontroller.py", line 273 in _buildLayer
    obj = builder.build()
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\q3dcontroller.py", line 234 in buildLayer
    ret = self._buildLayer(layer)
  File "C:\Users/T131465/AppData/Roaming/QGIS/QGIS3\profiles\Gale/python/plugins\Qgis2threejs\q3dcontroller.py", line 328 in _processRequests
    self.buildLayer(item)

Thread 0x000006a4 (most recent call first):
<no Python frame>

Stack Trace


CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
CPLODBCDriverInstaller::RemoveDriver :
PyArg_ParseTuple_SizeT :
PyObject_Call :
PyObject_Call :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyFunction_Vectorcall :
PyEval_EvalFrameDefault :
PyEval_EvalFrameDefault :
PyFloat_FromDouble :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyObject_GC_Del :
PyEval_EvalFrameDefault :
PyEval_EvalFrameDefault :
PyFloat_FromDouble :
PyEval_EvalFrameDefault :
PyFloat_FromDouble :
PyEval_EvalFrameDefault :
PyFunction_Vectorcall :
PyFloat_FromDouble :
PyVectorcall_Call :
PyObject_Call :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
PyInit_QtCore :
QObject::qt_static_metacall :
QTimer::timerEvent :
PyInit_QtCore :
QObject::event :
PyInit_QtCore :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QEventDispatcherWin32Private::sendTimerEvent :
QEventDispatcherWin32::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QCoreApplicationPrivate::sendPostedEvents :
QEventDispatcherWin32::processEvents :
QEventLoop::exec :
QThread::exec :
PyInit_QtCore :
QThread::start :
BaseThreadInitThunk :
RtlUserThreadStart :

QGIS Info QGIS Version: 3.28.6-Firenze QGIS code revision: 868c9fa03b Compiled against Qt: 5.15.3 Running against Qt: 5.15.3 Compiled against GDAL: 3.6.4 Running against GDAL: 3.6.4

System Info CPU Type: x86_64 Kernel Type: winnt Kernel Version: 10.0.22621

Gracias