Re: [GRASS-user] Python scripts: 'command not found'

2010-08-20 Thread Hamish
Hanlie wrote: > Ran 'sudo chown hanlie:hanlieĀ  v.check3d' from the > /usr/lib/grass64/scripts directory with no error messages, > but GRASS still gives a permission error: perhaps it also needs: sudo chmod a+rx v.check3d /usr/lib/grass64/scripts/v.check3d ? Hamish __

Re: [GRASS-user] Python scripts: 'command not found'

2010-08-20 Thread Hanlie Pretorius
2010/8/19, razmjoo...@faunalia.co.uk : > In Ubuntu, you can right click on the file and tick the box to make it > executable > Right Click > Properties > Permissions > Allow executing files as program > > Cheers > Sab Thanks, tried this and it workedfor the script in the /usr/lib/grass64/scrip

Re: [GRASS-user] Python scripts: 'command not found'

2010-08-19 Thread razmjooeis
In Ubuntu, you can right click on the file and tick the box to make it executable Right Click > Properties > Permissions Allow executing files as program Cheers Sab > 2010/8/19, Nikos Alexandris : >> Better not to use sudo (as a general advice). The script needs to be >> made >> executable f

Re: [GRASS-user] Python scripts: 'command not found'

2010-08-19 Thread Nikos Alexandris
On Thursday 19 of August 2010 15:47:13 Hanlie Pretorius wrote: > 2010/8/19, Nikos Alexandris : > > Better not to use sudo (as a general advice). The script needs to be made > > executable for your user-name, i.e.: > > > > sudo chown hanlie:hanlie v.check3d > > Ran 'sudo chown hanlie:hanlie v.ch

Re: [GRASS-user] Python scripts: 'command not found'

2010-08-19 Thread Hanlie Pretorius
2010/8/19, Nikos Alexandris : > Better not to use sudo (as a general advice). The script needs to be made > executable for your user-name, i.e.: > > sudo chown hanlie:hanlie v.check3d > Ran 'sudo chown hanlie:hanlie v.check3d' from the /usr/lib/grass64/scripts directory with no error messages, b

Re: [GRASS-user] Python scripts: 'command not found'

2010-08-19 Thread Nikos Alexandris
On Thursday 19 of August 2010 15:13:37 Hanlie Pretorius wrote: > I'm working in GRASS 6.4RC6 on Ubuntu 10.04 and I'm trying to learn > how to script GRASS using Python. > > I have taken the example at > http://grass.osgeo.org/programming6/pythonlib.html that checks if a > vector is 3D and saved i