[GRASS-user] Re: g.extension error svn!

2011-12-14 Thread Solimyr
I don't have grass 6.5. Can I install addons on Grass 6.4.1?I have also a
GRASS(wxpython),(TclTk),(Text) on my desktop. I'm saying this because I need
to use this in QuantumGIS via GRASS plugin. Is this possible?
I'm thinking to install in GRASS 6.4.1 and after that create a call module
in QGIS.
Thanks,

Solimyr 

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/g-extension-error-svn-tp7086731p7093568.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Problems with grass for OSX

2011-12-14 Thread José Carlos Guerrero Antúnez
Hello again,

When I make double-click to open GRASS in the first terminal window show
the following message,

'/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
Last login: Wed Dec 14 08:45:59 on console
torre-b-024:~ joseca_IMac$
'/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
Rebuilding Addon HTML manual pages index...
Rebuilding Addon menu...
Python 2.6.1 found.

WELCOME TO GRASS  Version 6.4.1 2011

   1) Have at your side all available GRASS tutorials

   2) When working on your location, the following materials
  are extremely useful:
  - A topo map of your area
  - Current catalog of available computer maps

   3) Check the GRASS webpages for feedback mailinglists and more:
  http://www.grass-gis.org
  http://grass.osgeo.org

Hit RETURN to continue

When I make RETURN, the message is GRASS needs a directory in which to
store its data. Create one now if you have not already done so. A popular
choice is grassdata, located in your home directory.

I do OK, and Choose a folder and then occurs as I mentioned in the previous
mail.

This problem as I have working with an Imac10,1, Intel Core Duo, 3,06 GHz,
RAM Memory 4 Gb. These The strangest thing for me I can do the program on
another machine (MacBook Pro, ODX 10.6.8)

I did the installation and updated according to the procedure from
Kyngchaos webpage. I have no doubt that there is some component that is in
conflict but which?

Now, what can I do?

Many thanks for your help



2011/12/10 Ralf Schäfer sena...@ecotoxicology.de

 Dear Jose,

 when did your problem occur? After installation/updating or haphazardly?

 I had a similar problem with the Python GUI but after I updated all
 frameworks it worked fine. In case you use the GRASS version from Kyngchaos
 can you update the GDAL complete framework, free type and cairo and report
 whether the error still occurs?

 Regards
 Ralf



 Am 10.12.2011 um 05:20 schrieb grass-user-requ...@lists.osgeo.org:

 Message: 3

 Date: Fri, 9 Dec 2011 17:04:12 -0200
 From: Jos? Carlos Guerrero Ant?nez jcgantu...@gmail.com
 Subject: [GRASS-user] Problems with grass for OSX
 To: grass-user@lists.osgeo.org
 Message-ID:
 caeo28jeo+pyotlmwnn8bgny3s6c-zaxwrwl2l97y4iryjum...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1

 Hi,

 I can not boot properly grass and this is the message that appears in
 Terminal
 window.

 OSX 10.6.8

 Thanks in advance,


 torre-b-024:~ joseca_IMac$
 '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
 Rebuilding Addon HTML manual pages index...
 Rebuilding Addon menu...
 Python 2.6.1 found.

 WELCOME TO GRASS  Version 6.4.1 2011

   1) Have at your side all available GRASS tutorials

   2) When working on your location, the following materials
  are extremely useful:
  - A topo map of your area
  - Current catalog of available computer maps

   3) Check the GRASS webpages for feedback mailinglists and more:
  http://www.grass-gis.org
  http://grass.osgeo.org

 Hit RETURN to continue

 Starting GRASS ...
 Traceback (most recent call last):
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 641, in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 590, in UpdateMapsets
self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)
  File

 /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
 line 629, in GetListOfMapsets
  File

 /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
 line 651, in EncodeString
  File

 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py,
 line 459, in getdefaultlocale
return _parse_localename(localename)
  File

 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py,
 line 391, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
 ValueError: unknown locale: UTF-8
 Traceback (most recent call last):
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 858, in module
GRASSStartUp = StartUp(0)
  File

 /Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py,
 line 7981, in __init__
  File

 /Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py,
 line 7555, in _BootstrapApp
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 843, in OnInit
StartUp.OnBrowse(None)
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 703, in OnBrowse
self.OnSetDatabase(event)
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 692, in OnSetDatabase
self.OnSelectLocation(None)
  File
 

Re: [GRASS-user] Re: g.extension error svn!

2011-12-14 Thread Martin Landa
Hi,

