gvellut / FreehandRasterGeoreferencer

QGIS plugin for the interactive georeferencing of rasters
GNU General Public License v2.0
50 stars 13 forks source link

TypeError in FreehandRasterGeoreferencerLayer.metadata() #72

Open andre-kotze opened 2 weeks ago

andre-kotze commented 2 weeks ago

Great plugin. Only one persistent issue: With a layer loaded (not saved/exported), when I hover over it in the legend, a Python error occurs (Yellow warning message bar):

An error has occurred while executing Python code: 

TypeError: invalid result from FreehandRasterGeoreferencerLayer.metadata(), str cannot be converted to qgis._core.QgsLayerMetadata in this context 
TypeError: invalid result from FreehandRasterGeoreferencerLayer.metadata(), str cannot be converted to qgis._core.QgsLayerMetadata in this context

Python version: 3.10.12 (main, Sep 11 2024, 15:47:36) [GCC 11.4.0] 
QGIS version: 3.40.0-Bratislava Bratislava, b56115d8743 

Something to do with the layer info tooltip? This is not a huge problem and apart from the Python error popup, everything works normally. However, with a Layout open and trying to add a layer to the legend, as soon as the "Add Layer to Legend" dialog pops up, a Stack trace window with the same error pops up and QGIS freezes. Closing the error dialog crashes QGIS...

I'm using QGIS on Linux Mint.

sjhodson commented 2 weeks ago

Same issue.

QGIS 3.38-3.4 MacOS Ventura 13.7

Python version: 3.9.5 (default, Sep 10 2021, 16:18:19) [Clang 12.0.5 (clang-1205.0.22.11)] 
 QGIS version: 3.40.0-Bratislava Bratislava, 1d561ad8ad9