[GRASS-user] Mac 6.4.1-3 Update Problems

Dave Kent dkent at sasktel.net
Thu Jun 2 22:47:34 EDT 2011


Thank you.

I tried new build 6.4.1-4.  The same error persisted.

I then installed 6.4.1-4 on a second computer at home (upgraded from 6.4.1RC1.)

This works well.

Three questions:

1) Home computer (working) shows Python 2.6.4.  Problem computer shows Python 2.6.1.  Is this a concern?

2) On home computer, (working) I installed NumPy from GDAL  Complete framework.  But start screen says:

GRASS 6.4.1 (xxxxxxx):~ > g.gui wxpython
profile.py: This module requires the NumPy module, which could not be imported. It probably is not installed (it's not part of the standard Python distribution). See the Numeric Python site (http://numpy.scipy.org) for information on downloading source or binaries.

Is this a Python version issue; Do I need to update from python.org?

3)  Unrelated question.  On 6.4.1RC1 the wxpython digitizing feature worked.  Not so on 6.4.1-4.   Is this intended or am I missing something?

Thanks again for help.

Dave



On 2011-06-01, at 8:19 AM, William Kyngesburye wrote:

> That's been a very frustrating one.  Some builds work for me (this does) and not for others, other builds don't work for me and do for others.  Some all OK, some not.
> 
> But it does seem to be connected to libpng (which is in my UnixImageIO framework).  I did forget to update the wxPython part of my GRASS distribution to use the new UnixImageIO, so that may be the problem for you (though you'd probably get a more fundamental error if that was the case).  I'll have a new package online soon.
> 
> On Jun 1, 2011, at 1:01 AM, Dave Kent wrote:
> 
>> I updated today to Mr. Kyngesburye's most recent binaries.  
>> 
>> I updated the revised frameworks (GDAL complete 1.8, FreeType and Cairo) and then the application 6.4.1-3 (SnowLeopard) as per website.
>> 
>> I get the following error when launching wxpython.  On start up Grass asks for mapset then provides following:
>> 
>> 
>> GRASS 6.4.1 > Traceback (most recent call last):
>> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1611, in <module>
>>   sys.exit(main())
>> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1604, in main
>>   app = GMApp(workspaceFile)
>> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1514, in __init__
>>   wx.App.__init__(self, False)
>> File "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7981, in __init__
>> File "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 7555, in _BootstrapApp
>> File "/Applications/GRASS-6.4.app/Contents/MacOS/etc/wxpython/wxgui.py", line 1528, in OnInit
>>   introBmp       = introImage.ConvertToBitmap()
>> File "/Users/Shared/unix/wxpython-snow/lib/python2.6/site-packages/wx-2.8-mac-unicode/wx/_core.py", line 3369, in ConvertToBitmap
>> wx._core.PyAssertionError: C++ assertion "image.Ok()" failed at ../src/mac/carbon/bitmap.cpp(1286) in wxBitmap(): invalid image
>> 
>> I am using most recent snow Leopard and the snow Leopard binaries.
>> 
>> tcltk works.  
>> 
>> 
>> 
>> Have I missed something?
>> 
>> Thanks
>> Dave
> 
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
> 
> Earth: "Mostly harmless"
> 
> - revised entry in the HitchHiker's Guide to the Galaxy
> 
> 



More information about the grass-user mailing list