[GRASS-dev] "Line too long" error in Python with grass.parser()

Luca Delucchi lucadeluge at gmail.com
Fri May 27 03:52:35 EDT 2011


2011/5/27 Pierre Roudier <pierre.roudier at gmail.com>:
> Hi,
>
> I must be missing something obvious here: I'm trying to do my first
> script in Python, and I go the following error when calling
> grass.parser():
> Line too long or missing newline at line 63
>
> Thinking my code must be bugged, I gave it a shot with the examples on
> the wiki (d.shademaps) and on the g.parser help page. I keep on having
> the same error.
>
> Any thoughts on what I might do wrong?

Put an empty new line at the end of script

>
> Cheers,
>
> Pierre
>

-- 
cheers
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list