Re: [GRASS-dev] table with the parser standard options

2015-09-24 Thread Markus Neteler
On Wed, Sep 23, 2015 at 10:22 AM, Luca Delucchi wrote: > On 23 September 2015 at 10:16, Markus Neteler wrote: >> >> Suggestion: add an "echo ..." there to print the actual line into the >> log in order to better understand the issue? >> > > ok, this is

Re: [GRASS-dev] table with the parser standard options

2015-09-24 Thread Martin Landa
Hi, 2015-09-24 11:56 GMT+02:00 Markus Neteler : travis issue seems to be fixed in r66323 (thanks to Ivan Mincik) [1]. Ma [1] https://travis-ci.org/GRASS-GIS/grass-ci/builds/81968450 -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa

Re: [GRASS-dev] table with the parser standard options

2015-09-24 Thread Luca Delucchi
On 24 September 2015 at 16:10, Martin Landa wrote: > Hi, > Hi, > > travis issue seems to be fixed in r66323 (thanks to Ivan Mincik) [1]. Ma > > [1] https://travis-ci.org/GRASS-GIS/grass-ci/builds/81968450 > Yes, I saw it... is there also an explanation about the fix?

Re: [GRASS-dev] table with the parser standard options

2015-09-24 Thread Martin Landa
2015-09-24 17:19 GMT+02:00 Luca Delucchi : > Yes, I saw it... is there also an explanation about the fix? Travis is using Ubuntu 12.04 LTS, so it was argparse version issue. Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa

Re: [GRASS-dev] table with the parser standard options

2015-09-23 Thread Luca Delucchi
On 19 September 2015 at 11:11, Martin Landa wrote: > Hi, > > 2015-09-19 10:51 GMT+02:00 Luca Delucchi : >>> ./parser_standard_options.py -t ../lib/gis/parser_standard_options.c >>> -f grass -o > > [...] > >>> File "/usr/lib/python2.7/argparse.py",

Re: [GRASS-dev] table with the parser standard options

2015-09-23 Thread Luca Delucchi
On 21 September 2015 at 19:02, Markus Neteler wrote: > Hi, > Hi, > in r66271 I have submitted an attempt to fix the Travis issue. > > On Mon, Sep 21, 2015 at 1:11 PM, Moritz Lennert > wrote: >> Great job, thanks ! >> >> It should certainly be

Re: [GRASS-dev] table with the parser standard options

2015-09-23 Thread Luca Delucchi
On 23 September 2015 at 10:16, Markus Neteler wrote: > > Suggestion: add an "echo ..." there to print the actual line into the > log in order to better understand the issue? > ok, this is the diff, it is correct? Index: Makefile

Re: [GRASS-dev] table with the parser standard options

2015-09-23 Thread Luca Delucchi
On 23 September 2015 at 09:26, Luca Delucchi wrote: > On 19 September 2015 at 11:11, Martin Landa wrote: >> Hi, >> >> 2015-09-19 10:51 GMT+02:00 Luca Delucchi : ./parser_standard_options.py -t

Re: [GRASS-dev] table with the parser standard options

2015-09-23 Thread Markus Neteler
On Wed, Sep 23, 2015 at 9:57 AM, Luca Delucchi wrote: > absolute path didn't work, I also tried to protect the values of the > options but it didn't work too. > The error seems the the option -t/--text is empty, could be a problem > of argparse version? Suggestion: add an

Re: [GRASS-dev] table with the parser standard options

2015-09-21 Thread Moritz Lennert
On 19/09/15 06:37, Luca Delucchi wrote: On 2 July 2015 at 09:49, Pietro wrote: Dear Luca and Moritz, Dear All, On Wed, Jul 1, 2015 at 11:58 AM, Moritz Lennert wrote: May I just suggest the following small modification ok, added. I

Re: [GRASS-dev] table with the parser standard options

