<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">Thanks Matthias.<br />
<br />
Stefan</div>
<div name="messageSignatureSection"><br /></div>
<div name="messageReplySection"><br />
On 4 Nov 2016, 09:29 +0100, Matthias Kuhn <matthias@opengis.ch>, wrote:<br />
<blockquote type="cite">Hi Stefan,<br />
<br />
This should already be fixed in 2.14-ltr-dev build [1].<br />
<br />
Sidenote: In master there are unit tests for the eliminate algorithm and<br />
this error would never have made it to a release...<br />
<br />
[1]<br />
https://github.com/qgis/QGIS/commit/6bf74b437646c480595ead6765102a3f70825b4f<br />
<br />
Regards<br />
Matthias<br />
<br />
On 11/04/2016 09:16 AM, Ziegler Stefan wrote:<br />
<blockquote type="cite">Hi<br />
<br />
On Ubuntu 14.04 I get following error with own compiled QGIS 2.14.8:<br />
<br />
NameError: global name 'QIcon' is not defined<br />
Traceback (most recent call last):<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/qgis/utils.py", line 315, in startPlugin<br />
plugins[packageName].initGui()<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/ProcessingPlugin.py", line 60, in initGui<br />
self.toolbox = ProcessingToolbox()<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 82, in __init__<br />
self.fillTree()<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 265, in fillTree<br />
self.fillTreeUsingProviders()<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 302, in fillTreeUsingProviders<br />
providerItem = TreeProviderItem(providerName, self.algorithmTree, self)<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 343, in __init__<br />
self.populate()<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 372, in populate<br />
algItem = TreeAlgorithmItem(alg)<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 318, in __init__<br />
icon = alg.getIcon()<br />
File "/usr/local/qgis_2_14_8/share/qgis/python/plugins/processing/algs/qgis/Eliminate.py", line 58, in getIcon<br />
return QIcon(os.path.join(pluginPath, 'images', 'ftools', 'eliminate.png'))<br />
NameError: global name 'QIcon' is not defined<br />
<br />
It does not happen with 2.14.4. Can anyone confirm?<br />
<br />
Regards<br />
Stefan<br />
<br />
Freundliche Grüsse<br />
Stefan Ziegler<br />
Kantonsgeometer / Leiter Amt für Geoinformation<br />
<br />
Amt für Geoinformation<br />
Rötistrasse 4<br />
4500 Solothurn<br />
<br />
Telefon +41 32 627 75 96<br />
Telefax +41 32 627 75 98<br />
stefan.ziegler@bd.so.ch<br />
http://www.so.ch<br />
<br />
<br />
_______________________________________________<br />
Qgis-developer mailing list<br />
Qgis-developer@lists.osgeo.org<br />
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer<br />
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer<br />
<br /></blockquote>
_______________________________________________<br />
Qgis-developer mailing list<br />
Qgis-developer@lists.osgeo.org<br />
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer<br />
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer</blockquote>
</div>
</body>
</html>