comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: spawn GDAL???
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: spawn GDAL??? [message #80885 is a reply to message #80884] Wed, 18 July 2012 13:27 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Wednesday, July 18, 2012 3:34:32 PM UTC-4, AB wrote:
> Error Message:
>
>
> Traceback (most recent call last):
> File "/usr/local/GDAL/usr/bin/gdal_merge.py", line 31, in ?
> import gdal
> File "/usr/local/GDAL/usr/lib64/python2.4/site-packages/ GDAL-1.8.0-py2.4-linux-x86_64.egg/gdal.py", line 2, in ?
> from osgeo.gdal import deprecation_warn
> File "/usr/local/GDAL/usr/lib64/python2.4/site-packages/ GDAL-1.8.0-py2.4-linux-x86_64.egg/osgeo/__init__.py&quot ;, line 24, in ?
> import _gdal

Sorry, your traceback doesn't show the actual error message.

It looks like a python problem. Divide and conquer; only test one thing at a time. So forget your shell script and forget IDL. Can you call your python script by hand and get the results you expect?

Next, can you create a *simple* 'sh' script which calls your python program - no loops! - and can you make that run and get the results you expect?

The only connection I can see to IDL is that perhaps it calls 'sh' and resets your IDL/sh/python path.

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Coyote Library Updates
Next Topic: IDL Statistical Tests

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:29:14 PDT 2025

Total time taken to generate the page: 1.91715 seconds