Drovosek01 / adobe-packager

Script that allows to download portable installers of different versions Adobe software for macOS
1.08k stars 109 forks source link

osacompile: no such component "JavaScript". #49

Open gemp opened 1 year ago

gemp commented 1 year ago

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)