Skip to content

raise ValueError("There are no points on the fault trace") #15

@markjessell

Description

@markjessell

What is the bug or the crash?

trying with my own data (always a mistake I know...) when I get to Initialise model it crashes. It is stupid data, but it fails before it gets anywhere...

fault_crash.zip

Steps to reproduce the issue

load and define parameters as follows:

Image

Image

don't touch topology and then hit initialise model

Versions

QGIS version3.40.1-Bratislava
QGIS code revision989853a7
 
Libraries
Qt version5.15.13
Python version3.12.7
GDAL/OGR version3.9.3
PROJ version9.5.0
EPSG Registry database versionv11.016 (2024-08-31)
GEOS version3.13.0-CAPI-1.19.0
SQLite version3.46.1
PDAL version2.8.1
PostgreSQL client version16.2
SpatiaLite version5.1.0
QWT version6.3.0
QScintilla2 version2.14.1
OS versionWindows 10 Version 2009
 
Active Python plugins
AnotherDXF2Shape1.3.2
autoSaver2.9
delete-all1.0.1
geol_qmaps3.1.2
GeometryShapes0.7
geoscience1.15
GeoWrap0.45
grd_loader0.1.3
HCMGIS24.11.20
ImportPhotos3.0.6
loop_plugin0.9.1
mapswipetool_plugin1.3
OSMDownloader1.0.3
pluginbuilder33.2.1
plugin_reloader0.17
profiletool4.2.6
qfieldsyncv4.12.1
qgis-stereonet-main0.3
RenameField0.1
Save-DXF0.1
SaveAllScript1.0
scipy_filters1.4
sgtool0.2.11
Smart_Map1.4.2
SpreadsheetLayers2.1.2
SRTM-Downloader3.2.3
ThreePointMethod0.1
timemanager3.6
tomofast_x_q0.2.3
db_manager0.1.20
grassprovider2.12.99
processing2.12.99
loopstructural0.1.0

Supported QGIS version

  • I'm running a supported QGIS version according to the official roadmap.

New profile

  • I tried with a new QGIS profile

Additional context

2025-02-21T14:57:08 WARNING Traceback (most recent call last):
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\loopstructural\gui\modelling\modelling_widget.py", line 211, in onInitialiseModel
self.model = processor.get_model()
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/00073294/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\loopstructural\main\loopstructuralwrapper.py", line 142, in get_model
return GeologicalModel.from_processor(self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\00073294\AppData\Roaming\Python\Python312\site-packages\LoopStructural\modelling\core\geological_model.py", line 296, in from_processor
model.create_and_add_fault(
File "C:\Users\00073294\AppData\Roaming\Python\Python312\site-packages\LoopStructural\modelling\core\geological_model.py", line 1382, in create_and_add_fault
fault_frame_builder.create_data_from_geometry(
File "C:\Users\00073294\AppData\Roaming\Python\Python312\site-packages\LoopStructural\modelling\features\builders_fault_builder.py", line 121, in create_data_from_geometry
raise ValueError("There are no points on the fault trace")
ValueError: There are no points on the fault trace

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions