jorgealmerio / QWater

Hydraulic design and analysis of water supply networks
20 stars 8 forks source link

Couldn't load plugin 'QWater' #19

Closed VoldemarNo closed 3 months ago

VoldemarNo commented 3 months ago

SyntaxError: invalid syntax Traceback (most recent call last): File "C:\PROGRA~1/QGIS33~1.5/apps/qgis-ltr/./python\qgis\utils.py", line 401, in loadPlugin import(packageName) File "C:\PROGRA~1/QGIS33~1.5/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/nogaj/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QWater__init__.py", line 28, in from .QWaterPlugin import QWaterPlugin File "C:\PROGRA~1/QGIS33~1.5/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/nogaj/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QWater\QWaterPlugin.py", line 52, in from .QWater_03Export import * File "C:\PROGRA~1/QGIS33~1.5/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/nogaj/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QWater\QWater_03Export.py", line 39, in from .addon.waterNet.QWaterNet import QWaterNet_addon File "C:\PROGRA~1/QGIS33~1.5/apps/qgis-ltr/./python\qgis\utils.py", line 892, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\Users/nogaj/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QWater\addon\waterNet\QWaterNet.py", line 205 match connCount: ^ SyntaxError: invalid syntax

Python version: 3.9.18 (heads/master:5eba59e, Feb 1 2024, 20:02:10) [MSC v.1929 64 bit (AMD64)] QGIS version: 3.34.5-Prizren Prizren, 4b308492

jorgealmerio commented 3 months ago

Fixed in QWater 3.3.1, please update. Retrocompatibility with python<3.10 (match function)

Let me know if it fixed.

VoldemarNo commented 3 months ago

Yes, it fixed now. Thank you very much!

VoldemarNo commented 3 months ago

Thank you very much for you quick response. Could you please send me previous version Qwater for secure oneself “de bene esse”?

From: jorgealmerio @.> Sent: Wednesday, June 12, 2024 2:21 PM To: jorgealmerio/QWater @.> Cc: Ногай Владимир Николаевич @.>; Author @.> Subject: Re: [jorgealmerio/QWater] Couldn't load plugin 'QWater' (Issue #19)

Fixed in QWater 3.3.1, please update. Retrocompatibility with python<3.10 (match function)

Let me know if it fixed.

— Reply to this email directly, view it on GitHubhttps://github.com/jorgealmerio/QWater/issues/19#issuecomment-2162758179, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJEAD6WWH5X2REVJ4FHAVGDZHAVIJAVCNFSM6AAAAABJGAHL46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRSG42TQMJXHE. You are receiving this because you authored the thread.Message ID: @.**@.>> [ { @.": "http://schema.org", @.": "EmailMessage", "potentialAction": { @.": "ViewAction", "target": "https://github.com/jorgealmerio/QWater/issues/19#issuecomment-2162758179", "url": "https://github.com/jorgealmerio/QWater/issues/19#issuecomment-2162758179", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { @.": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

jorgealmerio commented 3 months ago

You can get all versions here: [https://plugins.qgis.org/plugins/QWater/#plugin-versions]

VoldemarNo commented 3 months ago

Ok.