Using QGIS 3.16 I have several Geopackages already, which I would like to import a file into and make a new layer. I'm using the DB Manager > Table > Import Layer/File menu item. QGIS throws a traceback.
021-12-20T11:02:55 WARNING Traceback (most recent call last):
File "D:/Program Files/QGIS 3.16/apps/qgis/./python/plugins\db_manager\db_manager.py", line 169, in importActionSlot
dlg = DlgImportVector(None, db, outUri, self)
File "D:/Program Files/QGIS 3.16/apps/qgis/./python/plugins\db_manager\dlg_import_vector.py", line 69, in __init__
self.populateLayers()
File "D:/Program Files/QGIS 3.16/apps/qgis/./python/plugins\db_manager\dlg_import_vector.py", line 135, in populateLayers
if layer.type() == QgsMapLayerType.VectorLayer:
AttributeError: 'NoneType' object has no attribute 'type'
This happens on all the databases. Tried to close project down and restart. no dice.
Anyone have a clue as to what I should be looking for?