Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new provider not possible #103

Closed
SlowMo24 opened this issue Apr 30, 2019 · 2 comments
Closed

Adding a new provider not possible #103

SlowMo24 opened this issue Apr 30, 2019 · 2 comments
Assignees
Labels
bug fixed in master Download https://github.com/nilsnolde/OSMtools/archive/master.zip and extract to plugin path

Comments

@SlowMo24
Copy link

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
Copy link
Contributor

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

@nilsnolde nilsnolde self-assigned this Apr 30, 2019
@nilsnolde nilsnolde added the bug label Apr 30, 2019
@nilsnolde nilsnolde added the fixed in master Download https://github.com/nilsnolde/OSMtools/archive/master.zip and extract to plugin path label May 2, 2019
@nilsnolde
Copy link
Contributor

uploaded in plugin repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fixed in master Download https://github.com/nilsnolde/OSMtools/archive/master.zip and extract to plugin path
Projects
None yet
Development

No branches or pull requests

2 participants