[GRASS-dev] formatting expressions for r.mapcalc in GRASS6.4.3

2013-01-31 Thread Helena Mitasova
Over the years there have been changes in the formatting of r.mapcalc 
expressions
and it appears the currently there is no single way that would work everywhere
(you either need quotes or it does not work with quotes and in GRASS6.4.3 the 
space around = is not necessary).
I have tried to summarize our experience on MSWindows, Mac and linux here

http://courses.ncsu.edu/mea582/common/GIS_anal_grass/mapcalcformats.html

My question about the document above - is this how it should work?

If yes, should we include something like this in the manual? 

For example, the ndvi example in the manual would not run from the command 
console on MSwindows
and the text talking about running r.mapcalc non-interactively and 
interactively, refers to the old way
of running GRASS before there was any GUI. 
The Note about running r.mapcalc on command line can also cause some confusion 
- this is how that example works in the shell

GRASS 6.4.3RC2 (nc_spm_08):~ > r.mapcalc result = 'elevation * 2'
 100%
GRASS 6.4.3RC2 (nc_spm_08):~ > r.mapcalc result=elevation*2
 100%
GRASS 6.4.3RC2 (nc_spm_08):~ > r.mapcalc
Enter expressions, "end" when done.
mapcalc> result = 'elevation * 2'
Illegal filename. Character < > not allowed.
Invalid map 
mapcalc> result=elevation*2
mapcalc> end
100%

GRASS7 is a different story, but examples in the manual for grass7 may need 
testing and revision too.

Helena


Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmit...@ncsu.edu

"All electronic mail messages in connection with State business which are sent 
to or received by this account are subject to the NC Public Records Law and may 
be disclosed to third parties.” 

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


Re: [GRASS-dev] [GRASS GIS] #1868: g.mapset now broken

2013-01-31 Thread GRASS GIS
#1868: g.mapset now broken
-+--
 Reporter:  cmbarton |   Owner:  grass-dev@…  
 Type:  defect   |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  g.mapset |Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by cmbarton):

 Thanks Helmut. Is this the version compiled today?

 Michael

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1868: g.mapset now broken

2013-01-31 Thread GRASS GIS
#1868: g.mapset now broken
-+--
 Reporter:  cmbarton |   Owner:  grass-dev@…  
 Type:  defect   |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  g.mapset |Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by hellik):

 Replying to [comment:2 cmbarton]:
 > I should clarify. g.mapset is broken when called from the wxGUI menu. I
 think this is actually calling a g.mapset wrapper that is not running.
 >
 > The basic g.mapset module works fine when called from the terminal.
 >
 > Michael

 works also here in osgeo4-wingrass7 when called from the wxGUI.

 helmut

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1868: g.mapset now broken

2013-01-31 Thread GRASS GIS
#1868: g.mapset now broken
-+--
 Reporter:  cmbarton |   Owner:  grass-dev@…  
 Type:  defect   |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  g.mapset |Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by cmbarton):

 I should clarify. g.mapset is broken when called from the wxGUI menu. I
 think this is actually calling a g.mapset wrapper that is not running.

 The basic g.mapset module works fine when called from the terminal.

 Michael

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1868: g.mapset now broken

2013-01-31 Thread GRASS GIS
#1868: g.mapset now broken
-+--
 Reporter:  cmbarton |   Owner:  grass-dev@…  
 Type:  defect   |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  g.mapset |Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--

Comment(by hellik):

 Replying to [ticket:1868 cmbarton]:
 > g.mapset is now broken in the newest release of trunk (GRASS 7). It was
 not broken in earlier revisions.

 tested here in osgeo4w-wingrass, g.mapset works here. maybe change
 platform?

 Helmut

-- 
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #1868: g.mapset now broken

2013-01-31 Thread GRASS GIS
#1868: g.mapset now broken
-+--
 Reporter:  cmbarton |   Owner:  grass-dev@…  
 Type:  defect   |  Status:  new  
 Priority:  normal   |   Milestone:  7.0.0
Component:  wxGUI| Version:  unspecified  
 Keywords:  g.mapset |Platform:  Unspecified  
  Cpu:  Unspecified  |  
-+--
 g.mapset is now broken in the newest release of trunk (GRASS 7). It was
 not broken in earlier revisions. Here is the error.

 {{{

 Traceback (most recent call last):
   File "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS
 -7.0.app/Contents/MacOS/etc/gui/wxpython/lmgr/frame.py",
 line 820, in OnChangeLocation

 dlg = LocationDialog(parent = self)
   File "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS
 -7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/dialogs.py
 ", line 160, in __init__

 self.PostInit()
   File "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS
 -7.0.app/Contents/MacOS/etc/gui/wxpython/gui_core/dialogs.py
 ", line 94, in PostInit

 if not self.element.GetValue():
   File "/Users/Shared/grass_dev/grass7_dev/macosx/dist/GRASS
 -7.0.app/Contents/MacOS/etc/python/wx/_controls.py", line
 610, in GetValue

 return _controls_.ComboBox_GetValue(*args, **kwargs)
 wx._core
 .
 PyAssertionError
 :
 C++ assertion "IsValid(n)" failed at /BUILD/wxPython-
 src-2.8.12.1/src/mac/carbon/choice.cpp(242) in GetString():
 wxChoice::GetString(): invalid index

 }}}

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1796: wingrass7: some db.*-modules fails with dbf as db-backend

2013-01-31 Thread GRASS GIS
#1796: wingrass7: some db.*-modules fails with dbf as db-backend
--+-
 Reporter:  hellik|   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  blocker   |   Milestone:  7.0.0
Component:  Database  | Version:  svn-trunk
 Keywords:  dbf   |Platform:  MSWindows 7  
  Cpu:  x86-64|  
--+-
Changes (by hellik):

  * priority:  critical => blocker


-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1844: wingrass: db_open_select_cursor fails for DBF driver.

2013-01-31 Thread GRASS GIS
#1844: wingrass: db_open_select_cursor fails for DBF driver.
---+
 Reporter:  martinl|   Owner:  grass-dev@…  
 Type:  defect |  Status:  new  
 Priority:  critical   |   Milestone:  7.0.0
Component:  Database   | Version:  unspecified  
 Keywords:  wingrass, dbf  |Platform:  MSWindows 2K 
  Cpu:  Unspecified|  
---+

Comment(by hellik):

 Replying to [comment:2 mmetz]:
 > On Windows,
 > {{{
 > $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
 > }}}
 > should not translate to
 > {{{
 > /opt/grassdata/nc_spm_08_grass7/dbf/dbf/
 > }}}
 > because this is not a valid path on Windows.
 >
 > Can you post the output of `g.gisenv`?
 >

 maybe related http://trac.osgeo.org/grass/ticket/1796 ?

 http://trac.osgeo.org/grass/ticket/1796#comment:14

 still valid

 Helmut

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1844: wingrass: db_open_select_cursor fails for DBF driver.

