GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
92 stars 31 forks source link

Adding a new provider not possible #103

Closed SlowMo24 closed 5 years ago

SlowMo24 commented 5 years ago

Here's what I did

Adding a new provider (ORS Tools -> Provider -> Settings-Wheel -> add -> specify name -> click ok) crashes with the following stacktrace:

Ein Fehler trat bei der Ausführung von Python-Code auf: 

NameError: name 'limit' is not defined 
Traceback (most recent call last):
  File "/home/moritz/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ORStools/gui/ORStoolsDialogConfig.py", line 96, in _add_provider
    self._add_box(provider_name, 'https://', '', new=True)
  File "/home/moritz/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ORStools/gui/ORStoolsDialogConfig.py", line 149, in _add_box
    limit=limit,
NameError: name 'limit' is not defined

Python-Version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0] 
QGIS-Version: 3.4.7-Madeira Madeira, 5c56989 

Workaround

Manually editing the config.yml-file in the plugin direcotry (copy pasting the existing entry) should work fine.

nilsnolde commented 5 years ago

Thx for reporting, will be fixed this week too then!

nilsnolde commented 5 years ago

uploaded in plugin repo