[GRASS-dev] animations on Mac problem

Helena Mitasova hmitaso at ncsu.edu
Thu Jan 31 09:12:26 PST 2013


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
hmitaso at 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 <hmitaso at ncsu.edu> 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
>> hmitaso at 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 <lucadeluge at gmail.com> wrote:
>>>> 2013/1/31 Thomas Adams - NOAA Federal <thomas.adams at noaa.gov>:
>>>>> 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 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
>> 



More information about the grass-dev mailing list