[Qgis-developer] Re: [Qgis-user] Offline editing not working on some layer types.

Giovanni Manghi giovanni.manghi at gmail.com
Thu Oct 13 18:57:04 EDT 2011


Hi,


the tool is meant to work with Postgis layers, when you don't have
connection to the server.

If it throws an error when you have mapinfo files in the project, then
you may want to file a ticket.

cheers

-- Giovanni --



On Fri, 2011-10-14 at 08:45 +1000, Nathan Woodrow wrote:
> 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
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-developer mailing list