[Qgis-developer] Batch processing - select from open layers seems broken

Victor Olaya volayaf at gmail.com
Sun Jul 20 12:43:56 PDT 2014


hmmm, that was fixed in here

https://github.com/qgis/QGIS/commit/9733ae8e50f0e0f40bbf32931e5670ff39d3e6fd

See how the line that your error trace mentions, it is not the same now.
The fix is from two months ago...so I guess you have an outdated version,
or maybe the latest one but somehow shadowed by an older installation of
Processing?


2014-07-20 21:32 GMT+02:00 Anita Graser <anitagraser at gmx.at>:

> Hi,
>
> On nightly, I only get the following error when I try to use Select
> from open layers to configure batch processing:
>
> Traceback (most recent call last):
>   File
> "C:/Users/anita_000/.qgis2/python/plugins\processing\gui\BatchInputSelectionPanel.py",
> line 93, in showLayerSelectionDialog
>     self.text.setText(layers[selected[0]])
> TypeError: QLineEdit.setText(QString): argument 1 has unexpected type
> 'QgsVectorLayer'
>
>
> Python version:
> 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
>
>
> QGIS version:
> 2.5.0-Master Master, 57dcfca
>
> Python path: ['C:/Users/anita_000/.qgis2/python/plugins\\processing',
> 'C:/OSGEO4~1/apps/qgis-dev/./python',
> u'C:/Users/anita_000/.qgis2/python',
> u'C:/Users/anita_000/.qgis2/python/plugins',
> 'C:/OSGEO4~1/apps/qgis-dev/./python/plugins',
>
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\distribute-0.6.49-py2.7.egg',
> 'C:\\OSGEO4~1\\bin\\python27.zip',
> 'C:\\OSGEO4~1\\apps\\Python27\\DLLs',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\plat-win',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\lib-tk', 'C:\\OSGEO4~1\\bin',
> 'C:\\OSGEO4~1\\apps\\Python27',
> 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\jinja2-2.7.2-py2.7.egg',
>
> 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\markupsafe-0.23-py2.7-win-amd64.egg',
> 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\pytz-2012j-py2.7.egg',
>
> 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\shapely-1.2.18-py2.7-win-amd64.egg',
> 'c:\\osgeo4~1\\apps\\python27\\lib\\site-packages\\six-1.3.0-py2.7.egg',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\PIL',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\win32\\lib',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\Pythonwin',
>
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\setuptools-0.6c11-py2.7.egg-info',
> 'C:\\OSGEO4~1\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode',
> 'C:\\Users\\anita_000\\.qgis2\\python\\plugins\\mmqgis/forms',
> '~/.qgis/python', '.',
> 'C:\\OSGEO4~1\\apps\\qgis-dev\\python\\plugins\\fTools\\tools',
> 'C:/Users/anita_000/Dropbox/Qgis2Cookbook/Data']
>
> Should I open a ticket?
>
> Best wishes,
> Anita
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140720/661bf807/attachment.html>


More information about the Qgis-developer mailing list