2011/12/14 Solimyr giannicrist...@msn.com:
 I don't have grass 6.5. Can I install addons on Grass 6.4.1?I have also a
 GRASS(wxpython),(TclTk),(Text) on my desktop. I'm saying this because I need
 to use this in QuantumGIS via GRASS plugin. Is this possible?
 I'm thinking to install in GRASS 6.4.1 and after that create a call module
 in QGIS.

no, g.extension winGRASS-related improvements are very recent,
g.extension is going to work in GRASS 6.4.2+. Currently there is only
one way, try daily builds from wingrass.fsv.cvut.cz.

Martin

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: g.extension error svn!

2011-12-14 Thread Solimyr
Thanks for your answers. So I will not use g.extension but can you explain to
me how to install addons? I have downloaded manually but I'm not able to
install...I have looked at the README but I can't install manually...Let me
explain. This is the readme:

/r.seg GRASS GIS module for image segmentation and edge detection 
Alfonso Vitti alfonso.vitti [at] ing.unitn.it
see www.ing.unitn.it/~vittia/sw

copy the r.seg directory in the raster directory of the GRASS source
code directory

from within the r.seg directory, as normal user run: 
make

from the GRASS main source code directory, as root run:
make install
or, as normal user:
sudo make install/

I have opened the GRASS directory (.../Program Files/Quantum GIS
Wroclaw/apps/grass/grass6.4.1/) and I have the following directory:

.../Program Files (x86)/Quantum GIS Wroclaw/apps/grass/grass-6.4.1$ ls
AUTHORS  contributors.csvdriver   includescripts
bin  contributors_extra.csv  etc  libtools
bwidget  COPYING fontslocale translators.csv
CHANGES  docsGPL.TXT  REQUIREMENTS.html

there is no Raster Directory...Do you have any suggestion about that?thx
again



--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/g-extension-error-svn-tp7086731p7093725.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Problems with grass for OSX

2011-12-14 Thread William Kyngesburye
Maybe your shell language isn't set right?  What do these return in a new 
Terminal window:

env | grep LANG
env | grep LC_

OS X automatically sets LANG, but there are others that are checked first: 
LC_ALL and LC_CTYPE.  Python is expecting them to be in the form:

language.encoding

ie, the default US english is en_US.UTF-8.

If any of those are just the encoding (the UTF-8 in your error), then maybe 
you added something to your ~/.bash_profile to set them?

On Dec 14, 2011, at 8:14 AM, José Carlos Guerrero Antúnez wrote:

 Hello again,
 
 When I make double-click to open GRASS in the first terminal window show the 
 following message,
 
 '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
 Last login: Wed Dec 14 08:45:59 on console
 torre-b-024:~ joseca_IMac$ 
 '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
 Rebuilding Addon HTML manual pages index...
 Rebuilding Addon menu...
 Python 2.6.1 found.
 
 WELCOME TO GRASS  Version 6.4.1 2011
 
1) Have at your side all available GRASS tutorials
 
2) When working on your location, the following materials
   are extremely useful:
   - A topo map of your area
   - Current catalog of available computer maps
 
3) Check the GRASS webpages for feedback mailinglists and more:
   http://www.grass-gis.org
   http://grass.osgeo.org
 
 Hit RETURN to continue
 
 When I make RETURN, the message is GRASS needs a directory in which to store 
 its data. Create one now if you have not already done so. A popular choice is 
 grassdata, located in your home directory.
 
 I do OK, and Choose a folder and then occurs as I mentioned in the previous 
 mail.
 
 This problem as I have working with an Imac10,1, Intel Core Duo, 3,06 GHz, 
 RAM Memory 4 Gb. These The strangest thing for me I can do the program on 
 another machine (MacBook Pro, ODX 10.6.8)
 
 I did the installation and updated according to the procedure from Kyngchaos 
 webpage. I have no doubt that there is some component that is in conflict but 
 which?
 
 Now, what can I do?
 
 Many thanks for your help
 
 
 
 2011/12/10 Ralf Schäfer sena...@ecotoxicology.de
 Dear Jose,
 
 when did your problem occur? After installation/updating or haphazardly?
 
 I had a similar problem with the Python GUI but after I updated all 
 frameworks it worked fine. In case you use the GRASS version from Kyngchaos 
 can you update the GDAL complete framework, free type and cairo and report 
 whether the error still occurs?
 
 Regards
 Ralf
 
 
 
 Am 10.12.2011 um 05:20 schrieb grass-user-requ...@lists.osgeo.org:
 
 Message: 3
 
 Date: Fri, 9 Dec 2011 17:04:12 -0200
 From: Jos? Carlos Guerrero Ant?nez jcgantu...@gmail.com
 Subject: [GRASS-user] Problems with grass for OSX
 To: grass-user@lists.osgeo.org
 Message-ID:
  caeo28jeo+pyotlmwnn8bgny3s6c-zaxwrwl2l97y4iryjum...@mail.gmail.com
 Content-Type: text/plain; charset=iso-8859-1
 
 Hi,
 
 I can not boot properly grass and this is the message that appears in 
 Terminal
 window.
 
 OSX 10.6.8
 
 Thanks in advance,
 
 
 torre-b-024:~ joseca_IMac$
 '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
 Rebuilding Addon HTML manual pages index...
 Rebuilding Addon menu...
 Python 2.6.1 found.
 
 WELCOME TO GRASS  Version 6.4.1 2011
 
   1) Have at your side all available GRASS tutorials
 
   2) When working on your location, the following materials
  are extremely useful:
  - A topo map of your area
  - Current catalog of available computer maps
 
   3) Check the GRASS webpages for feedback mailinglists and more:
  http://www.grass-gis.org
  http://grass.osgeo.org
 
 Hit RETURN to continue
 
 Starting GRASS ...
 Traceback (most recent call last):
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 641, in OnSelectLocation
self.listOfLocations[self.lblocations.GetSelection()]))
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 590, in UpdateMapsets
self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)
  File
 /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
 line 629, in GetListOfMapsets
  File
 /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
 line 651, in EncodeString
  File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py,
 line 459, in getdefaultlocale
