gump-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin van den Bemt <>
Subject Re: Gump won't run: function: not found
Date Fri, 18 Feb 2005 12:57:35 GMT
have a go at dos2unix (if you have installed that on solaris)
Something probably happened moving across the files..


Graham Leggett wrote:
> Martin van den Bemt said:
>>Seems like your gump script is hosed.. I think dos2unix program can fix
>>that, or copy & paste the contents of gump in a new file (using a
>>terminal session), remove gump, rename the new file to gump, chmod +x
>>the new file and run :)
>>I hit this proble a couple of times when editing bash scripts on windows
>>and copying it directly to a linux box, it would give these strange
>>Don't know if this is the case though, but it seems similar..
> The gump code is a fresh checkout from svn to MacOSX, then moved to
> Solaris, no Windows is involved anywhere. As far as I am aware, MacOSX
> follows the Unix line ending conventions, but I could be wrong.
> If I turn on python debugging, it does this, which seems to indicate line
> ending problems of some kind:
> bash-2.03$ python -d ./gump validate
>   File "./gump", line 25
>     function usage
>                  ^
> SyntaxError: invalid syntax
> Regards,
> Graham
> --
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message