osacompile: no such component "JavaScript".
gemp opened this issue · 0 comments
gemp commented
Had this bug when I launched ccdl.command
after indicating my choices, at the time it tried to download:
Creating Install PHSP_22.5.1-en_US-osx10-64.app
osacompile: no such component "JavaScript".
Traceback (most recent call last):
File "./ccdl.py", line 665, in <module>
runccdl()
File "./ccdl.py", line 542, in runccdl
shutil.copyfile(icon_path, os.path.join(install_app_path,
File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/shutil.py", line 261, in copyfile
with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/Users/gemp/Downloads/Install PHSP_22.5.1-en_US-osx10-64.app/Contents/Resources/applet.icns'
logout
Solved it by deleting ~/Library/Components/Script Debugger.component
(source)