[Gfoss] Errore durante l'esecuzione di codice Python

Giuseppe Sucameli brush.tyler a gmail.com
Mar 28 Set 2010 17:25:07 CEST


Ciao Luca,
grazie della segnalazione.
Guardando il codice mi sono accorto che in effetti era buggato.

Sto correggendo l'errore, tuttavia è strano che si verifichi:
è come se gdalinfo non riuscisse a recuperare l'extent di uno dei file
in input.

Ciao

2010/9/28 luca barbadoro <l.barbadoro at tiscali.it>

>  ciao, qualcuno sa dirmi come risolvere questo problema? ho utilizzato il
> plugin raster - union (qgis 1.5 si winxp).
> ho appena fatto un aggiornamento da osgeo4, ma il problema lo avevo anche
> prima.
> grazie luca
>
> Errore durante l'esecuzione di codice Python:
>
> Traceback (most recent call last):
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools\doMerge.py",
> line 51, in fillInputFilesEdit
>     (self.xmax, self.ymax, self.xmin, self.ymin) = self.getExtent()
>   File "C:/OSGeo4W/apps/qgis/./python/plugins\GdalTools\tools\doMerge.py",
> line 124, in getExtent
>     res = rect1.intersect( rect2 )
> AttributeError: 'NoneType' object has no attribute 'intersect'
>
> Versione Python:
> 2.5.2 (r252:60911, Feb 21 2008, 13:11:45) [MSC v.1310 32 bit (Intel)]
>
>
> Versione di QGIS:
> 1.5.0-Tethys Tethys, 13923M
>
> Percorso Python: ['C:\\Documents and
> Settings\\LB\\.qgis\\python\\plugins\\GeoCoding',
> 'C:/OSGeo4W/apps/qgis/./python', 'C:\\Documents and
> Settings\\LB/.qgis/python', 'C:\\Documents and
> Settings\\LB/.qgis/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins',
> 'C:\\OSGeo4W\\apps\\gdal-16\\pymod', 'C:\\',
> 'C:\\OSGeo4W\\bin\\python25.zip', 'C:\\OSGeo4W\\apps\\Python25\\DLLs',
> 'C:\\OSGeo4W\\apps\\Python25\\lib',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\plat-win',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\lib-tk', 'C:\\OSGeo4W\\apps\\qgis\\bin',
> 'C:\\OSGeo4W\\apps\\Python25',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\win32\\lib',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\Pythonwin',
> 'C:\\OSGeo4W\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode',
> u'C:/Documents and Settings/LB/.qgis//python/plugins',
> 'C:\\OSGeo4W\\apps\\qgis\\python\\plugins\\fTools\\tools',
> 'D:/attivit\xc3\xa0/GIS Temp/PRAI PS']
>
>
>  --
> Dott. Luca Barbadoro
>
> Cell:  3337492444
> Mail:  l.barbadoro at tiscali.it
> Fax:   003907211830128
> Skype: lucabarbadoro
>
>
> _______________________________________________
> Iscriviti all'associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione
> Gfoss at lists.gfoss.it
> http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
> Questa e' una lista di discussione pubblica aperta a tutti.
> I messaggi di questa lista non rispecchiano necessariamente
> le posizioni dell'Associazione GFOSS.it.
> 474 iscritti al 18.9.2010
>



-- 
Giuseppe Sucameli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20100928/2ca16840/attachment.htm>


Maggiori informazioni sulla lista Gfoss