[GRASS-user] error message from GRASS 7 on mac os

Raphael.Viscarra-Rossel at csiro.au Raphael.Viscarra-Rossel at csiro.au
Sun Mar 18 08:13:36 EDT 2012


Hello
thank you for the responses and hints...however, I am confused....how do I use CallAfter?
I did install PILL yes, but no fix. 
R.


Message: 1
Date: Sat, 17 Mar 2012 15:23:45 +0100
From: Anna Kratochv?lov? <kratochanna at gmail.com>
Subject: Re: [GRASS-user] error message from GRASS 7 on mac os
To: Markus Neteler <neteler at osgeo.org>
Cc: grass-user at lists.osgeo.org, Raphael.Viscarra-Rossel at csiro.au
Message-ID:
        <CAE0EDEo4=t1QcO8STRgBquqp7r00L4e+yJ_r7qLNMAnzk5tp_A at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Sat, Mar 17, 2012 at 7:48 AM, Markus Neteler <neteler at osgeo.org> wrote:
> On Sat, Mar 17, 2012 at 6:04 AM, ?<Raphael.Viscarra-Rossel at csiro.au> wrote:
>> Hi,
>>
>> sorry for the omission of a descriptive subject line in my previous message.
>
> (Please also remove irrelevant pieces from the message, especially when
> receiving in digest mode, thanks)
>
>> I have recently upgraded to GRASS 7 (from 6.4) in my mac running snow leopard 10.6.8.
>> All frameworks updated. ?The software starts fine...and so far appears to work OK but for some error messages in the terminal window:
>>
>> Launching <wxpython> GUI in the background, please wait...
>> GRASS 7.0.svn (proj1):~ > Fri Mar 16 08:48:08 raw.local pythonw2.6[618] <Error>: CGContextRestoreGState: invalid context 0x0
>> Fri Mar 16 08:48:08 raw2-bu.local pythonw2.6[618] <Error>: CGContextRestoreGState: invalid context 0x0
>> Fri Mar 16 08:48:08 raw2-bu.local pythonw2.6[618] <Error>: CGContextRestoreGState: invalid context 0x0
>> Fri Mar 16 08:48:08 raw2-bu.local pythonw2.6[618] <Error>: CGContextRestoreGState: invalid context 0x0
>> Fri Mar 16 08:48:08 raw2-bu.local pythonw2.6[618] <Error>: CGContextRestoreGState: invalid context 0x0
>>
>> Also, previews in cartographic composer that need python imaging library is not working - related to the above?
>>
>> I searched for other's experience with this and found some, but not solutions. Any help to fix this will be apprecaited.
>
> @devs: I wonder if the hint in
> http://trac.wxwidgets.org/ticket/4272
>
> would help which suggests the usage of wx.CallAfter
> (http://wiki.wxpython.org/CallAfter)

Hi,

I added CallAfter as suggested (r51089), let's see if it helps.

Anna

>
> Markus
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


------------------------------

Message: 2
Date: Sat, 17 Mar 2012 15:26:21 +0100
From: Anna Kratochv?lov? <kratochanna at gmail.com>
Subject: Re: [GRASS-user] error message from GRASS 7 on mac os
To: William Kyngesburye <kyngchaos at kyngchaos.com>
Cc: grass-user at lists.osgeo.org, "<Raphael.Viscarra-Rossel at csiro.au>"
        <Raphael.Viscarra-Rossel at csiro.au>
Message-ID:
        <CAE0EDEq7boPz5c2AcrL4L7Lm=ZLwYD_uUfMkZj=ZaoNbOHTJNw at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi,

On Sat, Mar 17, 2012 at 3:06 PM, William Kyngesburye
<woklist at kyngchaos.com> wrote:
> On Mar 17, 2012, at 12:04 AM, <Raphael.Viscarra-Rossel at csiro.au> <Raphael.Viscarra-Rossel at csiro.au> wrote:
>
>> Also, previews in cartographic composer that need python imaging library is not working - related to the above?
>>
> Did you install PIL? ?It's a separate package to install (I have one on my Python page). ?I didn't realize PIL was used in the GUI now. ?I'll add it to the list of requirements.

PIL is required because wxPython is not able to display PostScript
file which is the product of underlying module ps.map.

Anna

>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> First Pogril: Why is life like sticking your head in a bucket filled with hyena offal?
> Second Pogril: I don't know. ?Why IS life like sticking your head in a bucket filled with hyena offal?
> First Pogril: I don't know either. ?Wretched, isn't it?
>
> -HitchHiker's Guide to the Galaxy
>
>
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user


More information about the grass-user mailing list