lutraconsulting / qgis-crayfish-plugin

Plotting and manipulating mesh data in QGIS.
http://www.lutraconsulting.co.uk/products/crayfish/
Other
62 stars 24 forks source link

crayfish plugin doesnt work in qgis 3.20 (windows) #482

Closed Maiyourathaan closed 3 years ago

Maiyourathaan commented 3 years ago

I have installed QGIS 3.20 in my computer and wanted to use crayfish plugin for Mesh analysis. When I install the plugin it shows the following error and the plugin does not appearing in the toolbox window.

Couldn't load plugin 'crayfish' due to an error when calling its classFactory() method

AttributeError: module 'time' has no attribute 'clock'
Traceback (most recent call last):
File "C:\AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\crayfish\gui\plot_widget.py", line 38, in
import pyqtgraph
File "C:\PROGRA1/QGIS321.2/apps/qgis/./python\qgis\utils.py", line 799, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'pyqtgraph'
vcloarec commented 3 years ago

Hello, which version of Crayfish? can you update?

Maiyourathaan commented 3 years ago

i have installed the Crayfish Version of 3.5.2 and also try with the version 3.4.6, non of them are working in QGIS 3.20 either in Long Term release 3.16.10. I can use Crayfish version 3.4.6 only in QGIS 3.16.4, and new version of it (3.5.2) does not working in this old QGIS (3.4.6) version (well this is another question, why new crayfish does not work in old QGIS version).

PeterPetrik commented 3 years ago

How you installed QGIS? standalone/new installer/old osgeo installer?

Maiyourathaan commented 3 years ago

I installed it as a Standalone installers (MSI)

vcloarec commented 3 years ago

I am wondering if it is not link to https://lists.osgeo.org/pipermail/qgis-developer/2021-September/063967.html

(and also the issue with Mac)

Maiyourathaan commented 3 years ago

Do you have any solution for this problem?

PeterPetrik commented 3 years ago

working on it

Maiyourathaan commented 3 years ago

working on it

Thanks

PeterPetrik commented 3 years ago

@Maiyourathaan can you please try if this works for you? crayfish.zip

PeterPetrik commented 3 years ago

released 3.5.3 https://plugins.qgis.org/plugins/crayfish/

please us new installer and qgis 3.20+ QGIS 3.16 is not supported by this version

Maiyourathaan commented 3 years ago

Thanks a lot it works