does GRASS 7 for Mac compile yet?

classic Classic list List threaded Threaded
37 messages Options
12
Reply | Threaded
Open this post in threaded view
|

does GRASS 7 for Mac compile yet?

Michael Barton
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.

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)












_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Anna Petrášová
On Sat, Jan 26, 2013 at 6:32 PM, Michael Barton <[hidden email]> 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
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Luca Delucchi
2013/1/31 Anna Kratochvílová <[hidden email]>:

>
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Anna Petrášová
On Thu, Jan 31, 2013 at 9:35 AM, Luca Delucchi <[hidden email]> wrote:
> 2013/1/31 Anna Kratochvílová <[hidden email]>:
>
>>
>> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Luca Delucchi
2013/1/31 Anna Kratochvílová <[hidden email]>:
>
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

madi
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 <[hidden email]> wrote:
2013/1/31 Anna Kratochvílová <[hidden email]>:
>
> 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
[hidden email]
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   

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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Luca Delucchi
2013/1/31 Margherita Di Leo <[hidden email]>:
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Thomas Adams
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 <[hidden email]> wrote:
2013/1/31 Margherita Di Leo <[hidden email]>:
> 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
[hidden email]
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:	[hidden email]
 
VOICE:	937-383-0528
FAX:	937-383-0033


_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

epifanio
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 

<start-joke>
    great choice
</end-joke> 

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 <[hidden email]> 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 <[hidden email]> wrote:
2013/1/31 Margherita Di Leo <[hidden email]>:
> 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
[hidden email]
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:	[hidden email]
 
VOICE:	937-383-0528
FAX:	937-383-0033

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev


_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Luca Delucchi
In reply to this post by Thomas Adams
2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Anna Petrášová
On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi <[hidden email]> wrote:

> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>> 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
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-dev
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Helena Mitasova-7
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 '</body>\|</html>' > 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 <module>
   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 '</body>\|</html>' > 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 <module>
    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 <module>
   
  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 <module>
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 Marine, Earth, and Atmospheric Sciences
2800 Faucette Drive, Rm. 1125 Jordan Hall
North Carolina State University
Raleigh, NC 27695-8208
[hidden email]

"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 <[hidden email]> wrote:
>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>> 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
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
> _______________________________________________
> grass-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: animations on Mac problem

Helena Mitasova-7
In reply to this post by Anna Petrášová
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
[hidden email]

"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 <[hidden email]> wrote:
>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>> 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
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
> _______________________________________________
> grass-dev mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Anna Petrášová
In reply to this post by Helena Mitasova-7
On Thu, Jan 31, 2013 at 5:02 PM, Helena Mitasova <[hidden email]> 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 '</body>\|</html>' > 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 <module>
>    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 '</body>\|</html>' > 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 <module>
>     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 <module>
>
>   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 <module>
> 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
>


Maybe this could be helpful [1]? Also, there is a changeset [2] which
could be related although it is quite old.


[1] http://stackoverflow.com/questions/2565201/wxpython-incompatible-with-snow-leopard
[2] http://trac.osgeo.org/grass/changeset/40523


> 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
> [hidden email]
>
> "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 <[hidden email]> wrote:
>>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>>> 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
>>> [hidden email]
>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>> _______________________________________________
>> grass-dev mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: animations on Mac problem

Anna Petrášová
In reply to this post by Helena Mitasova-7
On Thu, Jan 31, 2013 at 5:09 PM, Helena Mitasova <[hidden email]> 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
> [hidden email]
>
> "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 <[hidden email]> wrote:
>>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>>> 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
>>> [hidden email]
>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>> _______________________________________________
>> grass-dev mailing list
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>
_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: animations on Mac problem

Helena Mitasova-7
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
[hidden email]

"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 <[hidden email]> 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
>> [hidden email]
>>
>> "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 <[hidden email]> wrote:
>>>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>>>> 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
>>>> [hidden email]
>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>> _______________________________________________
>>> grass-dev mailing list
>>> [hidden email]
>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: animations on Mac problem

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 <[hidden email]>
 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
> [hidden email]
>
> "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 <[hidden email]> 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
>>> [hidden email]
>>>
>>> "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 <[hidden email]> wrote:
>>>>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>>>>> 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
>>>>> [hidden email]
>>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>> _______________________________________________
>>>> grass-dev mailing list
>>>> [hidden email]
>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>
>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: animations on Mac problem

Michael Barton
In reply to this post by Helena Mitasova-7
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 <[hidden email]>
 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
> [hidden email]
>
> "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 <[hidden email]> 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
>>> [hidden email]
>>>
>>> "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 <[hidden email]> wrote:
>>>>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>>>>> 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
>>>>> [hidden email]
>>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>> _______________________________________________
>>>> grass-dev mailing list
>>>> [hidden email]
>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>
>

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Michael Barton
In reply to this post by Luca Delucchi
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 <[hidden email]>
 wrote:

> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>> 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
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Reply | Threaded
Open this post in threaded view
|

Re: does GRASS 7 for Mac compile yet?

Michael Barton
In reply to this post by Anna Petrášová
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 '</body>\|</html>' > 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 <module>
    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 <module>
    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 <module>
    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á <[hidden email]>
 wrote:

> On Thu, Jan 31, 2013 at 11:47 AM, Luca Delucchi <[hidden email]> wrote:
>> 2013/1/31 Thomas Adams - NOAA Federal <[hidden email]>:
>>> 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
>> [hidden email]
>> http://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
12