Hi all,
I'm trying to experiment with PyQGIS but I'm experiencing some problems...
When adding shapefile I get:
>>> from qgis.core import *
>>> QgsApplication.setPrefixPath("/usr/share/qgis", True)
>>> QgsApplication.initQgis()
>>> vlayer = QgsVectorLayer("test.shp", "test", "ogr")
Failed to load
Any clues? I think that prefix path is right (Ubuntu 8.10), isn't it?
Thanks, Tom
_______________________________________________
Qgis-user mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-user