[GRASS-user] Re: malloc_error_break

2011-09-12 Thread Kurt Springs
Hi folks, I solved the problem. It is apparently a permissions area and I just used disk utilities to repair the permissions. GRASS and Terminal are now happy again. Kurt On Sep 12, 2011, at 3:09 PM, Kurt Springs wrote: > Hi again. > > New problem cropped up: I tried to launch GRASS to des

Re: [GRASS-user] Problem after Installing OS X 10.7

2011-09-12 Thread Kurt Springs
The Malloc error is still a problem. To answer william, before Malloc reared his ugly head again, Grass was using the Python Launcher. Kurt On Sep 12, 2011, at 10:11 AM, William Kyngesburye wrote: > Hmm, the GUI shouldn't be any different than it is on earlier systems. In > fact, there may be

Re: [GRASS-user] Detecting GRASS version when only specifying GRASS directory

2011-09-12 Thread ahmadou dicko
The way Rainer use R for scripting GRASS don't allow him to use the GRASS_VERSION variable, so i think the only way is to use the second solution proposed by Hamish. something like that should do the trick in R readLines(paste(Sys.getenv("GISBASE"), "etc", "VERSIONNUMBER", sep = "/")) But if y

Re: [GRASS-user] Detecting GRASS version when only specifying GRASS directory

2011-09-12 Thread Hamish
Rainer wrote: > I am using GRASS from within an R script, and would need > the GRASS version. I do not know the startup script, so grass > --version is not an option. Nevertheless, I have obviously > specified the GRASS directory where the grass executables and > scripts sit. Is there one which I c

[GRASS-user] malloc_error_break

2011-09-12 Thread Kurt Springs
Hi again. New problem cropped up: I tried to launch GRASS to describe what changed in the GUI and got the following error in Terminal: __ Last login: Mon Sep 12 10:46:15 on ttys000 login(1875,0x7fff7879b960) malloc: *** error for object 0x7f883c2019f0: pointer being freed was not allocated ***

Re: [GRASS-user] r.univar: total null and non-null cells: -1580967296

2011-09-12 Thread Glynn Clements
Hamish wrote: > suggest to use 'unsigned long' and "%lu" as is done by r.in.xyz, > and 'off_t' for 'n_alloc'. There is no point in using anything larger than size_t for n_alloc. -- Glynn Clements ___ grass-user mailing list grass-user@lists.osgeo.or

Re: [GRASS-user] Problem after Installing OS X 10.7

2011-09-12 Thread William Kyngesburye
Hmm, the GUI shouldn't be any different than it is on earlier systems. In fact, there may be new problems because Lion got rid of the rest of Carbon (as I understand it) and wxPython in GRASS is still Carbon-based. A cocoa-based wxpython currently doesn't work in GRASS. On Sep 12, 2011, at 8:

Re: [GRASS-user] Problem after Installing OS X 10.7

2011-09-12 Thread Kurt Springs
That worked great William, thanks. I was pleasantly surprised by the the Python GUI that is used under Lion, though I may have to learn my way around it. Thanks again all. Kurt On Sep 12, 2011, at 9:41 AM, William Kyngesburye wrote: > sudo chown -R yourusername /path/to/your/grassdb > > > On

Re: [GRASS-user] Problem after Installing OS X 10.7

2011-09-12 Thread William Kyngesburye
sudo chown -R yourusername /path/to/your/grassdb On Sep 12, 2011, at 7:25 AM, Kurt Springs wrote: > How would one go about transferring ownership? > > Kurt > On Sep 11, 2011, at 1:00 PM, Michael Barton wrote: > >> It sure looks like permissions are the problem here. The GUI needs to write >>

Re: [GRASS-user] Re: Using non-ASCII characters in Legend display

2011-09-12 Thread Moritz Lennert
On 12/09/11 11:20, António Rocha wrote: Hello Moritz Thanks. ISO-8859-1 works. Just one question: I'm trying to find where this parameter was stored and I'm not able tyo find. How can I know where these preferences are stored? (I'm using Windows) There have been recent discussions about how and

Re: [GRASS-user] Problem after Installing OS X 10.7

2011-09-12 Thread Kurt Springs
How would one go about transferring ownership? Kurt On Sep 11, 2011, at 1:00 PM, Michael Barton wrote: > It sure looks like permissions are the problem here. The GUI needs to write > things to your GIS Database and to temp files. If you are not the owner, > there could be problems. > > Michael

[GRASS-user] Detecting GRASS version when only specifying GRASS directory

2011-09-12 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I am using GRASS from within an R script, and would need the GRASS version. I do not know the startup script, so grass --version is not an option. Nevertheless, I have obviously specified the GRASS directory where the grass executables and scripts

Re: [GRASS-user] Re: Using non-ASCII characters in Legend display

2011-09-12 Thread António Rocha
Hello Moritz Thanks. ISO-8859-1 works. Just one question: I'm trying to find where this parameter was stored and I'm not able tyo find. How can I know where these preferences are stored? (I'm using Windows) Thanks Antonio Moritz Lennert wrote: On 09/09/11 09:58, António Rocha wrote: Hi Martin

Re: [GRASS-user] g.extension not working

2011-09-12 Thread Hamish
Edgar wrote: > After installing subversion the following message. > g.extension extension=r.fuzzy > Fetching from GRASS-Addons SVN (be patient)... > > Ar.fuzzy/local_proto.h > Ar.fuzzy/shape.png > Ar.fuzzy/main.c > Ar.fuzzy/boundary.png > Ar.fuzzy/description.html > Ar.fuz

Re: [GRASS-user] g.extension not working

2011-09-12 Thread Edgar Pimiento
Hamish wrote: >sudo apt-get install subversion Edgar After installing subversion the following message. g.extension extension=r.fuzzy Fetching from GRASS-Addons SVN (be patient)... A    r.fuzzy/local_proto.h A    r.fuzzy/shape.png A    r.fuzzy/main.c A    r.fuzzy/boundary.png A    r.fuzzy/descr