Bug report #14722

Adding new GeoPackage connection to DB Manager is throwing error

Added by zicke - almost 4 years ago. Updated almost 4 years ago.

Status:Closed
Priority:Normal
Assignee:Salvatore Larosa
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System:Ubuntu Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22682

Description

I get the following error:

TypeError: TreeItem.itemChanged[] signal has 0 argument(s) but 1 provided

Traceback (most recent call last):
  File "/usr/local/qgis_master/share/qgis/python/plugins/db_manager/db_tree.py", line 103, in newConnection
    self.mainWindow.invokeCallback(item.addConnectionActionSlot, index)
  File "/usr/local/qgis_master/share/qgis/python/plugins/db_manager/db_manager.py", line 288, in invokeCallback
    callback(self.tree.currentItem(), self.sender(), self, *params)
  File "/usr/local/qgis_master/share/qgis/python/plugins/db_manager/db_plugins/spatialite/plugin.py", line 102, in addConnectionActionSlot
    index.internalPointer().itemChanged.emit(index.internalPointer())
TypeError: TreeItem.itemChanged[] signal has 0 argument(s) but 1 provided

After reopening db manager, the geopackage file is added.

Associated revisions

Revision 65aa8601
Added by Salvatore Larosa almost 4 years ago

[dbmanager] Fixes #14722 - Adding new GeoPackage connection to DB Manager is throwing error

History

#1 Updated by Salvatore Larosa almost 4 years ago

  • Assignee set to Salvatore Larosa

#2 Updated by Salvatore Larosa almost 4 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF