[Qgis-developer] QgsVectorLayer Failed To load
Germán Carrillo
carrillo.german at gmail.com
Tue Dec 22 07:56:44 EST 2009
Hi Luca.
I guess you have troubles with qgis_prefix. You should set it to point the
QGIS dir.
e.g. qgis_prefix = '/usr' (On Ubuntu it works)
Regards.
Germán
2009/12/22 Luca Delucchi <lucadeluge at gmail.com>
> Hi everybody i'm trying to do a small application, in python, for
> children about geographic information. I started from Martin's
> tutorial but i have a error when i try to load a vector layer, the
> error is "Failed to Load" but my application doesn't crash. Also
> Martin's tutorial have the same problem, i use qgis and python-qgis
> 1.3 with debian lenny. My code for add the layer is here [0] someone
> can help me?
>
> thank's
> Luca
>
> [0] http://pastebin.com/m4fb9cfef
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
-----------
|\__
(:>__)(
|/
Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20091222/b4c35c43/attachment.html
More information about the Qgis-developer
mailing list