This looks like I missed an error check in the join attributes module.<br>However, it&#39;s a bit odd that it&#39;s returning a -1. Perhaps you could send me the original data Paolo?<br><br>Cheers,<br><br>Carson<br><br><div class="gmail_quote">
On Tue, Aug 25, 2009 at 3:47 PM, Paolo Cavallini <span dir="ltr">&lt;<a href="mailto:cavallini@faunalia.it">cavallini@faunalia.it</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi all.<br>
While joining a df table to a point layer, I get the following error:<br>
<br>
Errore durante l&#39;esecuzione di codice Python:<br>
<br>
Traceback (most recent call last):<br>
  File &quot;/usr/share/qgis/python/plugins/fTools/tools/doJoinAttributes.py&quot;, line<br>
109, in accept<br>
    self.compute(inName, inField, joinName, joinField, outPath, keep, useTable,<br>
self.progressBar)<br>
  File &quot;/usr/share/qgis/python/plugins/fTools/tools/doJoinAttributes.py&quot;, line<br>
205, in compute<br>
    if atMap1[index1].toString().trimmed() == i[index2].toString().trimmed():<br>
KeyError: -1<br>
<br>
Original data are available if this helps to replicate the error.<br>
Thanks for any hint.<br>
All the best.<br>
<font color="#888888">--<br>
Paolo Cavallini: <a href="http://www.faunalia.it/pc" target="_blank">http://www.faunalia.it/pc</a><br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Carson Farmer<br>National Centre for Geocomputation<br>John Hume Building,<br>National University of Ireland, Maynooth,<br>Maynooth,<br>Co. Kildare,<br>Ireland.<br>
<a href="http://www.carsonfarmer.com">www.carsonfarmer.com</a><br>