<div dir="ltr"><div>Already fixed in master: <br><br><a href="https://github.com/qgis/QGIS/commit/1e6dceb7d25d0634f9f452dff2f360bcf901bd2f">https://github.com/qgis/QGIS/commit/1e6dceb7d25d0634f9f452dff2f360bcf901bd2f</a><br></div><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-04-18 15:22 GMT+02:00 Mihai Terente <span dir="ltr"><<a href="mailto:terenteml@gmail.com" target="_blank">terenteml@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
Hello everyone,<br>
<br>
I get this error when I create a table in a sqlite database with DB
Composer:<br>
<br>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt><span style="font-size:large;font-weight:600">AttributeError:
'TableFieldsDelegate' object has no attribute
'columnNameChanged' </span></tt></p>
<tt> </tt>
<pre style="margin-top:12px;margin-bottom:12px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>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'
</tt></pre>
<tt> </tt>
<p style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>
</tt><tt><span style="font-weight:600">Python version:</span></tt><tt>
2.7.11+ (default, Mar 30 2016, 21:00:42) [GCC 5.3.1 20160323] </tt><tt>
</tt><tt><span style="font-weight:600">QGIS version:</span></tt><tt>
2.15.0-Master Master, exported </tt><tt>
</tt></p>
<tt> </tt>
<p style="margin-top:12px;margin-bottom:12px;margin-left:0px;margin-right:0px;text-indent:0px"><tt><span style="font-size:medium;font-weight:600">Python Path:</span></tt></p>
<tt> </tt>
<ul style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px">
<li style="margin-top:12px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/share/qgis/python/plugins/processing</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/share/qgis/python</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/home/lucian/.qgis2/python</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/home/lucian/.qgis2/python/plugins</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/share/qgis/python/plugins</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/plat-x86_64-linux-gnu</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/lib-tk</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/lib-old</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/lib-dynload</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/local/lib/python2.7/dist-packages</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/dist-packages</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/dist-packages/PILcompat</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/dist-packages/gtk-2.0</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/pymodules/python2.7</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/usr/lib/python2.7/dist-packages/wx-3.0-gtk2</tt></li>
<li style="margin-top:0px;margin-bottom:0px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/home/lucian/.qgis2//python</tt></li>
<li style="margin-top:0px;margin-bottom:12px;margin-left:0px;margin-right:0px;text-indent:0px"><tt>/home/lucian/studiu/<a href="http://geo-spatial.org/16_SeminarCj/qgispython/QGIS_Python_osgeo_apr_2016" target="_blank">geo-spatial.org/16_SeminarCj/qgispython/QGIS_Python_osgeo_apr_2016</a></tt></li>
</ul>
Could this be a bug in db_manager plugin?<br>
<br>
Thanks,<br>
Mihai
</div>
<br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div>
</div>