Bug report #18066

AttributeError: 'QgsMessageBar' object has no attribute 'INFO'

Added by Alex Riley over 2 years ago. Updated over 2 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/GUI
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:25962

Description

After an exception in a python processing provider plugin (a work in progress, not a core provider), the following traceback is shown:

2018-02-09T15:30:27    WARNING    Traceback (most recent call last):
              File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 321, in executeAlgorithm
                feedback = MessageBarProgress()
              File "/usr/share/qgis/python/plugins/processing/gui/MessageBarProgress.py", line 49, in __init__
                iface.messageBar().INFO)
            AttributeError: 'QgsMessageBar' object has no attribute 'INFO'

Probably related to 3dc3d9d1b22f38cdccedb72683c077a219cda021

Associated revisions

History

#1 Updated by Jürgen Fischer over 2 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#2 Updated by Jürgen Fischer over 2 years ago

  • Description updated (diff)

#3 Updated by Giovanni Manghi over 2 years ago

  • Resolution set to fixed/implemented

Also available in: Atom PDF