2015-09-21 Thread Markus Neteler
Hi, in r66271 I have submitted an attempt to fix the Travis issue. On Mon, Sep 21, 2015 at 1:11 PM, Moritz Lennert wrote: > Great job, thanks ! > > It should certainly be linked to from the g.parser man page (in replacement > of the link to the programmer's

Re: [GRASS-dev] table with the parser standard options

2015-09-19 Thread Martin Landa
Hi Luca, 2015-09-19 6:37 GMT+02:00 Luca Delucchi : > In r66263 I improved the tools of Pietro (specially I added a new > GRASS output), moved it in man directory and added it to Makefile. > It now return a batter table, you should see it at this link [0] after > next manual

Re: [GRASS-dev] table with the parser standard options

2015-09-19 Thread Luca Delucchi
Il 19/set/2015 10:42, "Martin Landa" ha scritto: > > Hi Luca, > Hi Martin, > > thanks, unfortunately travis has problem with that > > GISBASE="/home/travis/build/GRASS-GIS/grass-ci/dist.x86_64-pc-linux-gnu" > ARCH="x86_64-pc-linux-gnu" >

Re: [GRASS-dev] table with the parser standard options

2015-09-19 Thread Martin Landa
Hi, 2015-09-19 11:11 GMT+02:00 Martin Landa : probably I overlooked that, but are you planning to link this page somewhere, eg. in g.parser manual page? Thaks, Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa

Re: [GRASS-dev] table with the parser standard options

2015-09-19 Thread Martin Landa
2015-09-19 10:51 GMT+02:00 Luca Delucchi : >> GISBASE="/home/travis/build/GRASS-GIS/grass-ci/dist.x86_64-pc-linux-gnu" >> ARCH="x86_64-pc-linux-gnu" >> >> ARCH_DISTDIR="/home/travis/build/GRASS-GIS/grass-ci/dist.x86_64-pc-linux-gnu" >> VERSION_NUMBER=7.1.svn VERSION_DATE=2015

Re: [GRASS-dev] table with the parser standard options

2015-09-19 Thread Martin Landa
Hi, 2015-09-19 10:51 GMT+02:00 Luca Delucchi : >> ./parser_standard_options.py -t ../lib/gis/parser_standard_options.c >> -f grass -o [...] >> File "/usr/lib/python2.7/argparse.py", line 2239, in _get_value >> raise ArgumentError(action, msg) >>

Re: [GRASS-dev] table with the parser standard options

2015-09-18 Thread Luca Delucchi
On 2 July 2015 at 09:49, Pietro wrote: > Dear Luca and Moritz, > Dear All, > On Wed, Jul 1, 2015 at 11:58 AM, Moritz Lennert > wrote: >> May I just suggest the following small modification > > ok, added. > >>> I believe we should add the

Re: [GRASS-dev] table with the parser standard options

2015-07-02 Thread Pietro
Dear Luca and Moritz, On Wed, Jul 1, 2015 at 11:58 AM, Moritz Lennert mlenn...@club.worldonline.be wrote: May I just suggest the following small modification ok, added. I believe we should add the generated table somewhere in the manual docs. Should I add this python script to

Re: [GRASS-dev] table with the parser standard options

2015-07-01 Thread Moritz Lennert
On 01/07/15 06:42, Pietro wrote: Dear devs, I was not able to find a table in the GRASS manual pages with a summary of all the default options as define in parser_standard_options.c (lib/gis/parser_standard_options.c). There is

Re: [GRASS-dev] table with the parser standard options

2015-07-01 Thread Luca Delucchi
On 1 July 2015 at 06:42, Pietro peter.z...@gmail.com wrote: Dear devs, I was not able to find a table in the GRASS manual pages with a summary of all the default options as define in parser_standard_options.c (lib/gis/parser_standard_options.c). Therefore I wrote a python command line tool

[GRASS-dev] table with the parser standard options

2015-06-30 Thread Pietro
Dear devs, I was not able to find a table in the GRASS manual pages with a summary of all the default options as define in parser_standard_options.c (lib/gis/parser_standard_options.c). Therefore I wrote a python command line tool to extract them from the source and print/write to a file in