Open FlyingEagle opened 2 months ago
I correected line 91 to
self.addParameter(QgsProcessingParameterFile(self.INPUT, self.tr('Input gpx file'),
QgsProcessingParameterFile.File, 'gpx', None, False))
after trying importing a GPX I got
2024-07-07T22:34:15 WARNING Traceback (most recent call last):
File "C:\Users/%MYUSERNAME%/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GpxSegmentImporter\gui\gpx_segment_importer.py", line 163, in run
self.process_gpx_files()
File "C:\Users/%MYUSERNAME%/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GpxSegmentImporter\gui\gpx_segment_importer.py", line 197, in process_gpx_files
if self.gpx_file_reader.equal_coordinates > 0:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'SegmentBuilderFromGpx' object has no attribute 'equal_coordinates'. Did you mean: 'equal_coordinates_count'?
Hi @FlyingEagle, thanks for raising this. Can you please test version 3.1? See my comments in #5 to retrieve it.
I plan to upload the new version to the plugin repository soon.
An error has occurred while executing Python code: