Hi, this is a qgis python problem since I got such error for everything 
involving python with qgis. This was just an exemple. For sure I installed and 
reinstalled it :-). I hope that someone had the same pb

Le 13 décembre 2023 07:56:38 GMT+01:00, Frank Broniewski <broniew...@a-a.lu> a 
écrit :
>Hi Gael,
>
>this is not a QGIS problem, but one of your installed plugins is causing the 
>issue. The first line mentions it already
>> Couldn't load plugin 'crayfish'
>
>I don't know the plugin, but you could try to delete / uninstall it and 
>reinstall it again. If you go in a terminal to 
>/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins and 
>delete the 'crayfish' folder, QGIS should start without the error.
>
>Further down the line the vrtbuilder plugin is mentioned as well, you might 
>want to delete and reinstall it as well, just to be sure if the crayfish 
>plugin is a dependency of the vrtbuilder plugin.
>
>HTH
>Frank
>
>________________________________
>Von: QGIS-User <qgis-user-boun...@lists.osgeo.org> im Auftrag von Gael 
>Kermarrec via QGIS-User <qgis-user@lists.osgeo.org>
>Gesendet: Mittwoch, 13. Dezember 2023 01:52
>An: chris hermansen <clherman...@gmail.com>
>Cc: qgis-user@lists.osgeo.org <qgis-user@lists.osgeo.org>
>Betreff: Re: [Qgis-user] [extern] Re: Problem with Python/Qgis
>
>
>thanks chris for your help. I tried your suggestion, I was able to install 
>Qgis but interestingly as I launched it I got immediatly the error message
>
>Couldn't load plugin 'crayfish' due to an error when calling its initGui() 
>method AttributeError: module 'pyqtgraph' has no attribute 'GraphicsWindow' 
>Traceback (most recent call last): File 
>"/usr/lib/python3/dist-packages/qgis/utils.py", line 448, in startPlugin 
>plugins[packageName].initGui() File 
>"/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/plugin.py",
> line 96, in initGui w = CrayfishPlotWidget(self.plot_dock_widget) File 
>"/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/crayfish/gui/plot_widget.py",
> line 186, in __init__ self.gw = pyqtgraph.GraphicsWindow() AttributeError: 
>module 'pyqtgraph' has no attribute 'GraphicsWindow' Python version: 3.8.10 
>(default, Nov 22 2023, 10:22:35) [GCC 9.4.0] QGIS version: 3.26.3-Buenos Aires 
>Buenos Aires, 65e4edfdad Python Path: /usr/share/qgis/python 
>/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python 
>/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins 
>/usr/share/qgis/python/plugins /usr/lib/python38.zip /usr/lib/python3.8 
>/usr/lib/python3.8/lib-dynload /usr/local/lib/python3.8/dist-packages 
>/usr/lib/python3/dist-packages 
>/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python 
>/home/kermarrec/.local/share/gis4wrf/python38/local/lib/python3.8/site-packages
> /home/kermarrec/.local/share/gis4wrf/python38/lib/python3/site-packages 
>/home/kermarrec/.local/share/gis4wrf/python38/lib/python3.8/site-packages . 
>/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin
> 
>/home/kermarrec/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vrtbuilderplugin/vrtbuilder
>
>I have no idea what I could do to solve the problem.
>
>gael.
>
>On 12/12/23 18:36, chris hermansen wrote:
>Gael and list,
>
>On Tue, Dec 12, 2023 at 8:03 AM Gael Kermarrec via QGIS-User 
><qgis-user@lists.osgeo.org<mailto:qgis-user@lists.osgeo.org>> wrote:
>Dear members,
>
>I am trying to install Qgis from Ubuntu 20.04 but everytime I make sudo
>apt install qgis qgis-plugin-grass I become the following:
>
>
>The following packages contain unsatisfied dependencies:
>qgis: Depends on python3-qgis (= 1:3.22.16+32focal) but
>1:3.26.3+32focal-ubuntugis needs to be installed
>Depends on qgis-providers (= 1:3.22.16+32focal) but
>1:3.26.3+32focal-ubuntugis needs to be installed
>Depends on qgis-common (= 1:3.22.16+32focal) but
>1:3.26.3+32focal-ubuntugis needs to be installed
>qgis-plugin-grass: Depends on qgis-plugin-grass-common (=
>1:3.22.16+32focal) but 1:3.26.3+32focal-ubuntugis needs to be installed
>Depends on grass782
>E: Unable to correct problems, defective packages are in "keep in the
>current state" mode.
>
>I have no idea what I should do to make it works. Maybe somebody had the
>same problem, I would be grateful to get some support as I would like to
>work with QGis.
>
>It looks as though you might be trying to work with the ubuntugis PPA.  If 
>that's so, maybe you should consider trying the suggested methodology on the 
>QGIS site here:
>
>https://www.qgis.org/en/site/forusers/alldownloads.html#debian-ubuntu
>
>If you just want to correct the unsatisfied dependencies, it's probably worth 
>trying your command again with the "-f" option:
>
>apt install -f qgis qgis-plugin-grass
>
>In any event, I suggest you read this useful mini-tutorial on fixing 
>unsatisfied dependencies.
>
>https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa
>--
>Chris Hermansen · clhermansen "at" gmail "dot" com
>
>C'est ma façon de parler.
>
>--
>-------********---------
>Dr. Gael Kermarrec
>Institute for meteorology and climatology
>Leibniz Universität Hannover
>Herrenhäuser Str. 2
>D-30419 Hannover
>Tel: +49 511 762 2679
>Email: kermar...@meteo.uni-hannover.de<mailto:kermar...@meteo.uni-hannover.de>
>Web: www.meteo.uni-hannover.de<http://www.meteo.uni-hannover.de>
_______________________________________________
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to