[Gfoss] Errrore Python in Lizmap su OS X

Luca Mandolesi mandoluca a gmail.com
Sab 1 Feb 2014 14:22:26 CET


La sparo quasi a caso. Ho provato al volo lizmap ma su windows caricando un
layer OpenLayer e ho il tuo stesso errore.
AttributeError: 'OpenlayersLayer' object has no attribute 'providerType'
che sta a significare che non ha un provider type come richiesto dal plugin
lizmap.
Deduco che nel tuo progetto sia presente un layer openlayer che non ha il
providerType, quindi non รจ caricabile. Quindi non credo dipenda da mac os
x, ma dal tipo di layer non supportato...qui mi fermo, parola agli esperti.

Ciao
Luca



On Sat, Feb 1, 2014 at 2:02 PM, Luca Moiana <luca_moiana at hotmail.com> wrote:

>  Ciao a tutti,
>
> quando apro Lizmap plug-in QGIS 2 (la release di KyngChaos) su OS X 10.9
> ottengo l'errore qui sotto, ho installato tutte le librerie disponibili
> sulle stesso sito, ma non cambia nulla.
>
> Sapete cosa fare? (a parte passare definitivamente a Ubuntu)
>
> Grazie e buon sabato
>
> An error has occured while executing Python code:
>
> Traceback (most recent call last):
>   File "/Users/lucamoiana/.qgis2/python/plugins/lizmap/lizmap.py", line
> 2383, in run
>     if not self.dlg.isVisible() and self.checkGlobalProjectOptions():
>   File "/Users/lucamoiana/.qgis2/python/plugins/lizmap/lizmap.py", line
> 1862, in checkGlobalProjectOptions
>     layerProviderKey = mc.layer( i ).providerType()
> AttributeError: 'OpenlayersLayer' object has no attribute 'providerType'
>
> Python version:
> 2.7.5 (default, Aug 25 2013, 00:04:04)
> [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)]
>
>
> QGIS version:
> 2.0.1-Dufour Dufour, f738351
>
> Python path:
> ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing',
> '/Users/lucamoiana/.qgis2/python/plugins/GeoCoding',
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python',
> '/Users/lucamoiana/.qgis2/python',
> '/Users/lucamoiana/.qgis2/python/plugins',
> '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins',
> '/Library/Python/2.6/site-packages/numpy-override',
> '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages',
> '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.6/site-packages',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload',
> '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC',
> '/Library/Python/2.7/site-packages',
> '/Library/Python/2.7/site-packages/PIL',
> '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools',
> '/Users/lucamoiana/Documents/GIS/Rugareto']
>
> _______________________________________________
> Gfoss at lists.gfoss.it
> http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
> Questa e' una lista di discussione pubblica aperta a tutti.
> I messaggi di questa lista non hanno relazione diretta con le posizioni
> dell'Associazione GFOSS.it.
> 666 iscritti al 22.7.2013
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20140201/81c95f81/attachment.html>


Maggiori informazioni sulla lista Gfoss