<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<small>Dňa 26.11.2010 11:07, Paolo Cavallini wrote / napísal(a):</small>
<blockquote cite="mid:4CEF86EF.2080402@faunalia.it" type="cite"><small>Another
error, this time from FreeHand plugin.
<br>
Sorry for flooding ;)
<br>
<br>
Errore durante l'esecuzione di codice Python:
<br>
<br>
Traceback (most recent call last):
<br>
File "C:/Documents and
<br>
Settings/utent3/.qgis//python/plugins\freehandEditing\freehandediting.py",
<br>
line 152, in createFeature
<br>
s = g.simplify(tolerance)
<br>
AttributeError: 'NoneType' object has no attribute 'simplify'
<br>
<br>
Versione Python:
<br>
2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit
(Intel)]
<br>
<br>
<br>
Versione di QGIS:
<br>
1.5.0-Tethys Tethys, 13923M
<br>
<br>
Percorso Python: ['C:/PROGRA~1/QUANTU~1/apps/qgis/./python',
<br>
'C:\\Documents and Settings\\utent3/.qgis/python',
'C:\\Documents and
<br>
Settings\\utent3/.qgis/python/plugins',
<br>
'C:/PROGRA~1/QUANTU~1/apps/qgis/./python/plugins',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\gdal-16\\pymod',
'C:\\ArcGIS\\bin',
<br>
'C:\\PROGRA~1\\QUANTU~1\\bin\\python25.zip',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\DLLs',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\plat-win',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\lib-tk',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\bin',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\win32\\lib',
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\Pythonwin',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
<br>
u'C:/Documents and Settings/utent3/.qgis//python/plugins',
<br>
'C:\\PROGRA~1\\QUANTU~1\\apps\\qgis\\python\\plugins\\fTools\\tools',
<br>
'C:/AAA_Dati_corso_QGIS']
<br>
_______________________________________________
<br>
Qgis-developer mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
<br>
</small></blockquote>
<small>Hello Paolo,<br>
<br>
I tried to reproduce this issue on Windows machine, but there is
currently only 1.6.0 and higher version of qgis in OSGEO4W
installer, and I didn`t notice any buggy behavior.<br>
Please upgrade to version 1.6.0, and let me know, if do you see
any problem with this again.<br>
<br>
I tried this also in 1.5.0 in Linux and saw another message:<br>
<br>
Traceback (most recent call last):<br>
File
"/home/pavol/.qgis/python/plugins/freehandEditing/freehandediting.py",
line 158, in createFeature<br>
if not (s.validateGeometry()):<br>
AttributeError: 'QgsGeometry' object has no attribute
'validateGeometry'<br>
<br>
Verzia Pythonu:<br>
2.7 (r27:82500, Oct 20 2010, 03:21:03) <br>
[GCC 4.5.1]<br>
<br>
<br>
QGIS version:<br>
1.5.0-Tethys Tethys, exported<br>
<br>
This is related with code adopted <font color="#000000">from </font></small><font
color="#000000"><span class="Apple-style-span"
style="border-collapse: separate; color: rgb(0, 0, 0);
font-family: 'Times New Roman'; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing:
normal; line-height: normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; font-size: medium;"><span
class="Apple-style-span" style="color: rgb(51, 51, 51);
font-family: arial,sans-serif; line-height: 17px; text-align:
left; font-size: small;">Cédric Möri`s </span></span></font><span
class="Apple-style-span" style="border-collapse: separate; color:
rgb(0, 0, 0); font-family: 'Times New Roman'; font-style: normal;
font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; orphans: 2; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2; word-spacing: 0px;
font-size: medium;"><span class="Apple-style-span" style="color:
rgb(51, 51, 51); font-family: arial,sans-serif; line-height:
17px; text-align: left; font-size: small;"><font color="#000000">traceDigitize
plugin (many thanks to him) and probably I have to change the
flag for QGIS Minimal version for this plu</font>gin to 1.6.<br>
<br>
Thanks for feedback.<br>
<br>
Pavol<br>
<br>
<br>
</span></span>
</body>
</html>