2013-01-31 Thread GRASS GIS
#1844: wingrass: db_open_select_cursor fails for DBF driver.
---+
 Reporter:  martinl|   Owner:  grass-dev@…  
 Type:  defect |  Status:  new  
 Priority:  critical   |   Milestone:  7.0.0
Component:  Database   | Version:  unspecified  
 Keywords:  wingrass, dbf  |Platform:  MSWindows 2K 
  Cpu:  Unspecified|  
---+

Comment(by mmetz):

 On Windows,
 {{{
 $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/
 }}}
 should not translate to
 {{{
 /opt/grassdata/nc_spm_08_grass7/dbf/dbf/
 }}}
 because this is not a valid path on Windows.

 Can you post the output of `g.gisenv`?

 Markus M

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1867: v.external not compiling

2013-01-31 Thread GRASS GIS
#1867: v.external not compiling
---+
  Reporter:  cmbarton  |   Owner:  grass-dev@…  
  Type:  defect|  Status:  closed   
  Priority:  normal|   Milestone:  7.0.0
 Component:  Vector| Version:  svn-trunk
Resolution:  fixed |Keywords:  v.external   
  Platform:  MacOSX| Cpu:  OSX/Intel
---+
Changes (by martinl):

  * status:  new => closed
  * resolution:  => fixed


-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1866: broken SQLite driver in winGRASS 7

2013-01-31 Thread GRASS GIS
#1866: broken SQLite driver in winGRASS 7
--+-
 Reporter:  martinl   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  blocker   |   Milestone:  7.0.0
Component:  Database  | Version:  unspecified  
 Keywords:  sqlite, wingrass  |Platform:  MSWindows 2K 
  Cpu:  Unspecified   |  
--+-

Comment(by mmetz):

 Replying to [comment:2 martinl]:
 > Wild guess: could be related to invalid call of `free()` (instead of
 `dbfree()`). Any tips how to determine such invalid usage?

 I have changed the default error reporting setting for db drivers in
 r54828. Maybe something useful is now printed. Please test.

 Markus M

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1867: v.external not compiling

2013-01-31 Thread GRASS GIS
#1867: v.external not compiling
+---
 Reporter:  cmbarton|   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  normal  |   Milestone:  7.0.0
Component:  Vector  | Version:  svn-trunk
 Keywords:  v.external  |Platform:  MacOSX   
  Cpu:  OSX/Intel   |  
+---

Comment(by cmbarton):

 It now compiles without error. Thanks!

 Michael

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1867: v.external not compiling

2013-01-31 Thread GRASS GIS
#1867: v.external not compiling
+---
 Reporter:  cmbarton|   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  normal  |   Milestone:  7.0.0
Component:  Vector  | Version:  svn-trunk
 Keywords:  v.external  |Platform:  MacOSX   
  Cpu:  OSX/Intel   |  
+---

Comment(by mmetz):

 Please try r54827.

 Markus M

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Michael Barton
For all the g.gui.*** modules, the compiling error is as follows:

cmbarton$ cd /Users/Shared/grass_dev/grass7_dev/gui/wxpython/animation
anthgradpc7:animation cmbarton$ make
make 
/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/docs/html/g.gui.animation.html
GISRC=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/demolocation/.grassrc70
 GISBASE=/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0 
PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:$PATH"
 
PYTHONPATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/etc/python:$PYTHONPATH"
 
DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/lib:/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/lib:"
 LC_ALL=C 
/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation
 --html-description < /dev/null | grep -v '\|' > 
g.gui.animation.tmp.html
Traceback (most recent call last):
  File 
"/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation",
 line 45, in 
import wx
  File 
"/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/__init__.py",
 line 45, in 
from wx._core import *
  File 
"/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core.py",
 line 4, in 
import _core_
ImportError: 
/usr/local/lib/wxPython-unicode-2.8.12.1/lib/python2.7/site-packages/wx-2.8-mac-unicode/wx/_core_.so:
 no appropriate 64-bit architecture (see "man python" for running in 32-bit 
mode)
make[1]: *** [g.gui.animation.tmp.html] Error 1
rm g.gui.animation.tmp.html
make: *** [guiscript] Error 2

It is a "bogus" error in several respects. There is no problem importing wx in 
other wxPython modules, and these modules work when launched from the menu and 
from the terminal.

--

For v.external, I just submitted a bug report


--

For volume display, I need to dig back into my notes and emails to you and 
Helena. I'm pretty sure that for volumes to display on the Mac now, we need to 
remove the function gvl_align_data and references to it in gvl_gcalc.c in 
../lib/osgf.

But I don't know if that causes any problems on other systems, including older 
Mac systems.

Michael
__
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
www:http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

On Jan 31, 2013, at 4:15 AM, Anna Kratochvílová 
 wrote:

> On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  wrote:
>> 2013/1/31 Thomas Adams - NOAA Federal :
>>> All,
>>> 
>> 
>> Hi Thomas
>> 
>>> I'm a Mac user in addition to Linux. I'm going to have more free time
>>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>>> testing. Just let me know what I can do. I'm moving from the U.S. to
>>> Melbourne, Australia in a couple of weeks!
>>> 
>> 
>> thanks for your support, you could start to read from here [0].
>> Michael and William could you update the instructions of this file [1]
>> for GRASS7 and move them to the wiki page please?
>> 
> 
> Michael, it would be helpful to summarize all the problems. It is very
> confusing at least for me. It is not clear which problems are related
> to the introduction of g.gui.* modules, wxPython version and so on
> because the information is in many threads.
> 
> Thanks,
> Anna
> 
>>> Cheers,
>>> Tom
>>> 
>> 
>> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
>> [1] 
>> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
>> 
>> 
>> --
>> ciao
>> Luca
>> 
>> http://gis.cri.fmach.it/delucchi/
>> www.lucadelu.org
>> ___
>> grass-dev mailing list
>> grass-dev@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev

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


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Michael Barton
Thank you! An important test that affects the 6.4.3 release as well as 7 is 
volume display. I think I know how to fix it by getting rid of a bit of 
offending code, but need to be sure that it doesn't break something on another 
platform.

Michael
__
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
www:http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

On Jan 31, 2013, at 3:47 AM, Luca Delucchi 
 wrote:

> 2013/1/31 Thomas Adams - NOAA Federal :
>> All,
>> 
> 
> Hi Thomas
> 
>> I'm a Mac user in addition to Linux. I'm going to have more free time
>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>> testing. Just let me know what I can do. I'm moving from the U.S. to
>> Melbourne, Australia in a couple of weeks!
>> 
> 
> thanks for your support, you could start to read from here [0].
> Michael and William could you update the instructions of this file [1]
> for GRASS7 and move them to the wiki page please?
> 
>> Cheers,
>> Tom
>> 
> 
> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
> [1] 
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
> 
> 
> -- 
> ciao
> Luca
> 
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org

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


Re: [GRASS-dev] animations on Mac problem

2013-01-31 Thread Michael Barton
I just updated and compiled. I still get the compiler errors. But I tested 3 of 
the modules that report not compiling and they seem to work OK (mapswipe, 
digitize, and composer).

I reported the v.external compiler error in Trak.

