FreehandRasterGeoreferencer icon indicating copy to clipboard operation
FreehandRasterGeoreferencer copied to clipboard

TypeError in FreehandRasterGeoreferencerLayer.metadata()

Open andre-kotze opened this issue 1 year ago • 2 comments

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.

andre-kotze avatar Nov 07 '24 15:11 andre-kotze

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

sjhodson avatar Nov 08 '24 19:11 sjhodson

Same issue

M0OJM avatar Feb 07 '25 23:02 M0OJM