Bug report #10344
Select from open layers on Processing
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Linux||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18765|
Using the option "Select from open layers" in the second parameter of any tool in Batch Processing, gives this error, with QGIS master (2.3.0+git20140524+d1da612) and Processing 2.2.0-2:
An error has occured while executing Python code: Traceback (most recent call last): File "/home/pedro/.qgis2/python/plugins/processing/gui/BatchInputSelectionPanel.py", line 93, in showLayerSelectionDialog self.text.setText(layers[selected]) TypeError: QLineEdit.setText(QString): argument 1 has unexpected type 'QgsVectorLayer' Python version: 2.7.6 (default, Mar 22 2014, 23:03:14) [GCC 4.8.2] QGIS version: 2.3.0-Master Master, exported
This does not happens with QGIS 2.2 and Processing 2.2.0-2. Tested on Linux.
1. Search for "Clip" in Processing Toolbox;
2. Execute as batch process;
3. On "Clip layer" -> [...] -> Select from open layers and select one layer from TOC.
#4 Updated by Giovanni Manghi over 7 years ago
Pedro Venâncio wrote:
This is happening to me with QGIS master on Ubuntu 14.04.
On the machine with Ubuntu 12.04, I'm using QGIS 2.2, and the problem does not happen.
I just installed qgis master (nightly repo) on a brand new 14.04 virtual machine and cannot replicate the issue.