[GRASS-dev] GRASS trunk will no longer compile for Mac

Anna Petrášová kratochanna at gmail.com
Tue May 19 19:11:40 PDT 2015


Hi Michael,

I tried it, compiled latest trunk on Mac and I am not getting the problem
you described. However, If I switch to wxPython 3, I do get this issue, I
suspect this is the problem:
http://trac.wxwidgets.org/ticket/16357

Are you completely sure you are using wxpython 2.8? Help -> About system is
a quick check. I have no idea what else it could be.

Anna

On Tue, May 19, 2015 at 1:23 PM, Michael Barton <Michael.Barton at asu.edu>
wrote:

>  I’ve been sticking with wxPython 2.8.12 until we work out v. 3.
>
>  I’d hoped to get out a new version before I leave for Europe on Friday.
> But I might have to wait until I get back at the end of June if this is
> getting complicated.
>
>  Michael
>            ____________________
>  C. Michael Barton
>  Director, Center for Social Dynamics & Complexity
>  Professor of Anthropology, School of Human Evolution & Social Change
> Head, Graduate Faculty in Complex Adaptive Systems Science
>  Arizona State University
>
>  voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
>  www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  On May 19, 2015, at 10:11 AM, Anna Petrášová <kratochanna at gmail.com>
> wrote:
>
>
>
> On Tue, May 19, 2015 at 1:05 PM, Michael Barton <Michael.Barton at asu.edu>
> wrote:
>
>> I built GRASS 7.1 with no problems
>> I launched it with no problems.
>> BUT, ran into a weird problem rendering maps
>>
>>  If I open a raster and a vector (elevations and streams from the
>> nc_spm_08 demo set) they render fine
>> If I switch to 3D, it renders fine
>> If I switch back to 2D, rendering hangs with no error messages
>>
>
>  I assume you are using wxpython 2.8, right? There have been big changes
> recently in rendering, that might be one possible source of problems. I
> will try to compile it as well and see if I have the same problem.
>
>  Anna
>
>
>>  The only thing I’ve done differently is to add the following to my
>> shell setup prior to compiling
>>
>>  export CS2CS=/Library/Frameworks/PROJ.framework/Programs/cs2cs
>> export GEOD=/Library/Frameworks/PROJ.framework/Programs/geod
>>
>>  I already use with no problem the following
>>
>>  export NAD2BIN=/Library/Frameworks/PROJ.framework/Programs/nad2bin
>>
>>  Michael
>>         ____________________
>>  C. Michael Barton
>>  Director, Center for Social Dynamics & Complexity
>>  Professor of Anthropology, School of Human Evolution & Social Change
>> Head, Graduate Faculty in Complex Adaptive Systems Science
>>  Arizona State University
>>
>>  voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
>>  www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>    On May 18, 2015, at 7:40 PM, Michael Barton <Michael.Barton at asu.edu>
>> wrote:
>>
>>  Argh. Will try again tomorrow. Thanks for letting me know.
>>
>>  Cheers
>> Michael
>>
>> Michael Barton
>> School of Human Evolution &Social Change
>> Center for Social Dynamics & Complexity
>> Arizona State University
>>
>>  ...Sent from my iPad
>>
>> On May 18, 2015, at 6:35 PM, Vaclav Petras <wenzeslaus at gmail.com> wrote:
>>
>>
>>
>> On Mon, May 18, 2015 at 6:31 PM, Michael Barton <Michael.Barton at asu.edu>
>> wrote:
>>
>>> A completely new installation compiled without error but will not launch
>>> with yet new errors.
>>>
>>>  Michael
>>>
>>>  Last login: Mon May 18 15:28:40 on ttys001
>>> cmb-imaccsdc-2:~ cmbarton$
>>> '/Applications/GRASS-7.1.app/Contents/MacOS/grass.sh'; exit
>>> Rebuilding Addon HTML manual pages index...
>>> Rebuilding Addon menu...
>>> Python 2.7.6 found.
>>> Traceback (most recent call last):
>>>   File "/Applications/GRASS-7.1.app/Contents/MacOS/grass71", line 1507,
>>> in <module>
>>>     params = parse_cmdline(sys.argv[1:])
>>>   File "/Applications/GRASS-7.1.app/Contents/MacOS/grass71", line 1424,
>>> in parse_cmdline
>>>     params.mapset = args[0]
>>> IndexError: list index out of range
>>> logout
>>>
>>>
>>  Please do svn up again. The error was there between 12:36:53 PM (6
>> hours ago) and 2:57:19 PM (4 hours ago). Sorry for the inconvenience.
>>
>> https://trac.osgeo.org/grass/changeset/65275
>> https://trac.osgeo.org/grass/changeset/65274
>>
>>
>>>  [Process completed]
>>>
>>>
>>>        ____________________
>>>  C. Michael Barton
>>>  Director, Center for Social Dynamics & Complexity
>>>  Professor of Anthropology, School of Human Evolution & Social Change
>>>  Head, Graduate Faculty in Complex Adaptive Systems Science
>>>  Arizona State University
>>>
>>>  voice:  480-965-6262 (SHESC), 480-965-8130/727-9746 (CSDC)
>>> fax: 480-965-7671 (SHESC),  480-727-0709 (CSDC)
>>>  www: http://www.public.asu.edu/~cmbarton, http://csdc.asu.edu
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>    On May 18, 2015, at 1:50 PM, Anna Petrášová <kratochanna at gmail.com>
>>> wrote:
>>>
>>>
>>>
>>> On Mon, May 18, 2015 at 4:22 PM, Michael Barton <Michael.Barton at asu.edu>
>>> wrote:
>>>
>>>> Although GRASS compiles without error, it fails on launch with the
>>>> errors listed below. This was all working a few months back. So some new
>>>> change has broken it again. Same wxgui stuff as before.
>>>>
>>>>  Michael
>>>>
>>>>    File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>> line 140, in <module>
>>>>     sys.exit(main())
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>> line 132, in main
>>>>     app = GMApp(workspaceFile)
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>> line 46, in __init__
>>>>     wx.App.__init__(self, False)
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/etc/python/wx/_core.py",
>>>> line 7981, in __init__
>>>>     self._BootstrapApp()
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/etc/python/wx/_core.py",
>>>> line 7555, in _BootstrapApp
>>>>     return _core_.PyApp__BootstrapApp(*args, **kwargs)
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/wxgui.py",
>>>> line 79, in OnInit
>>>>     from lmgr.frame import GMFrame
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/lmgr/frame.py",
>>>> line 50, in <module>
>>>>     from lmgr.layertree        import LayerTree, LMIcons
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/lmgr/layertree.py",
>>>> line 37, in <module>
>>>>     from mapdisp.frame        import MapFrame
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/mapdisp/frame.py",
>>>> line 34, in <module>
>>>>     from vdigit.toolbars    import VDigitToolbar
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/vdigit/toolbars.py",
>>>> line 30, in <module>
>>>>     from iclass.digit       import IClassVDigit
>>>>   File
>>>> "/Users/cmbarton/grass_source/grass_trunk/macosx/dist/GRASS-7.1.app/Contents/MacOS/gui/wxpython/iclass/digit.py",
>>>> line 23, in <module>
>>>>     from vdigit.wxdisplay import DisplayDriver, TYPE_AREA
>>>> ImportError: cannot import name TYPE_AREA
>>>>
>>>>
>>>  Please try again, we had this before and it was just a mistake, so
>>> hopefully nothing is broken
>>>
>>>  http://trac.osgeo.org/grass/ticket/2538
>>>
>>>  Anna
>>>
>>>>
>>>>        ____________________
>>>>  C. Michael Barton
>>>>  Director, Center for Social Dynamics & Complexity
>>>>  Professor of Anthropology, School of Human Evolution & Social Change
>>>> Head, Graduate Faculty in Complex Adaptive Systems Science
>>>>  Arizona State University
>>>>
>>>>  voice:  480-965-6262 (SHESC), 480-965-8130/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 at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> grass-dev mailing list
>>> grass-dev at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/grass-dev
>>>
>>
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-dev/attachments/20150519/f2ad567b/attachment-0001.html>


More information about the grass-dev mailing list