[Qgis-user] Offline editing not working on some layer types.
Nathan Woodrow
madmanwoo at gmail.com
Thu Oct 13 15:45:00 PDT 2011
Hi All,
I was trying to use the offline editing plugin for some field work but it
doesn't seem to want to convert the layers to offline for me.
The layers are all MapInfo .TAB files when running convert to offline the
plugin sits for a while then goes back to the map canvas. This is the
output in my Windows XP DebugView:
[6032] d:\src\qgis\src\app\qgscustomization.cpp(778) :
(QgsCustomization::customizeWidget) objectName =
QgsOfflineEditingPluginGuiBase event type = 17
[6032] d:\src\qgis\src\app\qgscustomization.cpp(780) :
(QgsCustomization::customizeWidget) QgsOfflineEditingPluginGui x QDialog
[6032] d:\src\qgis\src\app\qgscustomization.cpp(778) :
(QgsCustomization::customizeWidget) objectName = event type = 17
[6032] d:\src\qgis\src\app\qgscustomization.cpp(780) :
(QgsCustomization::customizeWidget) QMessageBox x QDialog
[6032] d:\src\qgis\src\app\qgscustomization.cpp(778) :
(QgsCustomization::customizeWidget) objectName =
QgsOfflineEditingProgressDialogBase event type = 17
[6032] d:\src\qgis\src\app\qgscustomization.cpp(780) :
(QgsCustomization::customizeWidget) QgsOfflineEditingProgressDialog x
QDialog
[6032] d:\src\qgis\src\core\qgsmaplayer.cpp(53) : (QgsMapLayer::QgsMapLayer)
lyrname is 'Buildings (offline)'
[6032] d:\src\qgis\src\core\qgsmaplayer.cpp(59) : (QgsMapLayer::QgsMapLayer)
layerName is 'Buildings (offline)'
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(363) :
(QgsProviderRegistry::provider) Library name is
C:/OSGeo4W/apps/qgis-dev/plugins/spatialiteprovider.dll
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(369) :
(QgsProviderRegistry::provider) Loaded data provider library
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(370) :
(QgsProviderRegistry::provider) Attempting to resolve the classFactory
function
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(377) :
(QgsProviderRegistry::provider) Getting pointer to a dataProvider object
from the library
[6032] d:\src\qgis\src\providers\spatialite\qgsspatialiteprovider.cpp(4102)
: (QgsSpatiaLiteProvider::SqliteHandles::openDb) New sqlite connection for
C:/offline.sqlite
[6032] d:\src\qgis\src\providers\spatialite\qgsspatialiteprovider.cpp(4123)
: (QgsSpatiaLiteProvider::SqliteHandles::openDb) Connection to the database
was successful
[6032] d:\src\qgis\src\providers\spatialite\qgsspatialiteprovider.cpp(459) :
(QgsSpatiaLiteProvider::QgsSpatiaLiteProvider) Invalid SpatiaLite layer
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(388) :
(QgsProviderRegistry::provider) Instantiated the data provider plugin
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(389) :
(QgsProviderRegistry::provider) provider name: spatialite
[6032] d:\src\qgis\src\core\qgsproviderregistry.cpp(399) :
(QgsProviderRegistry::provider) Invalid data provider
[6032] d:\src\qgis\src\core\qgsvectorlayer.cpp(2843) :
(QgsVectorLayer::setDataProvider) unable to get data provider
Seems if you do the same with using Shapefiles everything works fine.
Anyone had this problem before?
- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20111014/fed074fc/attachment.html>
More information about the Qgis-user
mailing list