Python traceback while clicking on the icon
Closed this issue · 4 comments
Gustry commented
Hi, I have an issue on both QGIS 3.2 and QGIS 3.3:
As soon as I click on the mapillary icon:
Stacktrace:
An error has occurred while executing Python code:
TypeError: 'method' object is not connected
Traceback (most recent call last):
File "/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_explorer.py", line 373, in run
self.canvas.extentsChanged.disconnect(self.mapChanged)
TypeError: 'method' object is not connected
Python version: 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0]
QGIS version: 3.2.0-Bonn Bonn, bc43194061
Python Path:
/home/trimaille/dev/qgis/build-qgis-3_2/output/python
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/home/trimaille/dev/qgis/build-qgis-3_2/output/python/plugins
/usr/lib/python36.zip
/usr/lib/python3.6
/usr/lib/python3.6/lib-dynload
/usr/local/lib/python3.6/dist-packages
/usr/lib/python3/dist-packages
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/inasafe
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/inasafe/safe_extras/parameters
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/inasafe/safe_extras
/usr/lib/python3/dist-packages/IPython/extensions
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/vector_tiles_reader/ext-libs
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/extlibs
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary
/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary
/home/trimaille/Desktop/soufriere
In my logs:
2018-07-05T07:45:54 INFO go2mapillary : loading vector tile [5385,7451,14]
2018-07-05T07:45:54 WARNING Python error : An error has occurred while executing Python code: See message log (Python Error) for more details.
2018-07-05T07:47:45 WARNING Python error : An error has occurred while executing Python code: See message log (Python Error) for more details.
File "/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_explorer.py", line 362, in run
self.mapRefreshed(force=True)
File "/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_explorer.py", line 338, in mapRefreshed
enabledLevels = self.coverage.update_coverage(force=force)
File "/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_coverage.py", line 350, in update_coverage
self.download_tiles(force=force)
File "/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_coverage.py", line 273, in download_tiles
json_data = mapbox_vector_tile.decode(mvt, quantize_bounds=tile_box)
TypeError: decode() got an unexpected keyword argument 'quantize_bounds'
2018-07-05T07:47:45 WARNING Traceback (most recent call last):
File "/home/trimaille/.local/share/QGIS/QGIS3/profiles/default/python/plugins/go2mapillary/mapillary_explorer.py", line 373, in run
self.canvas.extentsChanged.disconnect(self.mapChanged)
TypeError: 'method' object is not connected
2018-07-05T07:43:33 INFO CACHE_DIR/tmp/go2mapillary
2018-07-05T07:43:57 INFO CACHE_DIR/tmp/go2mapillary
2018-07-05T07:45:45 INFO CACHE_DIR/tmp/go2mapillary
2018-07-05T07:45:54 INFO CACHE [5385,7451,14]
Thanks for your help
enricofer commented
No issues with the same platform here.
I see that you have ..../vector_tiles_reader/ext-libs in your paths. So I fear that there is some python modules adressing mismatch. Could you try to remove (not simply unload) vector_tiles_reader plugin and restart QGIS to check for embedded libraries incompatibilities ?
Gustry commented
I removed the folder vector_tiles_reader
. Indeed it's working now. Is there a conflict in paths? Which plugin is guilty? ;-)
enricofer commented
vector_tiles_reader plugin is a more generic tool. Perhaphs it's better to rename the modules in go2mapillary to prevent these unwanted conflicts