Git Product home page Git Product logo

adobe-packager's Issues

Missing Open Source License

Please add an Open Source license file with suggested GPL 3 or MIT license. I am aware, that this might require contacting the original author(s), but would be helpful for future contributions.

I am asking, because I am making use of the script in my own GPL 3 application which packages the ccdl script with all dependencies (python and modules) using pyinstaller and using Platypus as a script launcher. This makes it unnecessary (for the enduser) to download and install about 500 MB of dependencies. Take a look here: CC Offline Package Generator

Stuck at process completed. No sign of further prompt.

My goal is to install Adobe Acrobat DC Pro.

The problem is that ccdl.command stops at [process completed].

What I've did:

  1. Download this repository. Unpack it at the download folders.
  2. CTRL+left click the ccdl.command file.
  3. Input y to prompt of Do you want to make M1 native packages (Y/n)

The log:

Last login: Mon Jun 20 15:02:35 on ttys000
/Users/x/Downloads/adobe-packager-master/ccdl.command ; exit;
x@xs-Mac-mini ~ % /Users/x/Downloads/adobe-packager-master/ccdl.command ; exit;
python3 found!
requests found!
starting ccdl
=================================
= Adobe macOS Package Generator =
============= 0.1.4 =============

Do you want to make M1 native packages (Y/n): y
Downloading products.xml

https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macarm64,macuniversal&productType=Desktop
Parsing products.xml
Traceback (most recent call last):
  File "./ccdl.py", line 662, in <module>
    runccdl()
  File "./ccdl.py", line 369, in runccdl
    products, cdn = parse_products_xml(products_xml)
  File "./ccdl.py", line 283, in parse_products_xml
    dependencies = list(
TypeError: 'NoneType' object is not iterable

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Please add option "q" to gracefully quit script at any time

Hello @Drovosek01 thank you again for your great work.
Please, can you kindly consider adding "q" as an option, at any moment there is a user-input, to gracefully quit your script?
(provided there are no temporary files, I guess)
I think it's better to quit the running process internally via "q" at input, rather than Ctrl+C instead.
This is convenient when checking for version numbers for example, without the need to download or package anything.
Thanks for your consideration!

Just a Thank you

Hi @Drovosek01

No issue. Just a message to thank you for taking the initiative to gather up this script into a new project, and for adding an excellent readme.md. I've been tracking this script across its various iterations since it emerged via ayyybe, and it's great to see the current working version now has a good home.

Be well ...

code error 195,127 and 107

I have a mac 10.13.6 and tried to download the oldest versions of Lightroom, premier pro and photoshop and have received all of those codes. I'm not sure what I can do to solve this please help>.<

Python errors

Hi,

I installed Xcode via xcode-select --install, Installed Adobe Creative Cloud Desktop, and cloned the repository, but when I tried to run ./ccdl.command, I get the below.

python3 found!
installing requests...
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/__main__.py", line 16, in <module>
    from pip._internal import main as _main  # isort:skip # noqa
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 11, in <module>
    from pip._internal.commands import (
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 26, in <module>
    from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/index/__init__.py)
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tqdm'
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/usr/bin/pip3", line 6, in <module>
    from pip._internal import main
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/__init__.py", line 40, in <module>
    from pip._internal.cli.autocompletion import autocomplete
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/autocompletion.py", line 8, in <module>
    from pip._internal.cli.main_parser import create_main_parser
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/main_parser.py", line 11, in <module>
    from pip._internal.commands import (
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/__init__.py", line 6, in <module>
    from pip._internal.commands.completion import CompletionCommand
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/commands/completion.py", line 6, in <module>
    from pip._internal.cli.base_command import Command
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 26, in <module>
    from pip._internal.index import PackageFinder
ImportError: cannot import name 'PackageFinder' from 'pip._internal.index' (/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/site-packages/pip/_internal/index/__init__.py)
starting ccdl
Traceback (most recent call last):
  File "./ccdl.py", line 33, in <module>
    import requests
ModuleNotFoundError: No module named 'requests'

ERROR CODE 127

When i try to install ''AEFT_13.8.1-en_US-osx10-64'' i get ''Failed with error code 127''

Error happen when trying to download Photoshop and Illustrator

However, it doesn't happen when I download Premiere Pro and After Effect through the script.

Traceback (most recent call last):
  File "./ccdl.py", line 615, in <module>
    runccdl()
  File "./ccdl.py", line 551, in runccdl
    if ((not pkg.get('Condition')) or installLanguage in pkg['Condition'] or oslang in pkg['Condition']):
TypeError: 'in <string>' requires string as left operand, not NoneType

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

No module named 'requests'

When attempting to run the packager, I get the following issue:

Traceback (most recent call last):
File "./ccdl.py", line 33, in
import requests
ModuleNotFoundError: No module named 'requests'
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

I have tried manually installing the 'requests' module from here, but this doesn't seem to have had any effect.

code errors

Hi I followed all the instructions to my ability and when I try to open the installer I'm having code error 195 what can I do to fix this IM ALSO GETTING 107 AND 103 when I tried tor reinstall older version because I thought that was my issue please help >.<I think it may be helpful to add that I am on a mac.13.6 but I downloaded the earlierst version I could

Error when run ccdl.py

I get some error 'no such file or directory'

python3 ./ccdl.py     
=================================
= Adobe macOS Package Generator =
============= 0.1.4 =============

Do you want to make M1 native packages (Y/n): 
Downloading products.xml

https://cdn-ffc.oobesaas.adobe.com/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://cdn-ffc.oobesaas.adobe.com/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://cdn-ffc.oobesaas.adobe.com/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macarm64,macuniversal&productType=Desktop
Parsing products.xml
CDN: https://ccmdls.adobe.com
Note: If the Adobe program is not listed here, there is no native M1 version.
      Use the non native version with Rosetta 2 until an M1 version is avaliable.
23 products found:

[AEFTBETA] After Effects (Beta)
[AICY] InCopy
[AME] Media Encoder
[AMEBETA] Media Encoder (Beta)
[AUDT] Audition
[AUDTBETA] Audition (Beta)
[CHAR] Character Animator
[CHARBETA] Character Animator (Beta)
[DRWV] Dreamweaver
[IDSN] InDesign
[IDSNBETA] InDesign (Beta)
[ILST] Illustrator
[LRCC] Lightroom
[LTRM] Lightroom Classic
[PHSP] Photoshop
[PHSPBETA] Photoshop (Beta)
[PPRO] Premiere Pro
[PPROBETA] Premiere Pro (Beta)
[RUSH] Premiere Rush
[RUSHBETA] Premiere Rush (Beta)
[SPRK] XD
[SPRKBE] XD (Beta)
[UXPD] UXP Developer Tools

Please enter the SAP Code of the desired product (eg. PHSP for Photoshop): ILST

Illustrator Platform: macuniversal - 25.3.1
Illustrator Platform: macuniversal - 25.4.1
Illustrator Platform: macuniversal - 26.0
Illustrator Platform: macuniversal - 26.0.1

Please enter the desired version. Nothing for 26.0.1: 

Available languages: en_US, en_GB, en_IL, en_AE, es_ES, es_MX, pt_BR, fr_FR, fr_CA, fr_MA, it_IT, de_DE, nl_NL, ru_RU, uk_UA, zh_TW, zh_CN, ja_JP, ko_KR, pl_PL, hu_HU, cs_CZ, tr_TR, sv_SE, nb_NO, fi_FI, da_DK, ALL

Please enter the desired install language, or nothing for [ru_RU]: 

Please navigate to the desired downloads folder, or cancel to abort.

sapCode: ILST
version: 26.0.1
installLanguage: ru_RU
dest: /Users/int-0x03/Documents/Install ILST_26.0.1-ru_RU-macuniversal.app
[{'sapCode': 'ILST', 'version': '26.0.1', 'buildGuid': '03160a31-1d2f-4b73-bc82-cceaaab8cf7a'}, {'sapCode': 'COCM', 'version': '1.0', 'buildGuid': '3fc3cb53-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COSY', 'version': '2.4.1', 'buildGuid': '3fcf9f00-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORG', 'version': '1.0', 'buildGuid': '3fc3cf0a-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORE', 'version': '1.0', 'buildGuid': '3fc3d387-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CCXP', 'version': '2.2.1', 'buildGuid': '3fdc5e2b-c3fa-11e9-b9c5-12148b63a89a'}]

Creating Install ILST_26.0.1-ru_RU-macuniversal.app
.: replacing existing signature
Traceback (most recent call last):
  File "./ccdl.py", line 634, in <module>
    runccdl()
  File "./ccdl.py", line 522, in runccdl
    shutil.copyfile(icon_path, os.path.join(install_app_path,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/shutil.py", line 264, in copyfile
    with open(src, 'rb') as fsrc, open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '/Library/Application Support/Adobe/Adobe Desktop Common/HDBox/Install.app/Contents/Resources/CreativeCloudInstaller.icns'

could not detect lanuage

Please enter the your OS Language, or nothing for [en_US]:
 Could not detect your default Language for MacOS.

even if I enter the language manually it shows the same error

Error Code 146

I have sucessfully installed Install PHSP_22.4.2-en_US-macarm64 but when ive tried to Install AEFT_18.0-en_US-osx10-64 on both rosetta and not gives me this error I have check other versions of AEFX and having the same issue my MacOs version is Venture 13.0.1

tqdm not detcted even though installed

Hello :)
Im trying to run your program, but it got stuck:

adobe-packager|master ⇒ pip install tqdm
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
adobe-packager|master ⇒ pip3 install tqdm
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
adobe-packager|master ⇒ /Applications/Adobe\ Packager.command
python3 found!
requests found!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tqdm'
Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
starting ccdl
Trying to Install required module: tqdm

Requirement already satisfied: tqdm in /Users/x/Library/Python/3.8/lib/python/site-packages (4.62.3)
You need tqdm!
                install it from http://pypi.python.org/pypi/tqdm
                or run: pip3 install tqdm.

Am i doing something wrong here? Python3 is installed via brew, maybe thats the issue?

Failed with error code 182

Download AEFT 23.1 on mac M1 native and it always fails with error 182. My native os language is english canada but using en_US for both or en_GB doesnt work. I reinstalled cc but no solution

TypeError: 'in <string>' requires string as left operand, not NoneType

[PHSP_22.5] Parsing available packages
Traceback (most recent call last):
File "/Users/mike/Downloads/adobe-packager/./ccdl.py", line 615, in
runccdl()
File "/Users/mike/Downloads/adobe-packager/./ccdl.py", line 551, in runccdl
if ((not pkg.get('Condition')) or installLanguage in pkg['Condition'] or oslang in pkg['Condition']):
TypeError: 'in ' requires string as left operand, not NoneType

Any idea what this is?

openssl error

getting an error on trying to execute of ssl version, openssl 1.1.1 is deprecated

Traceback (most recent call last):
File "/Users/andyzeo/adobe-packager/./ccdl.py", line 39, in
import requests
File "/Users/andyzeo/Library/Python/3.9/lib/python/site-packages/requests/init.py", line 43, in
import urllib3
File "/Users/andyzeo/Library/Python/3.9/lib/python/site-packages/urllib3/init.py", line 38, in
raise ImportError(
ImportError: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with LibreSSL 2.8.3. See: urllib3/urllib3#2168

Requirement already satisfied: tqdm... You need tqdm!

when running the command file it returns this

requests found!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'tqdm'
Requirement already satisfied: tqdm in ./Library/Python/3.9/lib/python/site-packages (4.62.3)
starting ccdl
Trying to Install required module: tqdm

Requirement already satisfied: tqdm in /Users/x/Library/Python/3.9/lib/python/site-packages (4.62.3)
You need tqdm!
                install it from http://pypi.python.org/pypi/tqdm
                or run: pip3 install tqdm.

[Process completed]

tqdm should already be installed and it tells me this when I pip3 install tqdm.
sorry I am not very advanced but having trouble here!

How to install .app silently

Is there any way to automate the installation of the .app's this script downloads? It runs the binary 'applet' in Contents/MacOS/applet but this presents a pop-up "Adobe Package Installer, start the installation now?" (Cancel/Install buttons). This pop-up occurs even if the applet binary is ran from command line. Applet apparently doesn't have any --help or --mode=silent options. Is there a way to install them silently?

Issue when installing the apps

When I try to install a downloaded app it says the following error:

Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

Adobe InDesign damaged and can't be opened

A pop up window shows up when I open Indesign saying "“Adobe InDesign 2020” is damaged and can’t be opened. You should move it to the Bin.".

How can I resolve this issue?

URL are blocked

All the URL are blocked means the process just can continue. tested in Intel and Silicon.

No After Effects before version 22.1.1

I wanted to use ae 2021, but the previous version just aren’t available. I’m not sure why but please fix this thank you so much

EDIT: Removed Piracy

Failed with error code 103 - json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Creating Install PHSP_22.5.1-es_ES-macarm64.app on MacBookPro18,2
When running the installer it raises "Failed with error code 103"
Looking back to the terminal window where the file was created one can read:

`
sapCode: PHSP
version: 22.5.1
installLanguage: es_ES
dest: /Users/romar/Downloads/Install PHSP_22.5.1-es_ES-macarm64.app
[{'sapCode': 'PHSP', 'version': '22.5.1', 'buildGuid': '55a47fbd-a836-4fd3-995d-33d2d277b29b'}, {'sapCode': 'ACR', 'version': '9.6', 'buildGuid': '3fc409fc-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COCM', 'version': '1.0', 'buildGuid': '3fc3cb53-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COSY', 'version': '2.4.1', 'buildGuid': '3fcf9f00-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORG', 'version': '1.0', 'buildGuid': '3fc3cf0a-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'CORE', 'version': '1.0', 'buildGuid': '3fc3d387-c3fa-11e9-b9c5-12148b63a89a'}, {'sapCode': 'COPS', 'version': '1.0', 'buildGuid': '3fc3df37-c3fa-11e9-b9c5-12148b63a89a'}]

Creating Install PHSP_22.5.1-es_ES-macarm64.app
.: replacing existing signature

Preparing...

[PHSP_22.5.1] Downloading application.json
[PHSP_22.5.1] Creating folder for product
[PHSP_22.5.1] Saving application.json

[ACR_9.6] Downloading application.json
Traceback (most recent call last):
File "./ccdl.py", line 655, in
runccdl()
File "./ccdl.py", line 546, in runccdl
app_json = get_application_json(p['buildGuid'])
File "./ccdl.py", line 321, in get_application_json
return json.loads(r(ADOBE_APPLICATION_JSON_URL, headers))
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/init.py", line 357, in loads
return _default_decoder.decode(s)
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Proceso completado]
`

Any thoughts?

0.1.4 doesn't support downloading new Adobe Substance tools

Based on looking somewhere else, the earlier script 0.1.2-hotfix1 does support downloading and detecting Adobe Substance tools. However. It doesn't ask you to create an M1 package at the start.

Meanwhile the latest version 0.1.4 does support asking and presumably creating M1 packages, it's just it doesn't know how to display and obtain Adobe Substance tools.

Screen Shot 2021-09-14 at 11 27 16 AM

Screen Shot 2021-09-14 at 11 27 41 AM

This is where the earlier version of the script lives on.

/bin/bash -c "$(curl -fsSL https://gist.githubusercontent.com/ayyybe/a5f01c6f40020f9a7bc4939beeb2df1d/raw/install.sh)" to execute.

Please investigate, why this one was able to show the Substance tools, unlike your newer script.
Can you guys fix this soon? Pretty sure this is just a quick fix.

  • Support displaying and downloading Adobe Substance tools
  • Support creating M1 packages for Adobe Substance tools.

Thanks

osacompile: no such component "JavaScript".

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)

Suddenly started getting a network error out of nowhere

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 438, in _error_catcher
yield
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 519, in read
data = self._fp.read(amt) if not fp_closed else b""
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 462, in read
n = self.readinto(b)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/http/client.py", line 506, in readinto
n = self.fp.readinto(b)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1241, in recv_into
return self.read(nbytes, buffer)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ssl.py", line 1099, in read
return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 54] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 753, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 576, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 541, in read
raise IncompleteRead(self._fp_bytes_read, self.length_remaining)
File "/usr/local/Cellar/[email protected]/3.9.7_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/contextlib.py", line 137, in exit
self.gen.throw(typ, value, traceback)
File "/usr/local/lib/python3.9/site-packages/urllib3/response.py", line 455, in _error_catcher
raise ProtocolError("Connection broken: %r" % e, e)
urllib3.exceptions.ProtocolError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/Users/yes/Documents/adobe-packager/./ccdl.py", line 634, in
runccdl()
File "/Users/yes/Documents/adobe-packager/./ccdl.py", line 589, in runccdl
for data in response.iter_content(block_size):
File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 756, in generate
raise ChunkedEncodingError(e)
requests.exceptions.ChunkedEncodingError: ("Connection broken: ConnectionResetError(54, 'Connection reset by peer')", ConnectionResetError(54, 'Connection reset by peer'))
44%|████████████████▊ | 785M/1.77G [00:31<00:39, 24.7MiB/s]

Saving session...completed.

[Process completed]

error 182 while installing

For those of you getting an error 182 while trying to install, check the log file. Open terminal, and type:

sudo nano /Library/Logs/Adobe/Installers/Install.log

go to the end of the file and check for errors. I had downloaded the en_US file but somehow the installer was trying to install pt_BR which is my default OS language. I then downloaded the pt_BR and it worked. I also copied the missing file inside the en_US Contents, like the log said, and it installed both en_US and pt_BR versions.

Error 182 when trying to install a package

I was using adobe packager to download the latest versions of PS and AI, but the installation always aborts with the error 182. The log files say that the files for en_US are missing although I downloaded the de_DE version (my Mac only uses German language). When I create another package with the en_US language files and then copy them to the de_DE package the installation works flawless. Could you maybe add an option to always include the en_US language files even if another language is selected? IT would make the whole process a little easier and faster. Thanks in advance!

Edit: Just had another look at the contents of the packages. The installers for en_US also included the de_DE files, but not vice verso. Is there a reason for that?

Failed to launch task: Bad CPU type in executable

  • I don't have Rosetta2 installed.
  • I chose to make native M1 packages
  • I generated Install PHSP_23.3.2-en_GB-macuniversal

When I run the installer:

  1. prompt to start install
  2. prompt for password
  3. error "Failed to launch task: The operation couldn’t be completed. Bad CPU type in executable"

This is surprising as it implies some part of the installer is Intel only.

Screenshot

Screen shot 2022-06-09 at 17 00 16

runccdl error

python3 found!
requests found!
starting ccdl

= Adobe macOS Package Generator =
============= 0.1.4 =============

Do you want to make M1 native packages (Y/n): Y
Downloading products.xml

https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macuniversal,osx10-64,osx10&productType=Desktop
Source URL is: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?_type=xml&channel=ccm,sti&platform=macarm64,macuniversal&productType=Desktop
Parsing products.xml
Traceback (most recent call last):
File "/Users/Downloads/adobe-packager-master 2/./ccdl.py", line 662, in
runccdl()
File "/Users/Downloads/adobe-packager-master 2/./ccdl.py", line 369, in runccdl
products, cdn = parse_products_xml(products_xml)
File "/Users/Downloads/adobe-packager-master 2/./ccdl.py", line 283, in parse_products_xml
dependencies = list(
TypeError: 'NoneType' object is not iterable

Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)

Hello,

First I'd like to thank you for sharing this impressive solution.

I managed to install Illustrator/Photoshop but I deleted my first install of Illustrator, switched the language of my computer to english and tried the install again. The outcome is I get "Error: SyntaxError: JSON Parse error: Unexpected EOF (-2700)". And I put the language back on french after a reboot.

I deleted the creative cloud, every files linked with Illustrator and tried again, nothing works. I'm still able to install other products..

Thanks for you help!

Cheers

Downloading an M1 installer packages it for Intel

When downloading it asks if you want to make an app native for M1. I selected Yes and chose Photoshop. Once done, the installer was called: Install PHSP_22.4.2-en_US-macarm64.

When I opened the installer I was prompted to install Rosetta 2 which I declined because I don't want to run Rosetta 2 on this machine.

On inspection of the application it was listed as for Intel Mac's.

It seems the M1 native package doesn't actually create an M1 native installer.

ValueError: unknown locale: UTF-8

Please enter the desired version. Nothing for 23.4.1: 23.4

Traceback (most recent call last):
File "./ccdl.py", line 662, in
runccdl()
File "./ccdl.py", line 449, in runccdl
deflocal = locale.getdefaultlocale()
File "/Users/knucklehead/.pyenv/versions/3.6.8/lib/python3.6/locale.py", line 562, in getdefaultlocale
return _parse_localename(localename)
File "/Users/knucklehead/.pyenv/versions/3.6.8/lib/python3.6/locale.py", line 490, in _parse_localename
raise ValueError('unknown locale: %s' % localename)
ValueError: unknown locale: UTF-8

On OS 12.4

Screenshot 2022-06-28 at 14 34 56

Error running the script

Getting below error while running the script on MacBook Pro M1 (Monterey):

Please enter the desired version. Nothing for 11.0: 10.4

Available languages: en_US, en_GB, en_IL, en_AE, es_ES, es_MX, pt_BR, fr_FR, fr_CA, fr_MA, it_IT, de_DE, nl_NL, ru_RU, uk_UA, zh_TW, zh_CN, ja_JP, ko_KR, pl_PL, hu_HU, cs_CZ, tr_TR, sv_SE, nb_NO, fi_FI, da_DK

Please enter the desired install language, or nothing for [en_US]: 

Please navigate to the desired downloads folder, or cancel to abort.
70:83: execution error: Terminal got an error: Application isn’t running. (-600)
Exiting...

Terminal Log Says:

WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000378900 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000378900 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000378900 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000379740 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x60000037a400 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
WARN: Failed to remove file. Error: Error Domain=NSCocoaErrorDomain Code=4 "“.adobeTemp” couldn’t be removed." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/System/Volumes/Data/.adobeTemp, NSUnderlyingError=0x600000374150 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
-------------------------------------------------------------------------------------

11/03/21 17:16:56:188 | [WARN] | 2398 | HDSetup | OOBEUtils | CommBridge |  | OOBEUtils | 86628 | 0 | Error in reading packet info from the pipe 10, errno = 9
11/03/21 17:16:56:189 | [INFO] | 2398 | HDSetup | HDSetup | AppContext |  | HDSetup | 86617 | 0 | *************************  END Adobe Setup  *************************

Adobe Premire 22.3

When i use script to download premire pro 22.3 and choose en_US the script download all languages
and the file become very big
hope to solve this issue

Resume Downloads

Often a package will hang while downloading. I have left the script running overnight, but the progress will never continue. When this happens the download has not stopped - for example, the current package has hung and the speed is stuck a
ts 4.55MiB/s, not 0MiB/s.

The only way to fix this is to kill the script and start over, but the downloads start from the beginning. Is would it be possible to resume a failed download?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.