return _parse_localename(localename)
  File
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py,
 line 391, in _parse_localename
raise ValueError, 'unknown locale: %s' % localename
 ValueError: unknown locale: UTF-8
 Traceback (most recent call last):
  File
 /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
 858, in module
GRASSStartUp = StartUp(0)
  File
 

Re: [GRASS-user] Re: g.extension error svn!

2011-12-14 Thread Markus Neteler
On Wed, Dec 14, 2011 at 3:40 PM, Solimyr giannicrist...@msn.com wrote:
 Thanks for your answers. So I will not use g.extension but can you explain to
 me how to install addons? I have downloaded manually but I'm not able to
 install...
...
 copy the r.seg directory in the raster directory of the GRASS source
 code directory

Do you have downloaded the GRASS source code?


...
 I have opened the GRASS directory (.../Program Files/Quantum GIS
 Wroclaw/apps/grass/grass6.4.1/) and I have the following directory:

 .../Program Files (x86)/Quantum GIS Wroclaw/apps/grass/grass-6.4.1$ ls
 AUTHORS  contributors.csv        driver   include            scripts
 bin      contributors_extra.csv  etc      lib                tools
 bwidget  COPYING                 fonts    locale             translators.csv
 CHANGES  docs                    GPL.TXT  REQUIREMENTS.html

This is the Windows GRASS *binary* code, not the source code.
That's a separate package.

Note that compilation on Windows requires efforts, many more extra
packages and patience.

We definitely recommend to you to get precompiled binaries for Windows.
You could manually download r.seg here:
http://wingrass.fsv.cvut.cz/grass64/addons/
- r.seg.zip

and place the content into the appropriate folders within QGIS/GRASS.
Not sure of they are compliant but worth a try.

Once QGIS is packaged with a more recent GRASS it will become easy.

Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Problems with grass for OSX

2011-12-14 Thread José Carlos Guerrero Antúnez
Hi,

I did the return in a new Terminal window and
env | grep LANG

env | grep LC_
LC_CTYPE=UTF-8

So how I can make the change?

Many thanks again,

Jose Guerrero


El 14 de diciembre de 2011 12:44, William Kyngesburye wokl...@kyngchaos.com
 escribió:

 Maybe your shell language isn't set right?  What do these return in a new
 Terminal window:

 env | grep LANG
 env | grep LC_

 OS X automatically sets LANG, but there are others that are checked first:
 LC_ALL and LC_CTYPE.  Python is expecting them to be in the form:

 language.encoding

 ie, the default US english is en_US.UTF-8.

 If any of those are just the encoding (the UTF-8 in your error), then
 maybe you added something to your ~/.bash_profile to set them?

 On Dec 14, 2011, at 8:14 AM, José Carlos Guerrero Antúnez wrote:

  Hello again,
 
  When I make double-click to open GRASS in the first terminal window show
 the following message,
 
  '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
  Last login: Wed Dec 14 08:45:59 on console
  torre-b-024:~ joseca_IMac$
 '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
  Rebuilding Addon HTML manual pages index...
  Rebuilding Addon menu...
  Python 2.6.1 found.
 
  WELCOME TO GRASS  Version 6.4.1 2011
 
 1) Have at your side all available GRASS tutorials
 
 2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
 
 3) Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org
 
  Hit RETURN to continue
 
  When I make RETURN, the message is GRASS needs a directory in which to
 store its data. Create one now if you have not already done so. A popular
 choice is grassdata, located in your home directory.
 
  I do OK, and Choose a folder and then occurs as I mentioned in the
 previous mail.
 
  This problem as I have working with an Imac10,1, Intel Core Duo, 3,06
 GHz, RAM Memory 4 Gb. These The strangest thing for me I can do the program
 on another machine (MacBook Pro, ODX 10.6.8)
 
  I did the installation and updated according to the procedure from
 Kyngchaos webpage. I have no doubt that there is some component that is in
 conflict but which?
 
  Now, what can I do?
 
  Many thanks for your help
 
 
 
  2011/12/10 Ralf Schäfer sena...@ecotoxicology.de
  Dear Jose,
 
  when did your problem occur? After installation/updating or haphazardly?
 
  I had a similar problem with the Python GUI but after I updated all
 frameworks it worked fine. In case you use the GRASS version from Kyngchaos
 can you update the GDAL complete framework, free type and cairo and report
 whether the error still occurs?
 
  Regards
  Ralf
 
 
 
  Am 10.12.2011 um 05:20 schrieb grass-user-requ...@lists.osgeo.org:
 
  Message: 3
 
  Date: Fri, 9 Dec 2011 17:04:12 -0200
  From: Jos? Carlos Guerrero Ant?nez jcgantu...@gmail.com
  Subject: [GRASS-user] Problems with grass for OSX
  To: grass-user@lists.osgeo.org
  Message-ID:
   
 caeo28jeo+pyotlmwnn8bgny3s6c-zaxwrwl2l97y4iryjum...@mail.gmail.com
  Content-Type: text/plain; charset=iso-8859-1
 
  Hi,
 
  I can not boot properly grass and this is the message that appears in
 Terminal
  window.
 
  OSX 10.6.8
 
  Thanks in advance,
 
 
  torre-b-024:~ joseca_IMac$
  '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
  Rebuilding Addon HTML manual pages index...
  Rebuilding Addon menu...
  Python 2.6.1 found.
 
  WELCOME TO GRASS  Version 6.4.1 2011
 
1) Have at your side all available GRASS tutorials
 
2) When working on your location, the following materials
   are extremely useful:
   - A topo map of your area
   - Current catalog of available computer maps
 
3) Check the GRASS webpages for feedback mailinglists and more:
   http://www.grass-gis.org
   http://grass.osgeo.org
 
  Hit RETURN to continue
 
  Starting GRASS ...
  Traceback (most recent call last):
   File
  /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py,
 line
  641, in OnSelectLocation
 self.listOfLocations[self.lblocations.GetSelection()]))
   File
  /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py,
 line
  590, in UpdateMapsets
 self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)
   File
 
 /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
  line 629, in GetListOfMapsets
   File
 
 /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
  line 651, in EncodeString
   File
 
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py,
  line 459, in getdefaultlocale
 return _parse_localename(localename)
   File
 
 /System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/locale.py,
  line 391, in _parse_localename
   

Re: [GRASS-user] Problems with grass for OSX

2011-12-14 Thread William Kyngesburye
You need to find out where that is set.  Most likely in your ~/.bash_profile.  
Then remove that setting.

And since your LANG is not set, you also need to check your Terminal 
preferences.  In Settings:Advanced for your default setting, check the 
International Set locale environment variables on startup option.

