<div>I'm using GRASS 6.4.2 on Ubuntu 12.10 and I have one location where I use PostgreSQL 9.1.8 database (UTF-8), for some reason all vector layers are not queryable, when I click in the layer features this message error appears:</div>
<div><br></div><div>Traceback (most recent call last):</div><div> File "/usr/lib/grass64/etc/wxpython/gui_modules/mapdisp_wi</div><div>ndow.py", line 1017, in MouseActions</div><div>self.OnLeftUp(event)</div><div>
File "/usr/lib/grass64/etc/wxpython/gui_modules/mapdisp_wi</div><div>ndow.py", line 1207, in OnLeftUp</div><div>self.parent.QueryVector(self.mouse['begin'][0],</div><div>self.mouse['begin'][1])</div>
<div> File</div><div>"/usr/lib/grass64/etc/wxpython/gui_modules/mapdisp.py", line</div><div>1383, in QueryVector</div><div>action = mode)</div><div> File</div><div>"/usr/lib/grass64/etc/wxpython/gui_modules/dbm_dialogs.py",</div>
<div>line 102, in __init__</div><div>self.UpdateDialog(query = query, cats = cats)</div><div> File</div><div>"/usr/lib/grass64/etc/wxpython/gui_modules/dbm_dialogs.py",</div><div>line 362, in UpdateDialog</div>
<div>query[1])</div><div> File</div><div>"/usr/lib/grass64/etc/wxpython/gui_modules/dbm_base.py",</div><div>line 109, in SelectByPoint</div><div>if self.tables[table][key]['ctype'] != types.StringType:</div>
<div>KeyError</div><div>:</div><div>'Category'</div><div><br></div><div><div>In other locations where I do not use PostgreSQL the problem does not appear. This problem may relate to the fact that there are other PostGIS tables in the database that are not used by GRASS?</div>
<div><br></div><div>Thanks in advance</div></div>-- <br><b>Marcello Benigno B. de Barros Filho</b><br><font size="1">Prof. do Curso Superior de Tecnologia em Geoprocessamento - IFPB<br>Mestre em Ciências Geodésicas e Tecnologias da Geoinformação - UFPE</font><div>
<font size="1">Doutorando em Tecnologia Ambiental e Recursos Hídricos - UFPE</font><font size="1"><br></font><font size="1"><a href="http://profmarcello.blogspot.com" target="_blank">http://profmarcello.blogspot.com</a></font><div>
<a href="http://about.me/marcello.benigno" target="_blank"><font size="1">http://about.me/marcello.benigno</font></a></div></div>