Paolo
>makeDifference > if fet.geometry().wkbSize() > 0: >AttributeError: 'NoneType' object has no attribute 'wkbSize' Please send the data you tried to process to me. Which type of data you are work with? Shape, PostGIS, GML .... Does the error arises at all geoporcessing methods? Sometimes the mentioned error occours when the input data are non valid or GEOS produces non valid geometries during the geoprocessing process. The best for me is to test with the origonal data. Regards Horst ------------------------------------------------ Dr. Horst Düster GIS-Koordinator, Stv. Amtschef Kanton Solothurn Bau- und Justizdepartement Amt für Geoinformation SO!GIS Koordination Rötistrasse 4 CH-4501 Solothurn Telefon ++41(0)32 627 25 32 Telefax ++41(0)32 627 22 14 mailto:[EMAIL PROTECTED] http://www.agi.so.ch -----Ursprüngliche Nachricht----- Von: Paolo Cavallini [mailto:[EMAIL PROTECTED] Gesendet am: Sonntag, 25. Mai 2008 20:29 An: qgis-user; qgis-developer Betreff: [Qgis-developer] python geoprocessing trouble Hi all. I'm doing a short course on QGIS+GRASS in Portugal, and we're encountering some problems [1] on win (let alone the nightmare of installing additional py packages, and having py25 from qgis recognize it). Additionally, when running manageR, loading layers into R results in [2]. Anyone has encountered these problems? All the best. pc ============== [1]An error has occured while executing Python code:problem? Traceback (most recent call last): File "C:/Documents and Settings/António Mira/.qgis//python/plugins\Geoprocessing\geoprocessing.py", line 243, in geoprocessing self.difference(myLayerA, myLayerB, myPath, myBool) File "C:/Documents and Settings/António Mira/.qgis//python/plugins\Geoprocessing\geoprocessing.py", line 422, in difference diffResult = self.makeDifference(vlayerA, vlayerB) File "C:/Documents and Settings/António Mira/.qgis//python/plugins\Geoprocessing\geoprocessing.py", line 927, in makeDifference if fet.geometry().wkbSize() > 0: AttributeError: 'NoneType' object has no attribute 'wkbSize' ============== [2]An error has occured while executing Python code: Traceback (most recent call last): File "/home_slides/.qgis//python/plugins/manageR/domanageR.py", line 347, in load self.commandList.append(expression) TypeError: 'module' object is not callable _______________________________________________ Qgis-developer mailing list [EMAIL PROTECTED] http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user