Now maybe others can test my possible fix to volume display to make sure it 
doesn't break anything else and we'll be back with a fully functional Mac 
version.

Thanks again.
Michael
__
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
www:http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

On Jan 31, 2013, at 10:12 AM, Helena Mitasova 
 wrote:

> I am happy to report that in grass7 on Mac10.8 the animations RUN!
> Michael, perhaps you should ignore the error message from the compilation and 
> try to run the modules,
> they seem to be OK on 10.8, at least those that I tried.
> 
> This is before your change Anna,
> 
> Helena Mitasova
> Associate Professor
> Department of Marine, Earth, and Atmospheric Sciences
> 2800 Faucette Drive, Rm. 1125 Jordan Hall
> North Carolina State University
> Raleigh, NC 27695-8208
> hmit...@ncsu.edu
> 
> "All electronic mail messages in connection with State business which are 
> sent to or received by this account are subject to the NC Public Records Law 
> and may be disclosed to third parties.” 
> 
> On Jan 31, 2013, at 11:58 AM, Anna Kratochvílová wrote:
> 
>> On Thu, Jan 31, 2013 at 5:09 PM, Helena Mitasova  wrote:
>>> This is the error that I get when I try to run the animation (on MacOSX10.6 
>>> - I will try on 10.8 as well later on):
>> 
>> Could you test it again, I've just committed a small change which could help.
>> 
>> Anna
>> 
>>> 
>>> Helena
>>> 
>>> Traceback (most recent call last):
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-darwin10.8.0/etc/gui/wxpython/lmgr/frame.py", line
>>> 1397, in OnAnimationTool
>>> 
>>> frame = AnimationFrame(parent = self)
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
>>> line 54, in __init__
>>> 
>>> self.animationPanel = AnimationsPanel(self, self.windows,
>>> initialCount = MAX_COUNT)
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
>>> line 256, in __init__
>>> 
>>> w = AnimationWindow(self)
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-
>>> darwin10.8.0/etc/gui/wxpython/animation/mapwindow.py", line
>>> 108, in __init__
>>> 
>>> self.bitmap = wx.EmptyBitmap(0, 0)
>>> File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
>>> em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
>>> ib/python/wx-2.8-mac-unicode/wx/_gdi.py", line 726, in
>>> EmptyBitmap
>>> wx._core
>>> .
>>> PyAssertionError
>>> :
>>> C++ assertion "m_hBitmap" failed at
>>> ../src/mac/carbon/bitmap.cpp(242) in Create(): Unable to
>>> create CGBitmapContext context
>>> 
>>> 
>>> Helena Mitasova
>>> Associate Professor
>>> Department of Marine, Earth, and Atmospheric Sciences
>>> 2800 Faucette Drive, Rm. 1125 Jordan Hall
>>> North Carolina State University
>>> Raleigh, NC 27695-8208
>>> hmit...@ncsu.edu
>>> 
>>> "All electronic mail messages in connection with State business which are 
>>> sent to or received by this account are subject to the NC Public Records 
>>> Law and may be disclosed to third parties.”
>>> 
>>> On Jan 31, 2013, at 6:15 AM, Anna Kratochvílová wrote:
>>> 
 On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  
 wrote:
> 2013/1/31 Thomas Adams - NOAA Federal :
>> All,
>> 
> 
> Hi Thomas
> 
>> I'm a Mac user in addition to Linux. I'm going to have more free time
>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>> testing. Just let me know what I can do. I'm moving from the U.S. to
>> Melbourne, Australia in a couple of weeks!
>> 
> 
> thanks for your support, you could start to read from here [0].
> Michael and William could you update the instructions of this file [1]
> for GRASS7 and move them to the wiki page please?
> 
 
 Michael, it would be helpful to summarize all the problems. It is very
 confusing at least for me. It is not clear which problems are related
 to the introduction of g.gui.* modules, wxPython version and so on
 because the information is in many threads.
 
 Thanks,
 Anna
 
>> Cheers,
>> Tom
>> 
> 
> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
> [1] 
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
> 
> 
> --
> ciao
> Luca
> 
> http://gis.c

[GRASS-dev] [GRASS GIS] #1867: v.external not compiling

2013-01-31 Thread GRASS GIS
#1867: v.external not compiling
+---
 Reporter:  cmbarton|   Owner:  grass-dev@…  
 Type:  defect  |  Status:  new  
 Priority:  normal  |   Milestone:  7.0.0
Component:  Vector  | Version:  svn-trunk
 Keywords:  v.external  |Platform:  MacOSX   
  Cpu:  OSX/Intel   |  
+---
 The error is below. Could it be related to r54571?

 {{{

 gcc  -g -O2   -arch i386 -arch x86_64 -isysroot
 /Developer/SDKs/MacOSX10.6.sdk
 -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
 darwin12.2.0/include -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64
 -apple-darwin12.2.0/include  -D_FILE_OFFSET_BITS=64
 -I/Library/Frameworks/GDAL.framework/Versions/1.9/Headers
 -I/Library/Frameworks/GEOS.framework/Versions/3/unix/include
 -DPACKAGE=\""grassmods"\"
 -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
 darwin12.2.0/include -I/Users/Shared/grass_dev/grass7_dev/dist.x86_64
 -apple-darwin12.2.0/include -o OBJ.x86_64-apple-darwin12.2.0/list.o -c
 list.c
 In file included from list.c:6:
 /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
 darwin12.2.0/include/grass/gprojects.h:21:22: error: proj_api.h: No such
 file or directory
 In file included from list.c:6:
 /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
 darwin12.2.0/include/grass/gprojects.h:35: error: expected specifier-
 qualifier-list before ‘projPJ’
 list.c: In function ‘list_formats’:
 list.c:94: warning: format not a string literal and no format arguments
 list.c: In function ‘list_layers’:
 list.c:111: warning: format not a string literal and no format arguments
 In file included from list.c:6:
 /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
 darwin12.2.0/include/grass/gprojects.h:21:22: error: proj_api.h: No such
 file or directory
 In file included from list.c:6:
 /Users/Shared/grass_dev/grass7_dev/dist.x86_64-apple-
 darwin12.2.0/include/grass/gprojects.h:35: error: expected specifier-
 qualifier-list before ‘projPJ’
 list.c: In function ‘list_formats’:
 list.c:94: warning: format not a string literal and no format arguments
 list.c: In function ‘list_layers’:
 list.c:111: warning: format not a string literal and no format arguments
 lipo: can't figure out the architecture type of:
 /var/folders/dm/x_m7msz48xj_9c0059b59rf0gn/T//cceBnoeO.out
 make: *** [OBJ.x86_64-apple-darwin12.2.0/list.o] Error 1

 }}}

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] animations on Mac problem

2013-01-31 Thread Michael Barton
This is great news. That means that only v.external does not compile. 

I blame the lack of time for just accepting the compilation report that these 
didn't work and not actually testing. Thanks much Helena and Anna.

Michael
__
C. Michael Barton 
Director, Center for Social Dynamics & Complexity
Professor of Anthropology, School of Human Evolution & Social Change
Arizona State University
Tempe, AZ  85287-2402
USA

voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
fax:  480-965-7671(SHESC), 480-727-0709 (CSDC)
www:http://csdc.asu.edu, http://shesc.asu.edu
http://www.public.asu.edu/~cmbarton

On Jan 31, 2013, at 10:12 AM, Helena Mitasova 
 wrote:

> I am happy to report that in grass7 on Mac10.8 the animations RUN!
> Michael, perhaps you should ignore the error message from the compilation and 
> try to run the modules,
> they seem to be OK on 10.8, at least those that I tried.
> 
> This is before your change Anna,
> 
> Helena Mitasova
> Associate Professor
> Department of Marine, Earth, and Atmospheric Sciences
> 2800 Faucette Drive, Rm. 1125 Jordan Hall
> North Carolina State University
> Raleigh, NC 27695-8208
> hmit...@ncsu.edu
> 
> "All electronic mail messages in connection with State business which are 
> sent to or received by this account are subject to the NC Public Records Law 
> and may be disclosed to third parties.” 
> 
> On Jan 31, 2013, at 11:58 AM, Anna Kratochvílová wrote:
> 
>> On Thu, Jan 31, 2013 at 5:09 PM, Helena Mitasova  wrote:
>>> This is the error that I get when I try to run the animation (on MacOSX10.6 
>>> - I will try on 10.8 as well later on):
>> 
>> Could you test it again, I've just committed a small change which could help.
>> 
>> Anna
>> 
>>> 
>>> Helena
>>> 
>>> Traceback (most recent call last):
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-darwin10.8.0/etc/gui/wxpython/lmgr/frame.py", line
>>> 1397, in OnAnimationTool
>>> 
>>> frame = AnimationFrame(parent = self)
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
>>> line 54, in __init__
>>> 
>>> self.animationPanel = AnimationsPanel(self, self.windows,
>>> initialCount = MAX_COUNT)
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
>>> line 256, in __init__
>>> 
>>> w = AnimationWindow(self)
>>> File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>>> -apple-
>>> darwin10.8.0/etc/gui/wxpython/animation/mapwindow.py", line
>>> 108, in __init__
>>> 
>>> self.bitmap = wx.EmptyBitmap(0, 0)
>>> File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
>>> em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
>>> ib/python/wx-2.8-mac-unicode/wx/_gdi.py", line 726, in
>>> EmptyBitmap
>>> wx._core
>>> .
>>> PyAssertionError
>>> :
>>> C++ assertion "m_hBitmap" failed at
>>> ../src/mac/carbon/bitmap.cpp(242) in Create(): Unable to
>>> create CGBitmapContext context
>>> 
>>> 
>>> Helena Mitasova
>>> Associate Professor
>>> Department of Marine, Earth, and Atmospheric Sciences
>>> 2800 Faucette Drive, Rm. 1125 Jordan Hall
>>> North Carolina State University
>>> Raleigh, NC 27695-8208
>>> hmit...@ncsu.edu
>>> 
>>> "All electronic mail messages in connection with State business which are 
>>> sent to or received by this account are subject to the NC Public Records 
>>> Law and may be disclosed to third parties.”
>>> 
>>> On Jan 31, 2013, at 6:15 AM, Anna Kratochvílová wrote:
>>> 
 On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  
 wrote:
> 2013/1/31 Thomas Adams - NOAA Federal :
>> All,
>> 
> 
> Hi Thomas
> 
>> I'm a Mac user in addition to Linux. I'm going to have more free time
>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>> testing. Just let me know what I can do. I'm moving from the U.S. to
>> Melbourne, Australia in a couple of weeks!
>> 
> 
> thanks for your support, you could start to read from here [0].
> Michael and William could you update the instructions of this file [1]
> for GRASS7 and move them to the wiki page please?
> 
 
 Michael, it would be helpful to summarize all the problems. It is very
 confusing at least for me. It is not clear which problems are related
 to the introduction of g.gui.* modules, wxPython version and so on
 because the information is in many threads.
 
 Thanks,
 Anna
 
>> Cheers,
>> Tom
>> 
> 
> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
> [1] 
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
> 
> 
> --
> ciao
> Luca
> 
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/m

Re: [GRASS-dev] animations on Mac problem

2013-01-31 Thread Helena Mitasova
I am happy to report that in grass7 on Mac10.8 the animations RUN!
Michael, perhaps you should ignore the error message from the compilation and 
try to run the modules,
they seem to be OK on 10.8, at least those that I tried.

This is before your change Anna,

Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmit...@ncsu.edu

"All electronic mail messages in connection with State business which are sent 
to or received by this account are subject to the NC Public Records Law and may 
be disclosed to third parties.” 

On Jan 31, 2013, at 11:58 AM, Anna Kratochvílová wrote:

> On Thu, Jan 31, 2013 at 5:09 PM, Helena Mitasova  wrote:
>> This is the error that I get when I try to run the animation (on MacOSX10.6 
>> - I will try on 10.8 as well later on):
> 
> Could you test it again, I've just committed a small change which could help.
> 
> Anna
> 
>> 
>> Helena
>> 
>> Traceback (most recent call last):
>>  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>> -apple-darwin10.8.0/etc/gui/wxpython/lmgr/frame.py", line
>> 1397, in OnAnimationTool
>> 
>> frame = AnimationFrame(parent = self)
>>  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
>> line 54, in __init__
>> 
>> self.animationPanel = AnimationsPanel(self, self.windows,
>> initialCount = MAX_COUNT)
>>  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
>> line 256, in __init__
>> 
>> w = AnimationWindow(self)
>>  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
>> -apple-
>> darwin10.8.0/etc/gui/wxpython/animation/mapwindow.py", line
>> 108, in __init__
>> 
>> self.bitmap = wx.EmptyBitmap(0, 0)
>>  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
>> em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
>> ib/python/wx-2.8-mac-unicode/wx/_gdi.py", line 726, in
>> EmptyBitmap
>> wx._core
>> .
>> PyAssertionError
>> :
>> C++ assertion "m_hBitmap" failed at
>> ../src/mac/carbon/bitmap.cpp(242) in Create(): Unable to
>> create CGBitmapContext context
>> 
>> 
>> Helena Mitasova
>> Associate Professor
>> Department of Marine, Earth, and Atmospheric Sciences
>> 2800 Faucette Drive, Rm. 1125 Jordan Hall
>> North Carolina State University
>> Raleigh, NC 27695-8208
>> hmit...@ncsu.edu
>> 
>> "All electronic mail messages in connection with State business which are 
>> sent to or received by this account are subject to the NC Public Records Law 
>> and may be disclosed to third parties.”
>> 
>> On Jan 31, 2013, at 6:15 AM, Anna Kratochvílová wrote:
>> 
>>> On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  
>>> wrote:
 2013/1/31 Thomas Adams - NOAA Federal :
> All,
> 
 
 Hi Thomas
 
