[Qgis-developer] migrating from 1.7 to 1.8

PIERRE Sylvain sylvain.pierre at cg67.fr
Thu Oct 18 00:30:43 PDT 2012


The answer is here :

http://linfiniti.com/2012/09/making-your-qgis-command-line-applications-quiet/

But in my case QGIS_DEBUG must be set to -1



De : qgis-developer-bounces at lists.osgeo.org [mailto:qgis-developer-bounces at lists.osgeo.org] De la part de PIERRE Sylvain
Envoyé : mercredi 17 octobre 2012 09:43
À : qgis-developer at lists.osgeo.org
Objet : [Qgis-developer] migrating from 1.7 to 1.8

Hi,

I'm developping a standalone apllication with python qt and pyqgis and I would like to update this tools
I'm triyng to migrate from 1.7 to 1.8, so from python 2.5 to python 2.7...
My IDE is pyscripter.
With env 1.8 when I run my dev from pyscriter it's slower than with 1.7 and there's messages in the output window like that :

d:\src\qgis-1.8.0\src\core\qgsproviderregistry.cpp(364) : (QgsProviderRegistry::provider) Library name is C:/Program Files/Quantum GIS Lisboa/apps/qgis/plugins/spatialiteprovider.dll
d:\src\qgis-1.8.0\src\core\qgsproviderregistry.cpp(370) : (QgsProviderRegistry::provider) Loaded data provider library
d:\src\qgis-1.8.0\src\core\qgsproviderregistry.cpp(371) : (QgsProviderRegistry::provider) Attempting to resolve the classFactory function
d:\src\qgis-1.8.0\src\core\qgsproviderregistry.cpp(378) : (QgsProviderRegistry::provider) Getting pointer to a dataProvider object from the library
d:\src\qgis-1.8.0\src\providers\spatialite\qgsspatialiteprovider.cpp(4131) : (QgsSpatiaLiteProvider::SqliteHandles::openDb) New sqlite connection for C:/APPLI_PDT/CANAL_DEV/bd_canal.sqlite
d:\src\qgis-1.8.0\src\providers\spatialite\qgsspatialiteprovider.cpp(4152) : (QgsSpatiaLiteProvider::SqliteHandles::openDb) Connection to the database was successful
d:\src\qgis-1.8.0\src\core\qgsproviderregistry.cpp(389) : (QgsProviderRegistry::provider) Instantiated the data provider plugin
d:\src\qgis-1.8.0\src\core\qgsproviderregistry.cpp(390) : (QgsProviderRegistry::provider) provider name: spatialite
d:\src\qgis-1.8.0\src\core\qgsvectorlayer.cpp(2804) : (QgsVectorLayer::setDataProvider) Instantiated the data provider plugin
d:\src\qgis-1.8.0\src\core\qgsvectorlayer.cpp(2818) : (QgsVectorLayer::setDataProvider) Extent of layer: 980388.0988147819880396,109491.8876062979979906 : 996598.2265172089682892,110715.9319274979934562
d:\src\qgis-1.8.0\src\core\qgsvectorlayer.cpp(4521) : (QgsVectorLayer::setCoordinateSystem) ----- Computing Coordinate System

It's just like each cpp QGis function run in a verbose mode.

It wasn't like this with 1.7.

How can I solve it ?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20121018/95c9b1dc/attachment.html>


More information about the Qgis-developer mailing list