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

Pierre Roudier pierre.roudier at gmail.com
Sun May 29 17:27:48 EDT 2011


Thanks Luca, that did the trick.

Cheers,

Pierre

2011/5/27 Luca Delucchi <lucadeluge at gmail.com>:
> 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
>



-- 
Scientist
Landcare Research, New Zealand


More information about the grass-dev mailing list