enricofer / go2streetview

22 stars 22 forks source link

go2streetview 8.1: AttributeError: type object 'QgsMessageLog' has no attribute 'INFO' #62

Closed DanieleMyke closed 2 years ago

DanieleMyke commented 2 years ago

Dear,

I use QGIS 3.14.16-Pi wi and when I try to launch the plugin appears this message:

WARNING Traceback (most recent call last): File "C:/Users/Daniele M/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\go2streetview\go2streetview.py", line 678, in canvasReleaseEvent self.openSVDialog() File "C:/Users/Daniele M/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\go2streetview\go2streetview.py", line 704, in openSVDialog core.QgsMessageLog.logMessage(QtCore.QUrl(self.gswDialogUrl).toString(), tag="go2streetview", level=core.QgsMessageLog.INFO) AttributeError: type object 'QgsMessageLog' has no attribute 'INFO'

The plugin display screen remains gray. image

How can I solve this problem?

Thanks

enricofer commented 2 years ago

now fixed. thanks for submission