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

Issue creating a difference map #82

Open
timlinux opened this issue May 3, 2019 · 1 comment
Open

Issue creating a difference map #82

timlinux opened this issue May 3, 2019 · 1 comment

Comments

@timlinux
Copy link
Collaborator

timlinux commented May 3, 2019

Describe the bug
A clear and concise description of what the bug is.

Trying to do a difference map I get:

2019-05-03T11:08:52     WARNING    Traceback (most recent call last):
              File "/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/Maceira/python/plugins/geosys-qgis-plugin/geosys/ui/widgets/geosys_dockwidget.py", line 536, in start_difference_map_creation
              filename, output_map_format=self.output_map_format)
              File "/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/Maceira/python/plugins/geosys-qgis-plugin/geosys/ui/widgets/geosys_coverage_downloader.py", line 326, in create_difference_map
              proxies=QGISSettings.get_qgis_proxy())
              File "/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/Maceira/python/plugins/geosys-qgis-plugin/geosys/bridge_api_wrapper.py", line 109, in __init__
              self.authenticated, self.authentication_message = self.authenticate()
              File "/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/Maceira/python/plugins/geosys-qgis-plugin/geosys/bridge_api_wrapper.py", line 150, in authenticate
              self.client_secret)
              File "/Users/timlinux/Library/Application Support/QGIS/QGIS3/profiles/Maceira/python/plugins/geosys-qgis-plugin/geosys/bridge_api/connection.py", line 69, in get_access_token
              return response.json()
              File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/requests/models.py", line 897, in json
              return complexjson.loads(self.text, **kwargs)
              File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/simplejson/__init__.py", line 518, in loads
              return _default_decoder.decode(s)
              File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/simplejson/decoder.py", line 370, in decode
              obj, end = self.raw_decode(s)
              File "/Applications/QGIS3.4.app/Contents/MacOS/../Resources/python/simplejson/decoder.py", line 400, in raw_decode
              return self.scan_once(s, idx=_w(s, idx).end())
             simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
@myarjunar
Copy link
Contributor

thanks for spotting this @timlinux . I think the problem is it somehow failed to authenticate. I will create a handler for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants