[GRASS-dev] GRASS for Mac problem
William Kyngesburye
woklist at kyngchaos.com
Mon Sep 27 15:33:58 EDT 2010
On Sep 27, 2010, at 2:13 PM, Michael Barton wrote:
> '/Users/kierstincatlett/Desktop/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
> macintosh-159:~ kierstincatlett$ '/Users/kierstincatlett/Desktop/GRASS-7.0.app/Contents/MacOS/grass.sh'; exit
> Rebuilding Addon HTML manual pages index...
> Rebuilding Addon menu...
> 2010-09-16 10:10:54.809 osascript[5254:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
> /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
> osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
> Python 2.6.1 found.
> Cleaning up temporary files...
> Traceback (most recent call last):
> File "/Users/kierstincatlett/Desktop/GRASS-7.0.app/Contents/MacOS/grass70", line 938, in <module>
> clean_temp()
> File "/Users/kierstincatlett/Desktop/GRASS-7.0.app/Contents/MacOS/grass70", line 799, in clean_temp
> call([gfile("etc", "clean_temp")], stdout = nul, stderr = nul)
> File "/Users/kierstincatlett/Desktop/GRASS-7.0.app/Contents/MacOS/grass70", line 105, in call
> return subprocess.call(cmd, **kwargs)
> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 444, in call
> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 595, in __init__
> File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/subprocess.py", line 1106, in _execute_child
> OSError: [Errno 2] No such file or directory
> logout
>
> [Process completed]
>
> grass etc/clean_temp? My last 7.0 build from June has this.
>
> clean_temp() is a method defined in grass70. It uses another method in grass70, call()
>
> call() is just a shortcut to subprocess.call(), which is standard python syntax, with some options for windows user.
>
> The error that subprocess.call() does not exist is bogus, since Kirsten has the standard Python 2.5.1 and 2.6 installations that come with Mac OS X 10.6. GRASS 6.4 works fine for her with the wxpython interface. So it isn't a corruption of her python installation.
>
> But I can't figure out what is generating this error.
>
Right. clean_temp(), the function, is using call() to run etc/clean_temp, the program. clean_temp, the program, is what I think it's complaining that it can't find.
-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/
"I ache, therefore I am. Or in my case - I am, therefore I ache."
- Marvin
More information about the grass-dev
mailing list