[Qgis-developer] Python ogr driver issue (was ----> (no subject))
Tim Sutton
lists at linfiniti.com
Mon Oct 29 13:31:33 PDT 2012
Hi
On Mon, Aug 27, 2012 at 9:32 AM, ludo <ludovic.granjon at wanadoo.fr> wrote:
> Hi
>
> Ok so I try your script Tim and I obtain this :
>
> Application state:
> Prefix: /usr
> Plugin Path: /usr/lib/qgis/plugins
> Package Data Path: /usr/share/qgis
> Active Theme Name:
> Active Theme Path: :/images/themes//
> Default Theme Path: :/images/themes/default/
> SVG Search Paths: /usr/share/qgis/svg/
> User DB Path: /usr/share/qgis/resources/qgis.db
>
>
>
> Could not find OGR provider!
>
> When I do
> for i in r.providerList():
> print i
>
> I have
>
> delimitedtext
> gdal
> gpx
>
> But the same in the python console of QGIS :
>
> \etat de l'application :
> Prefixe: /usr
> Chemin de l'extension : /usr/lib/qgis/plugins
> Chemin vers les donnees : /usr/share/qgis
> Nom du theme actif : default
> Chemin vers le theme actif : :/images/themes/default/
> Chemin vers le theme par defaut : :/images/themes/default/
> Chemin SVG: /usr/share/qgis/svg/
> /home/ludo/.qgis//svg/
> Chemin vers la base utilisateur : /usr/share/qgis/resources/qgis.db
>
>
>
> and
>
>
>
> WFS
>
> gdal
>
> gpx
>
> grass
>
> grassraster
>
> memory
>
> mssql
>
> ogr
>
> osm
>
> postgres
>
> spatialite
>
> wms
>
>
> Do you know where is the problem ?
>
Does:
ldd /usr/lib/qgis/plugins/libogrprovider.so
show any library issues when run from the same environment as where
your standalone script runs?
Regards
Tim
--
Tim Sutton - QGIS Project Steering Committee Member (Release Manager)
==============================================
Please do not email me off-list with technical
support questions. Using the lists will gain
more exposure for your issues and the knowledge
surrounding your issue will be shared with all.
Visit http://linfiniti.com to find out about:
* QGIS programming and support services
* Mapserver and PostGIS based hosting plans
* FOSS Consulting Services
Skype: timlinux
Irc: timlinux on #qgis at freenode.net
==============================================
More information about the Qgis-developer
mailing list