[MacPorts] #56001: qgis3 - no write/read of Geopackage or Sqlite databases

MacPorts noreply at macports.org
Tue Mar 27 07:40:22 UTC 2018


#56001: qgis3 - no write/read of Geopackage or Sqlite databases
----------------------+----------------------
  Reporter:  Malauch  |      Owner:  Veence
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  qgis3    |
----------------------+----------------------

Comment (by Malauch):

 In addition in Macport's version, when trying to connect to Sqlite
 database from database manager there are some python bugs.

 {{{
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py",
 line 441, in rowCount
                             self._refreshIndex(parent, True)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py",
 line 490, in _refreshIndex
                             if item.populate():
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_model.py",
 line 167, in populate
                             if not connection.connect():
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/spatialite/plugin.py",
 line 80, in connect
                             return self.connectToUri(uri)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/plugin.py",
 line 109, in connectToUri
                             self.db = self.databasesFactory(self, uri)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/spatialite/plugin.py",
 line 66, in databasesFactory
                             return SLDatabase(connection, uri)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/spatialite/plugin.py",
 line 109, in __init__
                             Database.__init__(self, connection, uri)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/plugin.py",
 line 218, in __init__
                             self.connector = self.connectorsFactory(uri)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/spatialite/plugin.py",
 line 112, in connectorsFactory
                             return SpatiaLiteDBConnector(uri)
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/plugins/db_manager/db_plugins/spatialite/connector.py",
 line 51, in __init__
                             self.connection =
 spatialite_connect(self._connectionInfo())
                           File
 "/Applications/MacPorts/Qgis3.app/Contents/MacOS/../Resources/python/qgis/utils.py",
 line 616, in spatialite_connect
                             raise RuntimeError("Cannot find any suitable
 spatialite module")
                         RuntimeError: Cannot find any suitable spatialite
 module

 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56001#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list