On Dec 14, 2011, at 9:00 AM, José Carlos Guerrero Antúnez wrote:

 Hi,
 
 I did the return in a new Terminal window and
 env | grep LANG
 
 env | grep LC_
 LC_CTYPE=UTF-8
 
 So how I can make the change?
 
 Many thanks again,
 
 Jose Guerrero
 
 
 El 14 de diciembre de 2011 12:44, William Kyngesburye wokl...@kyngchaos.com 
 escribió:
 Maybe your shell language isn't set right?  What do these return in a new 
 Terminal window:
 
 env | grep LANG
 env | grep LC_
 
 OS X automatically sets LANG, but there are others that are checked first: 
 LC_ALL and LC_CTYPE.  Python is expecting them to be in the form:
 
 language.encoding
 
 ie, the default US english is en_US.UTF-8.
 
 If any of those are just the encoding (the UTF-8 in your error), then maybe 
 you added something to your ~/.bash_profile to set them?
 
 On Dec 14, 2011, at 8:14 AM, José Carlos Guerrero Antúnez wrote:
 
  Hello again,
 
  When I make double-click to open GRASS in the first terminal window show 
  the following message,
 
  '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
  Last login: Wed Dec 14 08:45:59 on console
  torre-b-024:~ joseca_IMac$ 
  '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
  Rebuilding Addon HTML manual pages index...
  Rebuilding Addon menu...
  Python 2.6.1 found.
 
  WELCOME TO GRASS  Version 6.4.1 2011
 
 1) Have at your side all available GRASS tutorials
 
 2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
 
 3) Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org
 
  Hit RETURN to continue
 
  When I make RETURN, the message is GRASS needs a directory in which to 
  store its data. Create one now if you have not already done so. A popular 
  choice is grassdata, located in your home directory.
 
  I do OK, and Choose a folder and then occurs as I mentioned in the previous 
  mail.
 
  This problem as I have working with an Imac10,1, Intel Core Duo, 3,06 GHz, 
  RAM Memory 4 Gb. These The strangest thing for me I can do the program on 
  another machine (MacBook Pro, ODX 10.6.8)
 
  I did the installation and updated according to the procedure from 
  Kyngchaos webpage. I have no doubt that there is some component that is in 
  conflict but which?
 
  Now, what can I do?
 
  Many thanks for your help
 
 
 
  2011/12/10 Ralf Schäfer sena...@ecotoxicology.de
  Dear Jose,
 
  when did your problem occur? After installation/updating or haphazardly?
 
  I had a similar problem with the Python GUI but after I updated all 
  frameworks it worked fine. In case you use the GRASS version from Kyngchaos 
  can you update the GDAL complete framework, free type and cairo and report 
  whether the error still occurs?
 
  Regards
  Ralf
 
 
 
  Am 10.12.2011 um 05:20 schrieb grass-user-requ...@lists.osgeo.org:
 
  Message: 3
 
  Date: Fri, 9 Dec 2011 17:04:12 -0200
  From: Jos? Carlos Guerrero Ant?nez jcgantu...@gmail.com
  Subject: [GRASS-user] Problems with grass for OSX
  To: grass-user@lists.osgeo.org
  Message-ID:
   caeo28jeo+pyotlmwnn8bgny3s6c-zaxwrwl2l97y4iryjum...@mail.gmail.com
  Content-Type: text/plain; charset=iso-8859-1
 
  Hi,
 
  I can not boot properly grass and this is the message that appears in 
  Terminal
  window.
 
  OSX 10.6.8
 
  Thanks in advance,
 
 
  torre-b-024:~ joseca_IMac$
  '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
  Rebuilding Addon HTML manual pages index...
  Rebuilding Addon menu...
  Python 2.6.1 found.
 
  WELCOME TO GRASS  Version 6.4.1 2011
 
1) Have at your side all available GRASS tutorials
 
2) When working on your location, the following materials
   are extremely useful:
   - A topo map of your area
   - Current catalog of available computer maps
 
3) Check the GRASS webpages for feedback mailinglists and more:
   http://www.grass-gis.org
   http://grass.osgeo.org
 
  Hit RETURN to continue
 
  Starting GRASS ...
  Traceback (most recent call last):
   File
  /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
  641, in OnSelectLocation
 self.listOfLocations[self.lblocations.GetSelection()]))
   File
  /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py, line
  590, in UpdateMapsets
 self.listOfMapsets = utils.GetListOfMapsets(self.gisdbase, location)
   File
  /Users/Shared/src/GRASS/grass-6.4.1-snow/dist.i386-apple-darwin10.7.0/etc/wxpython/gui_modules/utils.py,
  line 629, in GetListOfMapsets
   File
  

Re: [GRASS-user] Re: g.extension error svn!

2011-12-14 Thread Martin Landa
Hi,

2011/12/14 Markus Neteler nete...@osgeo.org:
 We definitely recommend to you to get precompiled binaries for Windows.
 You could manually download r.seg here:
 http://wingrass.fsv.cvut.cz/grass64/addons/
 - r.seg.zip

 and place the content into the appropriate folders within QGIS/GRASS.
 Not sure of they are compliant but worth a try.

probably not, the addons must be compiled against the same revision of
libgis as GRASS itself. See some notes how to compile GRASS on Windows
at the wiki [1].

Martin

[1] http://trac.osgeo.org/grass/wiki/CompileOnWindows

-- 
Martin Landa landa.martin gmail.com * http://geo.fsv.cvut.cz/~landa
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


[GRASS-user] Re: g.extension error svn!

2011-12-14 Thread Solimyr
I think that I'm close to the solution...I have copied the r.seg.exe in the
grass/bin folder. Now, in GRASS, if I write r.seg in the command line I can
see the command, if I execute I receive the following text:

/Traceback (most recent call last):
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\prompt.py, line 1067, in OnKeyPressed

self.parent.RunCmd(cmd)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\goutput.py, line 516, in RunCmd

task = menuform.GUI().ParseInterface(command)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\menuform.py, line 2020, in ParseInterface

tree = etree.fromstring(getInterfaceDescription(cmd[0]))
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 964, in XML

return parser.close()
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 1254, in close

self._parser.Parse(, 1) # end of data
xml.parsers.expat
.
ExpatError
:
no element found: line 1, column 0
Traceback (most recent call last):
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\prompt.py, line 1067, in OnKeyPressed

self.parent.RunCmd(cmd)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\goutput.py, line 516, in RunCmd

task = menuform.GUI().ParseInterface(command)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\menuform.py, line 2020, in ParseInterface

tree = etree.fromstring(getInterfaceDescription(cmd[0]))
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 964, in XML

return parser.close()
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 1254, in close

self._parser.Parse(, 1) # end of data
xml.parsers.expat
.
ExpatError
:
no element found: line 1, column 0
Traceback (most recent call last):
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\prompt.py, line 1067, in OnKeyPressed

self.parent.RunCmd(cmd)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\goutput.py, line 516, in RunCmd

task = menuform.GUI().ParseInterface(command)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\menuform.py, line 2020, in ParseInterface

tree = etree.fromstring(getInterfaceDescription(cmd[0]))
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 964, in XML

return parser.close()
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 1254, in close

self._parser.Parse(, 1) # end of data
xml.parsers.expat
.
ExpatError
:
no element found: line 1, column 0
Traceback (most recent call last):
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\prompt.py, line 1067, in OnKeyPressed

self.parent.RunCmd(cmd)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\goutput.py, line 516, in RunCmd

task = menuform.GUI().ParseInterface(command)
  File C:\PROGRA~2\QUANTU~2\apps\grass\grass-6.4.1\etc\wxpy
thon\gui_modules\menuform.py, line 2020, in ParseInterface

tree = etree.fromstring(getInterfaceDescription(cmd[0]))
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 964, in XML

return parser.close()
  File C:\PROGRA~2\QUANTU~2\apps\Python25\lib\xml\etree\Ele
mentTree.py, line 1254, in close

self._parser.Parse(, 1) # end of data
xml.parsers.expat
.
ExpatError
:
no element found: line 1, column 0/


I think that this is due to the fact that GRASS doesn't see the dialog. Now
I have also a file that I didn't copied anywhere because I can't understand
where to put. This is named:

r.seg.md5sum

The extension is unknown to me...where I need to put this file?I have
searched in the folder but didn't see something similar

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/g-extension-error-svn-tp7086731p7093973.html
Sent from the Grass - Users mailing list archive at Nabble.com.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] Problems with grass for OSX

2011-12-14 Thread José Carlos Guerrero Antúnez
Hi,

How to remove that setting, this is the mesage when I write in Terminal
window, I have all privileges as administrator.

~/.bash_profile

sh: /var/root/.bash_profile: No such file or directory

Thank you,

