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

ValueError: too many values to unpack (expected 2) #74

Closed
bismarksr17 opened this issue Aug 23, 2022 · 3 comments
Closed

ValueError: too many values to unpack (expected 2) #74

bismarksr17 opened this issue Aug 23, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@bismarksr17
Copy link

bismarksr17 commented Aug 23, 2022

image_2022-08-23_155102417
When I enter in...

Show Logs > Show changes introduced by this commit...

the following error is displayed

An error has occurred while executing Python code:

ValueError: too many values to unpack (expected 2)
Traceback (most recent call last):
File "C:\Users/UTEA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kart\gui\diffviewer.py", line 182, in treeItemChanged
self._createLayers()
File "C:\Users/UTEA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kart\gui\diffviewer.py", line 458, in _createLayers
self._createFeatureDiffLayers()
File "C:\Users/UTEA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kart\gui\diffviewer.py", line 513, in _createFeatureDiffLayers
self._createVertexDiffLayer(geoms)
File "C:\Users/UTEA/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\kart\gui\diffviewer.py", line 557, in _createVertexDiffLayer
x, y = coord.strip().split(" ")
ValueError: too many values to unpack (expected 2)

I work with QGIS 3.22.10 and Kart 0.11.3

Thank you!

@bismarksr17 bismarksr17 added the bug Something isn't working label Aug 23, 2022
@pfw
Copy link
Contributor

pfw commented Aug 24, 2022

This issue is understood and a new release of the plugin will be available very shortly.

@pfw
Copy link
Contributor

pfw commented Aug 24, 2022

@bismarksr17 There is a new build of the plugin available at https://github.com/koordinates/kart-qgis-plugin/actions/runs/2916898389 which can be installed directly from the kart_package.zip. If that works for you we can get that fix into a release installable directly via QGIS plugin manager.

@rcoup
Copy link
Member

rcoup commented Aug 25, 2022

Release in 1.0.3 which is now in the QGIS plugin manager.

@rcoup rcoup closed this as completed Aug 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants