[Qgis-developer] AttributeError on adding new table to Sqlite database

Mihai Terente terenteml at gmail.com
Mon Apr 18 06:22:51 PDT 2016


Hello everyone,

I get this error when I create a table in a sqlite database with DB 
Composer:

AttributeError: 'TableFieldsDelegate' object has no attribute 
'columnNameChanged'

Traceback (most recent call last):   File 
"/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 218, in 
invoke_callback     return self.invokeCallback(callback)   File 
"/usr/share/qgis/python/plugins/db_manager/db_manager.py", line 288, in 
invokeCallback     callback(self.tree.currentItem(), self.sender(), 
self, *params)   File 
"/usr/share/qgis/python/plugins/db_manager/db_plugins/plugin.py", line 
418, in createTableActionSlot     DlgCreateTable(item, parent).exec_()   
File "/usr/share/qgis/python/plugins/db_manager/dlg_create_table.py", 
line 114, in __init__     
d.columnNameChanged.connect(self.updatePkeyCombo) AttributeError: 
'TableFieldsDelegate' object has no attribute 'columnNameChanged'

Python version:2.7.11+ (default, Mar 30 2016, 21:00:42) [GCC 5.3.1 
20160323] QGIS version:2.15.0-Master Master, exported

Python Path:

  * /usr/share/qgis/python/plugins/processing
  * /usr/share/qgis/python
  * /home/lucian/.qgis2/python
  * /home/lucian/.qgis2/python/plugins
  * /usr/share/qgis/python/plugins
  * /usr/lib/python2.7
  * /usr/lib/python2.7/plat-x86_64-linux-gnu
  * /usr/lib/python2.7/lib-tk
  * /usr/lib/python2.7/lib-old
  * /usr/lib/python2.7/lib-dynload
  * /usr/local/lib/python2.7/dist-packages
  * /usr/lib/python2.7/dist-packages
  * /usr/lib/python2.7/dist-packages/PILcompat
  * /usr/lib/python2.7/dist-packages/gtk-2.0
  * /usr/lib/pymodules/python2.7
  * /usr/lib/python2.7/dist-packages/wx-3.0-gtk2
  * /home/lucian/.qgis2//python
  * /home/lucian/studiu/geo-spatial.org/16_SeminarCj/qgispython/QGIS_Python_osgeo_apr_2016

Could this be a bug in db_manager plugin?

Thanks,
Mihai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160418/5bf6ea07/attachment.html>


More information about the Qgis-developer mailing list