El 14 de diciembre de 2011 13:10, William Kyngesburye wokl...@kyngchaos.com
 escribió:

 You need to find out where that is set.  Most likely in your
 ~/.bash_profile.  Then remove that setting.

 And since your LANG is not set, you also need to check your Terminal
 preferences.  In Settings:Advanced for your default setting, check the
 International Set locale environment variables on startup option.

 On Dec 14, 2011, at 9:00 AM, José Carlos Guerrero Antúnez wrote:

  Hi,
 
  I did the return in a new Terminal window and
  env | grep LANG
 
  env | grep LC_
  LC_CTYPE=UTF-8
 
  So how I can make the change?
 
  Many thanks again,
 
  Jose Guerrero
 
 
  El 14 de diciembre de 2011 12:44, William Kyngesburye 
 wokl...@kyngchaos.com escribió:
  Maybe your shell language isn't set right?  What do these return in a
 new Terminal window:
 
  env | grep LANG
  env | grep LC_
 
  OS X automatically sets LANG, but there are others that are checked
 first: LC_ALL and LC_CTYPE.  Python is expecting them to be in the form:
 
  language.encoding
 
  ie, the default US english is en_US.UTF-8.
 
  If any of those are just the encoding (the UTF-8 in your error), then
 maybe you added something to your ~/.bash_profile to set them?
 
  On Dec 14, 2011, at 8:14 AM, José Carlos Guerrero Antúnez wrote:
 
   Hello again,
  
   When I make double-click to open GRASS in the first terminal window
 show the following message,
  
   '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
   Last login: Wed Dec 14 08:45:59 on console
   torre-b-024:~ joseca_IMac$
 '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
   Rebuilding Addon HTML manual pages index...
   Rebuilding Addon menu...
   Python 2.6.1 found.
  
   WELCOME TO GRASS  Version 6.4.1 2011
  
  1) Have at your side all available GRASS tutorials
  
  2) When working on your location, the following materials
 are extremely useful:
 - A topo map of your area
 - Current catalog of available computer maps
  
  3) Check the GRASS webpages for feedback mailinglists and more:
 http://www.grass-gis.org
 http://grass.osgeo.org
  
   Hit RETURN to continue
  
   When I make RETURN, the message is GRASS needs a directory in which
 to store its data. Create one now if you have not already done so. A
 popular choice is grassdata, located in your home directory.
  
   I do OK, and Choose a folder and then occurs as I mentioned in the
 previous mail.
  
   This problem as I have working with an Imac10,1, Intel Core Duo, 3,06
 GHz, RAM Memory 4 Gb. These The strangest thing for me I can do the program
 on another machine (MacBook Pro, ODX 10.6.8)
  
   I did the installation and updated according to the procedure from
 Kyngchaos webpage. I have no doubt that there is some component that is in
 conflict but which?
  
   Now, what can I do?
  
   Many thanks for your help
  
  
  
   2011/12/10 Ralf Schäfer sena...@ecotoxicology.de
   Dear Jose,
  
   when did your problem occur? After installation/updating or
 haphazardly?
  
   I had a similar problem with the Python GUI but after I updated all
 frameworks it worked fine. In case you use the GRASS version from Kyngchaos
 can you update the GDAL complete framework, free type and cairo and report
 whether the error still occurs?
  
   Regards
   Ralf
  
  
  
   Am 10.12.2011 um 05:20 schrieb grass-user-requ...@lists.osgeo.org:
  
   Message: 3
  
   Date: Fri, 9 Dec 2011 17:04:12 -0200
   From: Jos? Carlos Guerrero Ant?nez jcgantu...@gmail.com
   Subject: [GRASS-user] Problems with grass for OSX
   To: grass-user@lists.osgeo.org
   Message-ID:

 caeo28jeo+pyotlmwnn8bgny3s6c-zaxwrwl2l97y4iryjum...@mail.gmail.com
   Content-Type: text/plain; charset=iso-8859-1
  
   Hi,
  
   I can not boot properly grass and this is the message that appears in
 Terminal
   window.
  
   OSX 10.6.8
  
   Thanks in advance,
  
  
   torre-b-024:~ joseca_IMac$
   '/Applications/GRASS-6.4.app/Contents/MacOS/grass.sh'; exit
   Rebuilding Addon HTML manual pages index...
   Rebuilding Addon menu...
   Python 2.6.1 found.
  
   WELCOME TO GRASS  Version 6.4.1 2011
  
 1) Have at your side all available GRASS tutorials
  
 2) When working on your location, the following materials
are extremely useful:
- A topo map of your area
- Current catalog of available computer maps
  
 3) Check the GRASS webpages for feedback mailinglists and more:
http://www.grass-gis.org
http://grass.osgeo.org
  
   Hit RETURN to continue
  
   Starting GRASS ...
   Traceback (most recent call last):
File
   /Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/gis_set.py,
 line
   641, in OnSelectLocation
  

Re: [GRASS-user] GRASS citation?

2011-12-14 Thread Marcello Gorini
Humm I think you forgot the thing :) , no?



On Wed, Dec 14, 2011 at 5:22 PM, Stephen Sefick sas0...@auburn.edu wrote:

 I saw a paper on this list the other day, but have deleted the original
 email.  Is this the appropriate thing to cite when referring to GRASS GIS
 in a paper?
 many thanks,

 --
 Stephen Sefick
 
 Auburn University
 Biological Sciences
 331 Funchess Hall
 Auburn, Alabama
 36849
 
 sas0...@auburn.edu
 http://www.auburn.edu/~sas0025
 

 Let's not spend our time and resources thinking about things that are so
 little or so large that all they really do for us is puff us up and make us
 feel like gods.  We are mammals, and have not exhausted the annoying little
 problems of being mammals.

-K. Mullis

 A big computer, a complex algorithm and a long time does not equal
 science.

  -Robert Gentleman


 __**_
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/grass-userhttp://lists.osgeo.org/mailman/listinfo/grass-user

___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS citation?

2011-12-14 Thread Stephen Sefick

The holidays are coming and I thought I would introduce some mystery...

On Wed 14 Dec 2011 01:31:31 PM CST, Marcello Gorini wrote:

Humm I think you forgot the thing :) , no?



On Wed, Dec 14, 2011 at 5:22 PM, Stephen Sefick sas0...@auburn.edu 
mailto:sas0...@auburn.edu wrote:


I saw a paper on this list the other day, but have deleted the
original email.  Is this the appropriate thing to cite when
referring to GRASS GIS in a paper?
many thanks,

-- 
Stephen Sefick

**__
Auburn University
Biological Sciences
331 Funchess Hall
Auburn, Alabama
36849
**__
sas0...@auburn.edu mailto:sas0...@auburn.edu
http://www.auburn.edu/~sas0025 http://www.auburn.edu/%7Esas0025
**__

Let's not spend our time and resources thinking about things that
are so little or so large that all they really do for us is puff
us up and make us feel like gods.  We are mammals, and have not
exhausted the annoying little problems of being mammals.

   -K. Mullis

A big computer, a complex algorithm and a long time does not
equal science.

 -Robert Gentleman


_
grass-user mailing list
grass-user@lists.osgeo.org mailto:grass-user@lists.osgeo.org
http://lists.osgeo.org/__mailman/listinfo/grass-user
http://lists.osgeo.org/mailman/listinfo/grass-user




___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


--
Stephen Sefick
**
Auburn University 
Biological Sciences  
331 Funchess Hall   
Auburn, Alabama
36849   
**
sas0...@auburn.edu  
http://www.auburn.edu/~sas0025 
**


Let's not spend our time and resources thinking about things that are 
so little or so large that all they really do for us is puff us up and 
make us feel like gods.  We are mammals, and have not exhausted the 
annoying little problems of being mammals.


   -K. Mullis

A big computer, a complex algorithm and a long time does not equal 
science.


 -Robert Gentleman


___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS citation?

2011-12-14 Thread Markus Neteler
On Wed, Dec 14, 2011 at 8:22 PM, Stephen Sefick sas0...@auburn.edu wrote:
 I saw a paper on this list the other day, but have deleted the original
 email.  Is this the appropriate thing to cite when referring to GRASS GIS in
 a paper?

You may cite as this:

(from http://grass.osgeo.org/download/index.php)

*  GRASS Development Team, 2010. Geographic Resources Analysis Support
System (GRASS) Software, Version 6.4. Open Source Geospatial
Foundation. http://grass.osgeo.org
*  GRASS Development Team, 2010. Geographic Resources Analysis Support
System (GRASS) Programmer's Manual. Open Source Geospatial Foundation.
Electronic document: http://grass.osgeo.org/programming6/

Or the GRASS book:

* M. Neteler, H. Mitasova, Open Source GIS: A GRASS GIS Approach. 3rd
edition, Springer, 2008.

Or the new review paper (pages to be assigned soon):

* Neteler, M., Bowman, M.H., Landa, M. and Metz, M. (2012): GRASS GIS:
a multi-purpose Open Source GIS. Environmental Modelling  Software.
DOI 10.1016/j.envsoft.2011.11.014

Best
Markus
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GRASS citation?

2011-12-14 Thread Marcello Gorini
Stephen Sefick:


  I saw a paper on this list the other day, but have deleted the original
  email.  Is this the appropriate thing to cite when referring to GRASS
 GIS in
  a paper?


Markus Neteler:


 You may cite as this:

 (from http://grass.osgeo.org/download/index.php)

 *  GRASS Development Team, 2010. Geographic Resources Analysis Support
 System (GRASS) Software, Version 6.4. Open Source Geospatial
 Foundation. http://grass.osgeo.org
 *  GRASS Development Team, 2010. Geographic Resources Analysis Support
 System (GRASS) Programmer's Manual. Open Source Geospatial Foundation.
 Electronic document: http://grass.osgeo.org/programming6/


In three days time I will be submitting a paper to Geomorphology where the
main research was made entirely with GRASS.

I was willing to ask you: right now when I mention I used GRASS I refer to
it like

... GRASS GIS (© 1999-2010 GRASS Development Team) version is 6.4.0svn and
the main modules that compose 


and then when I talk about a specific module I say like

the minimum-watershed-size threshold was set to 100 cells (GRASS GIS
6.4.0svn Reference Manual, 2010)...


Is it correct? If so, should I use the same two aforementioned references
at the reference list, but replacing Programmer's Manual by Reference
Manual?

Thanks for the help. I really want to do it right.

Best,

Marcello.
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user