enricofer / go2streetview

22 stars 22 forks source link

Python error... but then works #11

Closed geodrinx closed 9 years ago

geodrinx commented 9 years ago

today, go2streetview returns this strange error, every time I take the yellow line

Traceback (most recent call last): File "C:/Users/rrr/.qgis2/python/plugins\go2streetview\go2streetview.py", line 215, in catchJSevents self.writeInfoBuffer(self.transformToCurrentSRS(actualPoint)) File "C:/Users/rrr/.qgis2/python/plugins\go2streetview\go2streetview.py", line 497, in writeInfoBuffer if self.infoBoxManager.getInfolayer().geometryType() == QGis.Point: AttributeError: 'NoneType' object has no attribute 'geometryType'

But... after some time the image appears correctly.

geodrinx commented 9 years ago

I discovered that the python panels are two

geodrinx commented 9 years ago

I restarted QGIS and it works, now :)