> I'm a Mac user in addition to Linux. I'm going to have more free time
> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
> testing. Just let me know what I can do. I'm moving from the U.S. to
> Melbourne, Australia in a couple of weeks!
> 
 
 thanks for your support, you could start to read from here [0].
 Michael and William could you update the instructions of this file [1]
 for GRASS7 and move them to the wiki page please?
 
>>> 
>>> Michael, it would be helpful to summarize all the problems. It is very
>>> confusing at least for me. It is not clear which problems are related
>>> to the introduction of g.gui.* modules, wxPython version and so on
>>> because the information is in many threads.
>>> 
>>> Thanks,
>>> Anna
>>> 
> Cheers,
> Tom
> 
 
 [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
 [1] 
 http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
 
 
 --
 ciao
 Luca
 
 http://gis.cri.fmach.it/delucchi/
 www.lucadelu.org
 ___
 grass-dev mailing list
 grass-dev@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-dev
>>> ___
>>> grass-dev mailing list
>>> grass-dev@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>> 

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


Re: [GRASS-dev] Example python script

2013-01-31 Thread Paulo van Breugel
Thanks, I did take a look, but obviously not hard enough (btw, clever trick
to use grep.. will download the source code so I can use that too).




On Thu, Jan 31, 2013 at 5:12 PM, Moritz Lennert <
mlenn...@club.worldonline.be> wrote:

> On 31/01/13 16:48, Paulo van Breugel wrote:
>
>>   Does anybody has an example grass python script that deals with
>> multiple layer input? For example with the input option below with #%
>> multiple set to yes, I would like to create multiple variables, one for
>> each map.
>>
>> #%option
>> #% key: input
>> #% type: string
>> #% gisprompt: old,cell,raster
>> #% required: yes
>> #% multiple: yes
>> #%end
>>
>> I am completely new to python, and besides python scripting tutorials
>> and text books, for me using examples is a great way to accelerate the
>> learning process. I have looked into the addon repository and scripts in
>> the GRASS 7 SVN, but haven't found what I was looking for.
>>
>> More in general, does anybody have (simple) shell scripts that have now
>> been converted in python scripts? I thought I had seen a page on the
>> grass wiki where code snippets in shell and python were compared, but I
>> can't find it.
>>
>
> You can always look at the scripts in grass7. A quick grep through the
> directory shows:
>
> i.spectral/i.spectral.py
> r.buffer.lowmem/r.buffer.**lowmem.py 
> r.in.wms/r.in.wms.py
> v.db.addtable/v.db.addtable.py
> v.db.univar/v.db.univar.py
> v.in.wfs/v.in.wfs.py
> v.krige/v.krige.py
>
> Generally, you should be able to do something like this:
>
> rastermaps = input.split(',')
>
> and the access each maps like this:
>
> my_map1 = rastermaps[0]
>
> etc
>
> Moritz
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] animations on Mac problem

2013-01-31 Thread Anna Kratochvílová
On Thu, Jan 31, 2013 at 5:09 PM, Helena Mitasova  wrote:
> This is the error that I get when I try to run the animation (on MacOSX10.6 - 
> I will try on 10.8 as well later on):

Could you test it again, I've just committed a small change which could help.

Anna

>
> Helena
>
> Traceback (most recent call last):
>   File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
> -apple-darwin10.8.0/etc/gui/wxpython/lmgr/frame.py", line
> 1397, in OnAnimationTool
>
> frame = AnimationFrame(parent = self)
>   File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
> line 54, in __init__
>
> self.animationPanel = AnimationsPanel(self, self.windows,
> initialCount = MAX_COUNT)
>   File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
> -apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
> line 256, in __init__
>
> w = AnimationWindow(self)
>   File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
> -apple-
> darwin10.8.0/etc/gui/wxpython/animation/mapwindow.py", line
> 108, in __init__
>
> self.bitmap = wx.EmptyBitmap(0, 0)
>   File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
> em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
> ib/python/wx-2.8-mac-unicode/wx/_gdi.py", line 726, in
> EmptyBitmap
> wx._core
> .
> PyAssertionError
> :
> C++ assertion "m_hBitmap" failed at
> ../src/mac/carbon/bitmap.cpp(242) in Create(): Unable to
> create CGBitmapContext context
>
>
> Helena Mitasova
> Associate Professor
> Department of Marine, Earth, and Atmospheric Sciences
> 2800 Faucette Drive, Rm. 1125 Jordan Hall
> North Carolina State University
> Raleigh, NC 27695-8208
> hmit...@ncsu.edu
>
> "All electronic mail messages in connection with State business which are 
> sent to or received by this account are subject to the NC Public Records Law 
> and may be disclosed to third parties.”
>
> On Jan 31, 2013, at 6:15 AM, Anna Kratochvílová wrote:
>
>> On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  wrote:
>>> 2013/1/31 Thomas Adams - NOAA Federal :
 All,

>>>
>>> Hi Thomas
>>>
 I'm a Mac user in addition to Linux. I'm going to have more free time
 starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
 testing. Just let me know what I can do. I'm moving from the U.S. to
 Melbourne, Australia in a couple of weeks!

>>>
>>> thanks for your support, you could start to read from here [0].
>>> Michael and William could you update the instructions of this file [1]
>>> for GRASS7 and move them to the wiki page please?
>>>
>>
>> Michael, it would be helpful to summarize all the problems. It is very
>> confusing at least for me. It is not clear which problems are related
>> to the introduction of g.gui.* modules, wxPython version and so on
>> because the information is in many threads.
>>
>> Thanks,
>> Anna
>>
 Cheers,
 Tom

>>>
>>> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
>>> [1] 
>>> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
>>>
>>>
>>> --
>>> ciao
>>> Luca
>>>
>>> http://gis.cri.fmach.it/delucchi/
>>> www.lucadelu.org
>>> ___
>>> grass-dev mailing list
>>> grass-dev@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>> ___
>> grass-dev mailing list
>> grass-dev@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Anna Kratochvílová
On Thu, Jan 31, 2013 at 5:02 PM, Helena Mitasova  wrote:
> Anna,
>
> we just started to dig into this with Michael about two days ago. I believe 
> the errors started to pop-up with the introduction
> of g.gui.* - all of these commands have it and at the time when g.gui.* was 
> being added, the list of modules with this error
> has been expanding. The error messages below are from Michael, but I get 
> exactly the same ones - see the error for mapswipe.
> Before g.gui was introduced, mapswipe did not produce an error. And this is 
> on MacOSX10.6 and MacOSX10.8.
> BUT for me on 10.6, in spite of the error message, most of these modules 
> actually run OK - I tried mapswipe, psmap,vdigit,
> and wxnviz and m.nviz.image run too. Perhaps others can test the rest of the 
> modules.
> So it may be just a manual page or something like that.
> The only thing that does not run is animation - I will email about it 
> separately because it may be a separate issue.
>
> Helena
>
> Errors in:
>
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/mapswipe
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/gmodeler
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/rlisetup
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/psmap
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/dbmgr
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/vdigit
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/iclass
>
> for each of those I get the same error like this
>
> cmb-macbookpro:~ cmbarton$ 
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
> -bash: /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation: is a 
> directory
> cmb-macbookpro:~ cmbarton$ cd 
> /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
> cmb-macbookpro:animation cmbarton$
> cmb-macbookpro:animation cmbarton$ make
> make 
> /Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/docs/html/g.gui.animation.html
> GISRC=/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/demolocation/.grassrc70
>  GISBASE=/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0 
> PATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:$PATH"
>  
> PYTHONPATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/etc/python:$PYTHONPATH"
>  
> DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/lib:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/lib:"
>  LC_ALL=C 
> /Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation
>  --html-description < /dev/null | grep -v '\|' > 
> g.gui.animation.tmp.html
> Traceback (most recent call last):
>  File 
> "/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation",
>  line 45, in 
>import wx
> ImportError: No module named wx
> make[1]: *** [g.gui.animation.tmp.html] Error 1
> rm g.gui.animation.tmp.html
>
> cpe-098-026-069-175:mapswipe helena$ make
> make 
> /Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/docs/html/g.gui.mapswipe.html
> GISRC=/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc70
>  GISBASE=/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0 
> PATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:$PATH"
>  
> PYTHONPATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/etc/python:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/etc/python:$PYTHONPATH"
>  
> DYLD_LIBRARY_PATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/lib:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/lib:"
>  LC_ALL=C 
> /Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe
>  --html-description < /dev/null | grep -v '\|' > 
> g.gui.mapswipe.tmp.html
> Traceback (most recent call last):
>   File 
> "/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe",
>  line 51, in 
> import  wx
>   File 
> "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py",
>  line 45, in 
>
>   File 
> "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py",
>  line 4, in 
> ImportError: 
> /System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so:
>  no approp

Re: [GRASS-dev] Example python script

2013-01-31 Thread Moritz Lennert

On 31/01/13 16:48, Paulo van Breugel wrote:

  Does anybody has an example grass python script that deals with
multiple layer input? For example with the input option below with #%
multiple set to yes, I would like to create multiple variables, one for
each map.

#%option
#% key: input
#% type: string
#% gisprompt: old,cell,raster
#% required: yes
#% multiple: yes
#%end

I am completely new to python, and besides python scripting tutorials
and text books, for me using examples is a great way to accelerate the
learning process. I have looked into the addon repository and scripts in
the GRASS 7 SVN, but haven't found what I was looking for.

More in general, does anybody have (simple) shell scripts that have now
been converted in python scripts? I thought I had seen a page on the
grass wiki where code snippets in shell and python were compared, but I
can't find it.


You can always look at the scripts in grass7. A quick grep through the 
directory shows:


i.spectral/i.spectral.py
r.buffer.lowmem/r.buffer.lowmem.py
r.in.wms/r.in.wms.py
v.db.addtable/v.db.addtable.py
v.db.univar/v.db.univar.py
v.in.wfs/v.in.wfs.py
v.krige/v.krige.py

Generally, you should be able to do something like this:

rastermaps = input.split(',')

and the access each maps like this:

my_map1 = rastermaps[0]

etc

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


Re: [GRASS-dev] animations on Mac problem

2013-01-31 Thread Helena Mitasova
This is the error that I get when I try to run the animation (on MacOSX10.6 - I 
will try on 10.8 as well later on):

Helena

Traceback (most recent call last):
  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
-apple-darwin10.8.0/etc/gui/wxpython/lmgr/frame.py", line
1397, in OnAnimationTool

frame = AnimationFrame(parent = self)
  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
-apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
line 54, in __init__

self.animationPanel = AnimationsPanel(self, self.windows,
initialCount = MAX_COUNT)
  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
-apple-darwin10.8.0/etc/gui/wxpython/animation/frame.py",
line 256, in __init__

w = AnimationWindow(self)
  File "/Users/helena/grassdev7/grass_trunk/dist.x86_64
-apple-
darwin10.8.0/etc/gui/wxpython/animation/mapwindow.py", line
108, in __init__

self.bitmap = wx.EmptyBitmap(0, 0)
  File "/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/Syst
em/Library/Frameworks/Python.framework/Versions/2.6/Extras/l
ib/python/wx-2.8-mac-unicode/wx/_gdi.py", line 726, in
EmptyBitmap
wx._core
.
PyAssertionError
:
C++ assertion "m_hBitmap" failed at
../src/mac/carbon/bitmap.cpp(242) in Create(): Unable to
create CGBitmapContext context


Helena Mitasova
Associate Professor
Department of Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
hmit...@ncsu.edu

"All electronic mail messages in connection with State business which are sent 
to or received by this account are subject to the NC Public Records Law and may 
be disclosed to third parties.” 

On Jan 31, 2013, at 6:15 AM, Anna Kratochvílová wrote:

> On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  wrote:
>> 2013/1/31 Thomas Adams - NOAA Federal :
>>> All,
>>> 
>> 
>> Hi Thomas
>> 
>>> I'm a Mac user in addition to Linux. I'm going to have more free time
>>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>>> testing. Just let me know what I can do. I'm moving from the U.S. to
>>> Melbourne, Australia in a couple of weeks!
>>> 
>> 
>> thanks for your support, you could start to read from here [0].
>> Michael and William could you update the instructions of this file [1]
>> for GRASS7 and move them to the wiki page please?
>> 
> 
> Michael, it would be helpful to summarize all the problems. It is very
> confusing at least for me. It is not clear which problems are related
> to the introduction of g.gui.* modules, wxPython version and so on
> because the information is in many threads.
> 
> Thanks,
> Anna
> 
>>> Cheers,
>>> Tom
>>> 
>> 
>> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
>> [1] 
>> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
>> 
>> 
>> --
>> ciao
>> Luca
>> 
>> http://gis.cri.fmach.it/delucchi/
>> www.lucadelu.org
>> ___
>> grass-dev mailing list
>> grass-dev@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

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


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Helena Mitasova
Anna,

we just started to dig into this with Michael about two days ago. I believe the 
errors started to pop-up with the introduction
of g.gui.* - all of these commands have it and at the time when g.gui.* was 
being added, the list of modules with this error
has been expanding. The error messages below are from Michael, but I get 
exactly the same ones - see the error for mapswipe.
Before g.gui was introduced, mapswipe did not produce an error. And this is on 
MacOSX10.6 and MacOSX10.8.
BUT for me on 10.6, in spite of the error message, most of these modules 
actually run OK - I tried mapswipe, psmap,vdigit,
and wxnviz and m.nviz.image run too. Perhaps others can test the rest of the 
modules.
So it may be just a manual page or something like that.
The only thing that does not run is animation - I will email about it 
separately because it may be a separate issue.

Helena

Errors in:

/Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/mapswipe
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/gmodeler
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/rlisetup
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/psmap
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/dbmgr
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/vdigit
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/iclass

for each of those I get the same error like this

