[Qgis-developer] QGIS 2.14.8 startup error

Ziegler Stefan Stefan.Ziegler at bd.so.ch
Fri Nov 4 01:16:46 PDT 2016


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 




More information about the Qgis-developer mailing list