[Qgis-developer] AttributeError on adding new table to Sqlite database
Alessandro Pasotti
apasotti at gmail.com
Mon Apr 18 07:38:26 PDT 2016
Already fixed in master:
https://github.com/qgis/QGIS/commit/1e6dceb7d25d0634f9f452dff2f360bcf901bd2f
2016-04-18 15:22 GMT+02:00 Mihai Terente <terenteml at gmail.com>:
> 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
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
--
Alessandro Pasotti
w3: www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160418/eae49dfd/attachment-0001.html>
More information about the Qgis-developer
mailing list