SGroe / gpx-segment-importer

QGIS GPX Segment Importer Plugin
Apache License 2.0
2 stars 6 forks source link

startup problem with GPX plugin (both stable and experimental versions) at QGIS startup (3.36.3) #5

Closed jimseamapping closed 4 months ago

jimseamapping commented 5 months ago

Hi

I've been getting an error from the GPX importer (both current and experimental versions) at QGIS (3.36.3) startup time.

The error is:

TypeError: QgsProcessingParameterFile(): arguments did not match any overloaded call: overload 1: argument 3 has unexpected type 'int' overload 2: argument 1 has unexpected type 'str'

2024-05-31T20:18:05 WARNING Traceback (most recent call last): File "C:\Users/qubit/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\GpxSegmentImporter\processing\gpx_segment_importer_algorithm.py", line 91, in initAlgorithm self.addParameter(QgsProcessingParameterFile(self.INPUT, self.tr('Input gpx file'),


Could this be a python error in the version differences ?

Or does the GPX importer have other dependencies I missed_ ?

thanks in advance Jim

SGroe commented 4 months ago

Hi @jimseamapping, thank you for raising this issue. The import of QgsProcessingParameterFile.Behavior.File has changed in QGIS 3.36. I have just released a new version v3.1. Please head to the releases page on this repository and download the attached ZIP. Can you please give me some feedback if it works properly for you! Afterwards I will publish it in the QGIS plugin repo.

jimseamapping commented 4 months ago

Hi Simon -

I will do that.

I want to be sure I am doing this correctly - the new zip file (file tree) should be used to over write the old gpx plugin tree in the QGIS hierarchy?

I am on a windows platform fyi.

thanks Jim Seagraves

On Tue, Jun 11, 2024 at 5:14 AM Simon Gröchenig @.***> wrote:

Hi @jimseamapping https://github.com/jimseamapping, thank you for raising this issue. The import of QgsProcessingParameterFile.Behavior.File has changed in QGIS 3.36. I have just released a new version v3.1. Please head to the releases page on this repository and download the attached ZIP. Can you please give me some feedback if it works properly for you! Afterwards I will publish it in the QGIS plugin repo.

— Reply to this email directly, view it on GitHub https://github.com/SGroe/gpx-segment-importer/issues/5#issuecomment-2160204467, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI3UIM5SIPVB3TRZKCZYUODZG25WLAVCNFSM6AAAAABITUWOLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQGIYDINBWG4 . You are receiving this because you were mentioned.Message ID: @.***>

SGroe commented 4 months ago

In QGIS, go to the menu "Plugins" and select "Manage and install plugins..." > "Install from ZIP", select the ZIP file and click "Install plugin"

jimseamapping commented 4 months ago

Hi Simon

It worked. This was version 3.1 zip file.

Thanks for updating the plugin Jim Seagraves

On Tue, Jun 11, 2024 at 10:49 AM Simon Gröchenig @.***> wrote:

In QGIS, go to the menu "Plugins" and select "Manage and install plugins..." > "Install from ZIP", select the ZIP file and click "Install plugin"

— Reply to this email directly, view it on GitHub https://github.com/SGroe/gpx-segment-importer/issues/5#issuecomment-2160960965, or unsubscribe https://github.com/notifications/unsubscribe-auth/BI3UIM24KS3PJVTFPHZVOB3ZG4FA5AVCNFSM6AAAAABITUWOLOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRQHE3DAOJWGU . You are receiving this because you were mentioned.Message ID: @.***>