[Qgis-developer] Re: [Qgis-user] Re: gdal tools & osgeo4w

Giuseppe Sucameli brush.tyler at gmail.com
Sat Mar 13 13:02:11 EST 2010


Hi all,

On Sat, Mar 13, 2010 at 1:22 PM, Giovanni Manghi
<giovanni.manghi at gmail.com>wrote:

> Under Windows Seven, the situation is worst:
>
> the behavior -with only gdal16-python or with also gdal-python- is the
> same of XP, but there are other problems:
>
>
> For example:
>
> gdalinfo (both from the plugin or from the command line using the
> osgeo4w binaries) returns
>
> "gdalinfo.exe has stopped working"
>
>
> in general every gdal utility that is not in python returns a message
> like:
>
> "gdalbuildvrt.exe has stopped working"
>
> and then (in the plugin)
>
> "The process crashed some time after starting successfully."
>
> eventually they produce the output the right way in any case.
>
I have the same problem.

In osgeo4w on Vista, each gdal16 .exe crashes before
it had finished, producing anyway a correct result.

Under Seven there seems to be a gdal_tools plugin problem for the merge
> tool as it shows also this error
>
> ------------------
> Traceback (most recent call last):
>  ...

File "...\.qgis\python\plugins\GdalTools\tools\doMerge.py",
> line 119, in getExtent
>    res = rect1.intersect( rect2 )
> AttributeError: 'NoneType' object has no attribute 'intersect'
> ------------------
>
> that in any case do not stop the tool to produce the ouput (if you have
> installed gdal-python, and after having closed the error messages
> produced by gdalinfo).
>
In gdaltools-plugin, Merge tools works fine but it calls the
gdalinfo.exe to get the input files' extents.
The error is due to the gdalinfo.exe crash and the merge's
"use intersected extents" option will never be enabled.

Cheers.

-- 
Giuseppe Sucameli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20100313/1082b48b/attachment.html


More information about the Qgis-developer mailing list