Bug report #11951
Python error while using tools with output to a folder instead of a file
Status: | Closed | ||
---|---|---|---|
Priority: | Severe/Regression | ||
Assignee: | |||
Category: | Processing/Core | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 20159 |
Description
- Right click on "split vector layer" and select "batch processing".
- Add a few shapefiles
- Write down the name of the field for each of them
- Click on output directory
I'm using the latest QGIS Processing code on QGIS 2.6.1.
An error has occured while executing Python code: Traceback (most recent call last): File "/usr/share/qgis/python/plugins/processing/gui/BatchOutputSelectionPanel.py", line 68, in showSelectionDialog filefilter = self.output.getFileFilter(self.alg) AttributeError: 'OutputDirectory' object has no attribute 'getFileFilter' Python version: 2.7.6 (default, Mar 22 2014, 23:03:41) [GCC 4.8.2] QGIS version: 2.6.1-Brighton Brighton, exported Python path: ['/usr/share/qgis/python/plugins/processing', '/home/fd/.qgis2/python/plugins/processinglwgeomprovider', '/home/fd/.qgis2/python/plugins/LecoS', '/usr/share/qgis/python', u'/home/fd/.qgis2/python', u'/home/fd/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PILcompat', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools', '/home/fd/.qgis2/python/plugins/MetaSearch/ext-libs', '/media/fd/Dados1/FilipeTrabalho/PhD/Tarefa4/SIG']
Associated revisions
Fix #11951 - support for output directory in batch processing
History
#1
Updated by Filipe Dias about 10 years ago
- Affected QGIS version changed from 2.6.0 to master
#2
Updated by George Rodrigues da Cunha Silva about 10 years ago
I'll try to reproduce and fix this.
Although I'm not on the "assigned to" list, let me give this a try.
#3
Updated by Giovanni Manghi about 10 years ago
- Subject changed from Python error while using "split vector layer" in batch processing to Python error while using tools with output to a folder instead of a file
any tools that outputs to a folder instead of a file will give that error in batch mode. It used to work in older Processing releases.
#4
Updated by Martin Dobias almost 10 years ago
- Status changed from Open to Closed
Fixed in changeset c9682e550b7d34e28c75fa04d843d33902234ad3.