danioxoli / HotSpotAnalysis_Plugin

A QGIS plugin for hotspot analysis
GNU General Public License v3.0
55 stars 12 forks source link

TOO MANY VALUES TO UNPACK #20

Closed GiuliaT closed 5 years ago

GiuliaT commented 5 years ago

Hi Daniele,

the new problem concerns the form of my point vector, in which I have the following fields:

reg_code String 254 0 latitude Real 23 15 longitude Real 23 15 _freq Integer64 10 0

Here in the picture: image

I am not able to perform hotspot analysis on this layer as it returns me the following error: 2018-11-15T11:35:19 WARNING Traceback (most recent call last): File _"C:/Users/giugg_000/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\HotspotAnalysis\hotspot_analysis.py", line 564, in run (path, layerid) = layerName.split('|') ValueError: too many values to unpack (expected 2)

Do you how could I solve this problem?

Best, Giulia

danioxoli commented 5 years ago

It looks like a problem in the file name or path which you are using to store the output. Can you share with me the layer, the path string and layer name you are using? (daniele.oxoli@polimi.it) I will try to check

Daniele