<div dir="ltr">Dear list,<div><br></div><div>I've trouble using the STDM plugin with default setup.</div><div><br></div><div>I run QGIS 2.6.1 and Postgres 9.3. I installed STDM by :</div><div>- checking out the stdm-plugin repo (master) in my plugin's directory</div><div>- running template_stdm_database.sql in a fresh postgres database (from the stdm-database repo) </div><div><br></div><div>I encountered a small SQL error : </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="monospace">ERROR:  rule "geometry_columns_delete" for relation "geometry_columns" already exist</font></blockquote><div>Which I solved by adding "OR REPLACE" on the rules creations.</div><div><br></div><div>Then, when opening QGIS and logging in the SDTM plugin (using the postgres admin account), I get this message :</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><font face="monospace">Mapper Mapper|Party|party could not assemble any primary key columns for mapped table 'party'</font></blockquote><div><br></div><div>I don't know if it's serious, but then, when I try to add content through the [+] button in Modules>Household, I get an empty form with only "ok" or "cancel". </div><div><br></div><div>Note that I tried to install using the normal install, but had a message "Installation has failed". The error log was empty...</div><div>Anyways, I'd rather use my already existing QGIS/PostGIS installations.</div><div><br></div><div>Any idea on what's happening ? Is template_stdm_database.sql (from the stdm-database repo) up to date ?</div><div><br></div><div>Thanks a lot,</div><div><br></div><div>Olivier Dalang</div></div>