Closed blackthroat closed 6 years ago
Further to a conversation in slack I see the same issue. Tested for all apps in CCP. Happy to any further testing as required.
I get the productNotFound for the following: XD Acrobat Fuse SpeedGrade Fireworks Flash Builder Gaming SDK Extension Manager Extendscript Toolkit Scout the other 18 apps build with no errors, en_GB with adminPrivileges, appsPanel, updates set to false
<key>ccpinfo</key>
<dict>
<key>Language</key>
<string>en_GB</string>
<key>Products</key>
<array>
<dict>
<key>baseVersion</key>
<string></string>
<key>sapCode</key>
<string>APRO</string>
<key>version</key>
<string>latest</string>
</dict>
</array>
<key>adminPrivilegesEnabled</key>
<false/>
<key>appsPanelEnabled</key>
<false/>
<key>customerType</key>
<string>team</string>
<key>matchOSLanguage</key>
<true/>
<key>organizationName</key>
<string>ISO</string>
<key>rumEnabled</key>
<true/>
<key>updatesEnabled</key>
<false/>
</dict>
I checked the AutoPkg cache for my Acrobat Pro recipe (ccp_automation_AcrobatPro.xml) and found the following in the Products section:
<Products>
<Product>
<sapCode>APRO</sapCode>
<version/>
</Product>
</Products>
It appears that the code that generates the automation XML isn't creating the version tag correctly.
Same issue here with Adobe XD
Autopkg override looks like:
<key>Products</key>
<array>
<dict>
<key>baseVersion</key>
<string>1.0.12</string>
<key>sapCode</key>
<string>SPRK</string>
<key>version</key>
<string>latest</string>
</dict>
</array>
The ganeratet XML file looks like:
<?xml version="1.0" encoding="utf8"?>
<CCPPackage>
<CreatePackage>
<ProductCategory>Custom</ProductCategory>
<Language>
<id>de_DE</id>
</Language>
<matchOSLanguage>true</matchOSLanguage>
<organizationName>Some ORG</organizationName>
<IncludeUpdates>false</IncludeUpdates>
<packageName>AdobeXDCC</packageName>
<updatesEnabled>false</updatesEnabled>
<is64Bit>true</is64Bit>
<appsPanelEnabled>false</appsPanelEnabled>
<adminPrivilegesEnabled>false</adminPrivilegesEnabled>
<rumEnabled>true</rumEnabled>
<outputLocation>/Users/Shared/Jenkins/Library/AutoPkg/Cache/local.munki.AdobeXDCC</outputLocation>
<customerType>team</customerType>
<packaging_job_id>c2fd6e33-a052-452d-b22f-f0d77ceddabb</packaging_job_id>
<Products>
<Product>
<sapCode>SPRK</sapCode>
<version>1.0.12</version>
</Product>
</Products>
</CreatePackage>
</CCPPackage>
The Version in the XML should be the latest "8.1.22" and not 1.0.12
I saw this error, too, for packages that have no baseVersion
in the feed. As far as I can tell, I need to have:
<key>baseVersion</key>
<string></string>
(ie, no baseVersion) in my recipe for these, otherwise autopkg can't find them in the feed; however, that recipe then produces the automation_xml that @csteelatgburg quotes:
<Product>
<sapCode>APRO</sapCode>
<version/>
</Product>
Which CCP definitely doesn't like. Looking at how it's generated, it makes sense that no baseVersion
in the recipe leads to no version
in the xml:
I was able to get Acrobat and Scout and (I think) a few others with no baseVersion to package properly by changing that line to:
ver.text = prod['baseVersion'] or self.env['version']
Since self.env['version']
contains the version that was pulled from the feed, I think this is doing what we would want, though I may be misunderstanding things.
By modifying CreativeCloudPackager.py as you suggested @gkluoe and removing the baseVersion in my override, I was able to get XD and to package 10.0.12 just now. I also just kicked off all my other Adobe overrides and didn't seem to have any recipe errors. Sweet.
@daveweale, @csteelatgburg, @jannheider - Can you try out the proposed fix?
@gkluoe can you PR?
@blackthroat Sorry for the delay in here.
Yes this works, just tried with Adobe XD.
Thanks everyone. I'm closing this issue as a PR has been created (https://github.com/autopkg/adobe-ccp-recipes/pull/21) and because
You cannot use Creative Cloud Packager to create packages that include CC 2019 apps or later.
See https://helpx.adobe.com/enterprise/kb/apps-not-available-in-ccp.html and https://macmule.com/2018/10/15/adobe-creative-cloud-2019-the-death-of-creative-cloud-packager-device-licensing/
Running CCP 1.14. Other recipes that I use (AE, Animate, Dreamweaver, Illustrator, etc...) are fine except for XD and Acrobat Pro.
Warning and error snippets from PDApp.log