[Qgis-developer] QGIS 2.14.8 startup error

Stefan Ziegler stefan.ziegler.de at gmail.com
Mon Nov 7 01:55:59 PST 2016


Thanks Matthias.

Stefan

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


More information about the Qgis-developer mailing list