<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>HI all,</div><div> </div><div>I am using gdal from python on my workstation (Windows Vista Ultimate 32 bit) with the following snip of code:</div>
<div> </div><div>-------------------------</div><div>from osgeo import gdal<br>from osgeo import gdalconst</div><div><div>dataset = gdal.Open("D:\data\\20100325_12_00.grb", gdal.GA_ReadOnly)<br>metadata=dataset.GetRasterBand(1)<br>
metadata.ReadRaster(220, 148, 1, 1, 1, 1, metadata.DataType)</div><div>-------------------------</div><div> </div><div> </div><div>When i port the same code on the production server,<div>python crashes on the metadata.ReadRaster(...) instruction.</div>
<div>A message box show up with the following information:</div> </div></div><div>-------------------------</div><div>Problem signature:<br> Problem Event Name: APPCRASH<br> Application Name: python.exe<br> Application Version: 0.0.0.0<br>
Application Timestamp: 49e4f549<br> Fault Module Name: ntdll.dll<br> Fault Module Version: 6.1.7600.16385<br> Fault Module Timestamp: 4a5bdb3b<br> Exception Code: c0000005<br> Exception Offset: 00037075<br> OS Version: 6.1.7600.2.0.0.272.7<br>
Locale ID: 1033<br> Additional Information 1: 0a9e<br> Additional Information 2: 0a9e372d3b4ad19135b953a78882e789<br> Additional Information 3: 0a9e<br> Additional Information 4: 0a9e372d3b4ad19135b953a78882e789</div>
<div>---------------------------</div><div> </div><div> </div><div><div>Configuration of the production server is:</div><div> </div><div>-------------------------</div><div>Operating System: Windows Server 2008 R2 64 Bit</div>
<div>Python Win32 2.6.2</div><div>Gdal Win32 1.6</div><div>numpy-1.3.0-win32-superpack-python2.6</div><div>------------------------- </div><div> </div><div>Looks like many people had problem running gdal with python 32bit on 64 bit machine.</div>
<div>Could you please help on this?</div><div>Thanks in advance</div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-size: small;">Silvia</span> </div><div><font size="1"> </font></div><div><font size="1"><br>
</font></div></div></span>