Bug report #21492

Use Layer Extent... in processing algorithms doesn't work

Added by Oto Kalab over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Processing/Core
Affected QGIS version:3.4.5 Regression?:Yes
Operating System:Ubuntu 18.04.2 LTS 64bit Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:29309

Description

Extent option Use Layer Extent... in processing algorithms (i.e. Extract/clip by extent) doesn't work. Other two options (Use Canvas Extent, Select Extent on Canvas) works fine. This does not cause crash, just give python error and nothing happen.

Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/processing/gui/ExtentSelectionPanel.py", line 167, in useLayerExtent
              dlg = LayerSelectionDialog(self)
              File "/usr/share/qgis/python/plugins/processing/gui/ExtentSelectionPanel.py", line 72, in __init__
              QgsMapLayerProxyModel.HasGeometry | QgsMapLayerProxyModel.RasterLayer | QgsMapLayerProxyModel.MeshLayer)
             AttributeError: type object 'QgsMapLayerProxyModel' has no attribute 'MeshLayer'

History

#1 Updated by Nyall Dawson over 5 years ago

  • Resolution set to fixed/implemented
  • Status changed from Open to Closed

Fixed in 3.4.6

Also available in: Atom PDF