noaa-ocs-hydrography / qgis-raster-attribute-table-plugin

QGIS Raster Attribute Table Plugin
17 stars 4 forks source link

install plugin causes error message and plugin does not start #36

Closed ThomasStruller closed 4 months ago

ThomasStruller commented 4 months ago

Hallo, on installing the plugin on Qgis 3.34 on win 11 the following error message appears. It ist not possible to use the plugin even after restart of Qgis.

could not start 'RasterAttributeTable' on start up initGui() method

RuntimeError: crs=EPSG:25832&dpiMode=7&format=image/png&layers=by_dok&styles&tilePixelRatio=0&url=https://geoservices.bayern.de/wms/v1/ogc_dok.cgi&username=07F06006&password=XXXXXXXXXXXX does not exist in the file system, and is not recognized as a supported dataset name. Traceback (most recent call last): File "C:\OSGeo4W/apps/qgis/./python\qgis\utils.py", line 451, in startPlugin plugins[packageName].initGui() File "C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\RasterAttributeTable\RasterAttributeTable.py", line 65, in initGui self.updateRatActions(layer) File "C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\RasterAttributeTable\RasterAttributeTable.py", line 122, in updateRatActions if has_rat(layer): File "C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\RasterAttributeTable\rat_utils.py", line 523, in has_rat if get_rat(raster_layer, band).isValid(): File "C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\RasterAttributeTable\rat_utils.py", line 71, in get_rat ds = gdal.OpenEx(raster_layer.source()) File "C:\OSGeo4W\apps\Python39\lib\site-packages\osgeo\gdal.py", line 6041, in OpenEx return _gdal.OpenEx(*args, **kwargs) RuntimeError:crs=EPSG:25832&dpiMode=7&format=image/png&layers=by_dok&styles&tilePixelRatio=0&url=https://geoservices.bayern.de/wms/v1/ogc_dok.cgi&username=07F06006&password=XXXXXXXXXXXX does not exist in the file system, and is not recognized as a supported dataset name.

Python-Version: 3.9.18 (heads/master:5eba59e, Feb 1 2024, 20:02:10) [MSC v.1929 64 bit (AMD64)] QGIS-Version: 3.36.0-Maidenhead Maidenhead, 09951dc0

Python-Pfad: C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ThToolBox C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ProcessX C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\postgis_toolbox C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\pdaltools C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\munsellrgb C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\contour C:/OSGeo4W/apps/qgis/./python C:/Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:/Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins C:/OSGeo4W/apps/qgis/./python/plugins C:\OSGeo4W\apps\grass\grass83\etc\python C:\Users\thomas.struller\Documents C:\OSGeo4W\bin\python39.zip C:\OSGeo4W\apps\Python39\DLLs C:\OSGeo4W\apps\Python39\lib C:\OSGeo4W\bin C:\OSGeo4W\apps\Python39 C:\OSGeo4W\apps\Python39\lib\site-packages C:\OSGeo4W\apps\Python39\lib\site-packages\win32 C:\OSGeo4W\apps\Python39\lib\site-packages\win32\lib C:\OSGeo4W\apps\Python39\lib\site-packages\Pythonwin C:/Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python C:\Users\thomas.struller\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools C:\Users\thomas.struller\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools C:\Users/thomas.struller/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\qgis_resource_sharing C:\Users\thomas.struller\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing C:\Users\thomas.struller\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\qgis_resource_sharing\ext_libs C:\Users\thomas.struller\AppData\Roaming\QGIS\QGIS3\profiles\default\python\site-packages W:/qgis

GlenRice-NOAA commented 4 months ago

As of QGIS 3.32 the RAT plugin functionality was moved into QGIS core making the plugin obsolete. The plugin was maintained to support the LTR. Since the LTR version was updated last month, the plugin should no longer be in use and will be deprecated as soon as time allows.