cmb-macbookpro:~ cmbarton$ 
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
-bash: /Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation: is a 
directory
cmb-macbookpro:~ cmbarton$ cd 
/Users/Shared/grass_dev/grass70_dev/gui/wxpython/animation
cmb-macbookpro:animation cmbarton$ 
cmb-macbookpro:animation cmbarton$ make
make 
/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/docs/html/g.gui.animation.html
GISRC=/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/demolocation/.grassrc70
 GISBASE=/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0 
PATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:$PATH"
 
PYTHONPATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/etc/python:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/etc/python:$PYTHONPATH"
 
DYLD_LIBRARY_PATH="/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/bin:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/lib:/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/lib:"
 LC_ALL=C 
/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation
 --html-description < /dev/null | grep -v '\|' > 
g.gui.animation.tmp.html
Traceback (most recent call last):
 File 
"/Users/Shared/grass_dev/grass70_dev/dist.x86_64-apple-darwin12.2.0/scripts/g.gui.animation",
 line 45, in 
   import wx
ImportError: No module named wx
make[1]: *** [g.gui.animation.tmp.html] Error 1
rm g.gui.animation.tmp.html

cpe-098-026-069-175:mapswipe helena$ make
make 
/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/docs/html/g.gui.mapswipe.html
GISRC=/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/demolocation/.grassrc70
 GISBASE=/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0 
PATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:$PATH"
 
PYTHONPATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/etc/python:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/etc/python:$PYTHONPATH"
 
DYLD_LIBRARY_PATH="/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/bin:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/lib:/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/lib:"
 LC_ALL=C 
/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe
 --html-description < /dev/null | grep -v '\|' > 
g.gui.mapswipe.tmp.html
Traceback (most recent call last):
  File 
"/Users/helena/grassdev7/grass_trunk/dist.x86_64-apple-darwin10.8.0/scripts/g.gui.mapswipe",
 line 51, in 
import  wx
  File 
"/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/__init__.py",
 line 45, in 

  File 
"/var/tmp/wxWidgets/wxWidgets-13~231/2.6/DSTROOT/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core.py",
 line 4, in 
ImportError: 
/System/Library/Frameworks/Python.framework/Versions/2.6/Extras/lib/python/wx-2.8-mac-unicode/wx/_core_.so:
 no appropriate 64-bit architecture (see "man python" for running in 32-bit 
mode)
make[1]: *** [g.gui.mapswipe.tmp.html] Error 1
rm g.gui.mapswipe.tmp.html
make: *** [guiscript] Error 2

Helena Mitasova
Associate Professor
Department of 

[GRASS-dev] Example python script

2013-01-31 Thread Paulo van Breugel
Does anybody has an example grass python script that deals with multiple 
layer input? For example with the input option below with #% multiple 
set to yes, I would like to create multiple variables, one for each map.


#%option
#% key: input
#% type: string
#% gisprompt: old,cell,raster
#% required: yes
#% multiple: yes
#%end

I am completely new to python, and besides python scripting tutorials 
and text books, for me using examples is a great way to accelerate the 
learning process. I have looked into the addon repository and scripts in 
the GRASS 7 SVN, but haven't found what I was looking for.


More in general, does anybody have (simple) shell scripts that have now 
been converted in python scripts? I thought I had seen a page on the 
grass wiki where code snippets in shell and python were compared, but I 
can't find it.


Cheers,

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

Re: [GRASS-dev] [GRASS GIS] #1866: broken SQLite driver in winGRASS 7

2013-01-31 Thread GRASS GIS
#1866: broken SQLite driver in winGRASS 7
--+-
 Reporter:  martinl   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  blocker   |   Milestone:  7.0.0
Component:  Database  | Version:  unspecified  
 Keywords:  sqlite, wingrass  |Platform:  MSWindows 2K 
  Cpu:  Unspecified   |  
--+-

Comment(by martinl):

 Wild guess: could be related to invalid call of `free()` (instead of
 `dbfree()`). Any tips how to determine such invalid usage?

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] [GRASS GIS] #1866: broken SQLite driver in winGRASS 7

2013-01-31 Thread GRASS GIS
#1866: broken SQLite driver in winGRASS 7
--+-
 Reporter:  martinl   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  blocker   |   Milestone:  7.0.0
Component:  Database  | Version:  unspecified  
 Keywords:  sqlite, wingrass  |Platform:  MSWindows 2K 
  Cpu:  Unspecified   |  
--+-

Comment(by martinl):

 Update: string for name of fourth column has invalid size (should be for
 this column - PERIMETER - 10). Seems like buffer overflow or so(?)

-- 
Ticket URL: 
GRASS GIS 

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

[GRASS-dev] [GRASS GIS] #1866: broken SQLite driver in winGRASS 7

2013-01-31 Thread GRASS GIS
#1866: broken SQLite driver in winGRASS 7
--+-
 Reporter:  martinl   |   Owner:  grass-dev@…  
 Type:  defect|  Status:  new  
 Priority:  blocker   |   Milestone:  7.0.0
Component:  Database  | Version:  unspecified  
 Keywords:  sqlite, wingrass  |Platform:  MSWindows 2K 
  Cpu:  Unspecified   |  
--+-
 In winGRASS 7 also SQLite driver is not working (see #1844 from DBF
 driver). NC (basic) dataset.

 {{{
 db.describe census
 }}}

 doesn't report any error, it just hangs. Adding some extra debug messages,
 I found the line when it stops. It's
 source:grass/trunk/lib/db/dbmi_base/xdrcolumn.c#L56. First three columns
 are retrieved (cat, OBJRCTID, AREA). It stops on fourth column and waiting
 for response.

 Any idea where could be a problem?

 This bugs affects only GRASS 7, SQLite driver in GRASS 6 seems to work.

-- 
Ticket URL: 
GRASS GIS 

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

Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Anna Kratochvílová
On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi  wrote:
> 2013/1/31 Thomas Adams - NOAA Federal :
>> All,
>>
>
> Hi Thomas
>
>> I'm a Mac user in addition to Linux. I'm going to have more free time
>> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
>> testing. Just let me know what I can do. I'm moving from the U.S. to
>> Melbourne, Australia in a couple of weeks!
>>
>
> thanks for your support, you could start to read from here [0].
> Michael and William could you update the instructions of this file [1]
> for GRASS7 and move them to the wiki page please?
>

Michael, it would be helpful to summarize all the problems. It is very
confusing at least for me. It is not clear which problems are related
to the introduction of g.gui.* modules, wxPython version and so on
because the information is in many threads.

Thanks,
Anna

>> Cheers,
>> Tom
>>
>
> [0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
> [1] 
> http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw
>
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Luca Delucchi
2013/1/31 Thomas Adams - NOAA Federal :
> All,
>

Hi Thomas

> I'm a Mac user in addition to Linux. I'm going to have more free time
> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
> testing. Just let me know what I can do. I'm moving from the U.S. to
> Melbourne, Australia in a couple of weeks!
>

thanks for your support, you could start to read from here [0].
Michael and William could you update the instructions of this file [1]
for GRASS7 and move them to the wiki page please?

> Cheers,
> Tom
>

[0] http://grasswiki.osgeo.org/wiki/Compiling_on_MacOSX
[1] 
http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/macosx/ReadMe.rtf?format=raw


-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread epi
I'm a mac user as well and i will be happy to help,

… i built grass weekly (if not daily) in the past, 
but unfortunately now i'm on mac 10.8.x using 64bit python, all my python 
packages numpy scipy etc etc etc .. are 64 bit and ...

WX gui 


great choice
 

unfortunately doesn't works on mac in 64 bit mode … i'm waiting the 2.9.x to be 
stable that is 2 years now ...

This IMO can be one of the major reason of  "lack of mac-man-dev-power" 

i can provide log on the build of grass7 (without gui modules) … but this 
doesn't help

i don't know if grass-gui-dev want try to test grass with wx-2.9 .. it is 
unstable but works, if yes .. i'll be happy to be a guinea pig 

--Massimo

Il giorno 31/gen/2013, alle ore 05:32, Thomas Adams - NOAA Federal 
 ha scritto:

> All,
> 
> I'm a Mac user in addition to Linux. I'm going to have more free time 
> starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for 
> testing. Just let me know what I can do. I'm moving from the U.S. to 
> Melbourne, Australia in a couple of weeks!
> 
> Cheers,
> Tom
> 
> 
> On Thu, Jan 31, 2013 at 5:27 AM, Luca Delucchi  wrote:
> 2013/1/31 Margherita Di Leo :
> > I think we should consider to promote a fund rising for buying a (used,
> > discounted, whatever) mac computer for the use of developers who are
> > developing or are willing to test on it. What do you think?
> >
> 
> I don't like this idea.
> I think should be really better to have some more Mac power user
> instead, and use the money for community sprint
> 
> > my 2 c
> > madi
> >
> 
> --
> ciao
> Luca
> 
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
> 
> 
> 
> -- 
> Thomas E Adams
> Development & Operations Hydrologist
> National Weather Service
> Ohio River Forecast Center
> 1901 South State Route 134
> Wilmington, OH 45177
> http://www.erh.noaa.gov/er/ohrfc/
> EMAIL:thomas.ad...@noaa.gov
>  
> VOICE:937-383-0528
> FAX:  937-383-0033
> 
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev

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

Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Thomas Adams - NOAA Federal
All,

I'm a Mac user in addition to Linux. I'm going to have more free time
starting in a few weeks. I'd be happy to step-up my use of GRASS 7 for
testing. Just let me know what I can do. I'm moving from the U.S. to
Melbourne, Australia in a couple of weeks!

Cheers,
Tom


On Thu, Jan 31, 2013 at 5:27 AM, Luca Delucchi  wrote:

> 2013/1/31 Margherita Di Leo :
> > I think we should consider to promote a fund rising for buying a (used,
> > discounted, whatever) mac computer for the use of developers who are
> > developing or are willing to test on it. What do you think?
> >
>
> I don't like this idea.
> I think should be really better to have some more Mac power user
> instead, and use the money for community sprint
>
> > my 2 c
> > madi
> >
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 

Thomas E Adams

Development & Operations Hydrologist
National Weather Service
Ohio River Forecast Center
1901 South State Route 134
Wilmington, OH 45177

http://www.erh.noaa.gov/er/ohrfc/

EMAIL:  thomas.ad...@noaa.gov
VOICE:  937-383-0528
FAX:937-383-0033
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Luca Delucchi
2013/1/31 Margherita Di Leo :
> I think we should consider to promote a fund rising for buying a (used,
> discounted, whatever) mac computer for the use of developers who are
> developing or are willing to test on it. What do you think?
>

I don't like this idea.
I think should be really better to have some more Mac power user
instead, and use the money for community sprint

> my 2 c
> madi
>

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Margherita Di Leo
I think we should consider to promote a fund rising for buying a (used,
discounted, whatever) mac computer for the use of developers who are
developing or are willing to test on it. What do you think?

my 2 c
madi

On Thu, Jan 31, 2013 at 10:01 AM, Luca Delucchi wrote:

> 2013/1/31 Anna Kratochvílová :
> >
> > That would be great. But is GRASS 7 not compiling on your or Nikos
> > Mac? I think that some configurations (Mac/Python/wxPython) are
> > working and some are not.
> >
>
> I never try, my minimac is in Genova home and I use it very few times.
> I could bring it, but I don't know how to compile grass on mac
>
> > Anna
> >
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
>



-- 
Margherita DI LEO
Postdoctoral Researcher

European Commission - DG JRC
Institute for Environment and Sustainability (IES). Unit H03 – FRC
Via Fermi, 2749
I-21027 Ispra (VA) - Italy - TP 261

Tel. +39 0332 78 3600
margherita.di-...@jrc.ec.europa.eu

Disclaimer: The views expressed are purely those of the writer and may not
in any circumstance be regarded as stating an official position of the
European Commission.
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Luca Delucchi
2013/1/31 Anna Kratochvílová :
>
> That would be great. But is GRASS 7 not compiling on your or Nikos
> Mac? I think that some configurations (Mac/Python/wxPython) are
> working and some are not.
>

I never try, my minimac is in Genova home and I use it very few times.
I could bring it, but I don't know how to compile grass on mac

> Anna
>

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Anna Kratochvílová
On Thu, Jan 31, 2013 at 9:35 AM, Luca Delucchi  wrote:
> 2013/1/31 Anna Kratochvílová :
>
>>
>> Anyone with Mac is coming to GRASS community sprint? It could be a
>> good opportunity to solve it.
>>
>
> I could bring my minimac from home... otherwise if I remember well
> Nikos has a Mac

That would be great. But is GRASS 7 not compiling on your or Nikos
Mac? I think that some configurations (Mac/Python/wxPython) are
working and some are not.

Anna

>
>> Anna
>>
>
> --
> ciao
> Luca
>
> http://gis.cri.fmach.it/delucchi/
> www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Luca Delucchi
2013/1/31 Anna Kratochvílová :

>
> Anyone with Mac is coming to GRASS community sprint? It could be a
> good opportunity to solve it.
>

I could bring my minimac from home... otherwise if I remember well
Nikos has a Mac

> Anna
>

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev


Re: [GRASS-dev] does GRASS 7 for Mac compile yet?

2013-01-31 Thread Anna Kratochvílová
On Sat, Jan 26, 2013 at 6:32 PM, Michael Barton  wrote:
> Does anyone know if the compile errors introduced with the new wxPython
> animation module have been fixed for GRASS 7 and it now compiles again on
> the Mac? I haven't had a chance to check for the past month.
>

Anyone with Mac is coming to GRASS community sprint? It could be a
good opportunity to solve it.

Anna

> Michael
> 
> C. Michael Barton
> Director, Center for Social Dynamics & Complexity
> Professor of Anthropology, School of Human Evolution & Social Change
> Arizona State University
>
> voice:  480-965-6262 (SHESC), 480-727-9746 (CSDC)
> fax:  480-965-7671 (SHESC),  480-727-0709 (CSDC)
> www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
>
>
>
>
>
> ___
> grass-dev mailing list
> grass-dev@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-dev
___
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev