[Gfoss] Errore plugin QGis to Leaftlet

Maxdragonheart massimilianomoraca a gmail.com
Gio 10 Dic 2015 20:40:24 CET


Salve, quando classifico uno shp e poi tento di esportarlo con il plugin in
questione mi compare questo errore:
---
/An error has occured while executing Python code:


Traceback (most recent call last):
  File "/home/user/.qgis2/python/plugins/qgis2leaf/qgis2leafdialog.py", line
297, in export2leaf
    qgis2leaf_exec(self.outFileName, self.basemapName, self.basemapMeta,
self.basemapAddress, self.width, self.height, self.extent, self.full_screen,
self.layer_list, self.visible, self.opacity,
self.encode2JSON,self.createcluster, self.webpage_name,
self.webmap_head,self.webmap_subhead, self.legend,self.locate,self.address,
self.precision, self.labels, self.labelshover, self.matchCRS, self.selected)
  File "/home/user/.qgis2/python/plugins/qgis2leaf/qgis2leaf_exec.py", line
519, in qgis2leaf_exec
    fillOpacity: '""" + str(symbol.alpha()) + """',
UnboundLocalError: local variable 'symbol' referenced before assignment


Python version:
2.7.6 (default, Jun 22 2015, 18:01:27) 
[GCC 4.8.2]


QGIS version:
2.8.3-Wien Wien, exported

Python path: ['/usr/share/qgis/python/plugins/processing',
'/usr/share/qgis/python', u'/home/user/.qgis2/python',
u'/home/user/.qgis2/python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PILcompat',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
u'/home/user/.qgis2//python', '/home/user/.qgis2/python/plugins', '.',
'/usr/share/qgis/python/plugins/fTools/tools',
'/usr/share/qgis/python/plugins/DigitizingTools/tools',
'/usr/share/qgis/python/plugins/mmqgis/forms',
'/usr/share/qgis/python/plugins/QuickMultiAttributeEdit/forms',
'/home/user/GIS/Casalnuovo/gis']/
---

Tornando su single symbol il problema sparisce. Sapete dirmi come posso
risolvere?



-----
Blogger, ingegnere, cartografo, ciclista urbano, co-founder di @I_Mobility e founder di @Geo_Experience
--
View this message in context: http://gfoss-geographic-free-and-open-source-software-italian-mailing.3056002.n2.nabble.com/Errore-plugin-QGis-to-Leaftlet-tp7595255.html
Sent from the Gfoss -- Geographic Free and Open Source Software - Italian mailing list mailing list archive at Nabble.com.


Maggiori informazioni sulla lista Gfoss