[GRASS-user] Mac 6.4.1-3 Update Problems

Dave Kent dkent at sasktel.net
Sun Jun 12 23:05:35 EDT 2011


I removed all the frameworks as per instructions in the packages including all the components in GDAL complete and for good measure GSL. 

Reinstalled all.

Grass 6.4.1-4 now works.

Note:  When I executed
  sudo pkgutil --forget com.kyngchaos.UnixImageIO-D-framework-snow

return was:

   No receipt for 'com.kyngchaos.UnixImageIO-D-framework-snow' found at '/'.

which was different than the others where it returned for example:

  Forgot package 'org.gdal.gdal18-resources' on '/'.

Might this have been a concern?

Dave


On 2011-06-02, at 10:00 PM, William Kyngesburye wrote:

> On Jun 2, 2011, at 9:47 PM, Dave Kent wrote:
> 
>> Thank you.
>> 
>> I tried new build 6.4.1-4.  The same error persisted.
>> 
> I'll dig around some more.  There may be something hidden in my development environment that is making it work for me and not making it into the installer.  Though it does work on my clean mac.
> 
>> 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.6.1 is the Apple-installed python.  2.6.4 can only be from python.org that you installed.  2.6.1 should work - I don't have python.org python installed, so everything is compiled from and runs (for me) on the system 2.6.1.
> 
>> 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?
>> 
> This would be a python.org python problem - my NumPy installer only installs into the system site-packages folder, so python.org doesn't see it.  You would have to install numpy from the numpy site, they have a binary for the python.org python.
> 
> 
>> 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?
>> 
> It was decided that the digitizer (and wxnviz/3D view) had too many problems yet (especially on windows), so it was disabled.
> 
>> 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
>>> 
>>> 
>> 
>> _______________________________________________
>> grass-user mailing list
>> grass-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/grass-user
> 
> -----
> 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
> 
> 



More information about the grass-user mailing list