Bug report #14237

DB Manager: python error adding a SL view using d&d

Added by Giovanni Manghi about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22234

Description

no error on 2.8.6

An error has occurred while executing Python code:

TypeError: unbound method mimeUri() must be called with VectorTable instance as first argument (got SLTable instance instead) 
Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/db_manager/db_model.py", line 513, in mimeData
    stream.writeQString(table.mimeUri())
  File "/usr/share/qgis/python/plugins/db_manager/db_plugins/spatialite/plugin.py", line 191, in mimeUri
    return VectorTable.mimeUri(self)
TypeError: unbound method mimeUri() must be called with VectorTable instance as first argument (got SLTable instance instead)

Associated revisions

Revision c7cde461
Added by Martin Dobias about 8 years ago

Fix drag&drop of spatialite tables (fixes #14237)

History

#1 Updated by Martin Dobias about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF