Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osascript error for 32-bit #27

Open
cameronoxley opened this issue May 31, 2014 · 3 comments
Open

osascript error for 32-bit #27

cameronoxley opened this issue May 31, 2014 · 3 comments

Comments

@cameronoxley
Copy link

When running ./ttygif myrecording

I get the following error:

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

Seems to be related to Photoshop dependencies

Related Link: (Unit type conversion error)[http://helpx.adobe.com/photoshop/kb/unit-type-conversion-error-applescript.html]

screen shot 2014-05-31 at 2 48 55 pm

@cameronoxley
Copy link
Author

After changing osascript to "arch -i386 osascriptxx" (as suggested by adobe) in ttygif_osx.c

I got this error: arch: posix_spawnp: osascript: Bad CPU type in executable

@cameronoxley
Copy link
Author

Deleting the Adobe unit types file will fix the problem.

cd '/Library/ScriptingAdditions/' \ 
sudo tar cjf Adobe\ Unit\ Types.tar.bz2 Adobe\ Unit\ Types.osax \ 
sudo rm -rf 'Adobe\ Unit\ Types.osax' && sudo ln -s /dev/null ./Adobe\ Unit\ Types.osax 

However, this will break Photoshop...

@icholy
Copy link
Owner

icholy commented Jun 2, 2014

I don't have a mac to test this out on. I guess I'll just leave this open in case anyone else runs into this issue.

@icholy icholy added the bug label Jul 7, 2017
@icholy icholy added the osx label Sep 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants