Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError in FreehandRasterGeoreferencerLayer.metadata() #72

Open
andre-kotze opened this issue Nov 7, 2024 · 1 comment
Open

TypeError in FreehandRasterGeoreferencerLayer.metadata() #72

andre-kotze opened this issue Nov 7, 2024 · 1 comment

Comments

@andre-kotze
Copy link

andre-kotze commented Nov 7, 2024

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
Copy link

sjhodson commented Nov 8, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants