- changed status to closed
Error: Linking between different maps
Issue #1380
closed
Linking two maps does not work in the current test-release: 3.10.0.20220609T095816.MASTER
Reproduction:
- Add two maps
- klick ‘Specifiy the linking between two different maps’:
→ Error
AttributeError: 'MapCanvas' object has no attribute 'canvasLinks'
Traceback (most recent call last):
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\enmapboxgui.py", line 1238, in
lambda: CanvasLinkDialog.showDialog(parent=self.ui, canvases=self.mapCanvases()))
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mapcanvas.py", line 161, in showDialog
d.addCanvas(canvases)
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mapcanvas.py", line 213, in addCanvas
self.addCanvas(c)
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mapcanvas.py", line 219, in addCanvas
self.setSourceCanvas(src)
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mapcanvas.py", line 315, in setSourceCanvas
self.updateLinkSelection()
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mapcanvas.py", line 329, in updateLinkSelection
link = CanvasLink.between(srcCanvas, targetCanvas)
File "C:\Users/m.wocher/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\enmapboxplugin\enmapbox\gui\mapcanvas.py", line 605, in between
links.extend([lyr for lyr in canvas1.canvasLinks() if lyr.containsCanvas(canvas2)])
AttributeError: 'MapCanvas' object has no attribute 'canvasLinks'
Python-Version: 3.9.5 (tags/v3.9.5:0a7dcbd, May 3 2021, 17:27:52) [MSC v.1928 64 bit (AMD64)]
QGIS-Version: 3.24.3-Tisler Tisler, cf22b74e
Comments (1)
-
- Log in to comment