autopkg / adobe-ccp-recipes

Autopkg recipes for Creative Cloud Packager workflows
23 stars 6 forks source link

productNotFound for Adobe XD and Acrobat Pro #15

Closed blackthroat closed 6 years ago

blackthroat commented 6 years ago

Running CCP 1.14. Other recipes that I use (AE, Animate, Dreamweaver, Illustrator, etc...) are fine except for XD and Acrobat Pro.

u'ccpinfo': {
    Language = "en_US";
    Products =     (
                {
            baseVersion = "1.0.12";
            sapCode = SPRK;
            version = latest;
        }
    );
    adminPrivilegesEnabled = 0;
    appsPanelEnabled = 0;
    customerType = team;
    matchOSLanguage = 0;
    organizationName = REDACTED;
    rumEnabled = 1;
    updatesEnabled = 0;
},
 u'pkginfo': {
    catalogs =     (
        ""
    );
    category = Productivity;
    description = "Go from concept to prototype faster with Adobe XD, the all-in-one UX/UI solution for designing websites, mobile apps, and more. With smooth, powerful performance, it's easy to deliver experiences that work and feel as good as they look on any screen.";
    developer = "Adobe Systems Incorporated";
    name = AdobeXD;
},
 'verbose': 3}
CreativeCloudFeed
{'Input': {'ccpinfo': {
    Language = "en_US";
    Products =     (
                {
            baseVersion = "1.0.12";
            sapCode = SPRK;
            version = latest;
        }
    );
    adminPrivilegesEnabled = 0;
    appsPanelEnabled = 0;
    customerType = team;
    matchOSLanguage = 0;
    organizationName = REDACTED;
    rumEnabled = 1;
    updatesEnabled = 0;
},
           'fetch_icon': u'false',
           'fetch_release_notes': u'false'}}
CreativeCloudFeed: No value supplied for platforms, setting default value of: osx10,osx10-64
CreativeCloudFeed: No value supplied for channels, setting default value of: ccp_hd_2,sti
CreativeCloudFeed: No value supplied for write_product_json, setting default value of: True
CreativeCloudFeed: No value supplied for parse_proxy_xml, setting default value of: False
CreativeCloudFeed: Fetching from feed URL: https://prod-rel-ffc-ccm.oobesaas.adobe.com/adobe-ffc-external/core/v4/products/all?payload=true&productType=Desktop&_type=json&channel=ccp_hd_2&channel=sti&platform=osx10&platform=osx10-64
CreativeCloudFeed: Found matching product XD CC, version: 5.0.12
CreativeCloudFeed: The feed version matches the last fetched version, no download is required
CreativeCloudFeed: Caching product information to /Users/ladmin/Library/AutoPkg/Cache/local.munki.autopkg_AdobeXD_CreativeCloudApp/SPRK_1.0.12_5.0.12.json
CreativeCloudFeed: Considering icon: {u'value': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/64x64.png', u'size': u'64x64'}
CreativeCloudFeed: Considering icon: {u'value': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/32x32.png', u'size': u'32x32'}
CreativeCloudFeed: Considering icon: {u'value': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/48x48.png', u'size': u'48x48'}
CreativeCloudFeed: Considering icon: {u'value': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/24x24.png', u'size': u'24x24'}
CreativeCloudFeed: Considering icon: {u'value': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/192x192.png', u'size': u'192x192'}
CreativeCloudFeed: Considering icon: {u'value': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/96x96.png', u'size': u'96x96'}
CreativeCloudFeed: An icon was not requested or the url did not exist.
CreativeCloudFeed: Did not find a manifest.xml in the product json data
{'Output': {'display_name': u'XD CC',
            'icon_url': u'https://adobe-oobe-prod-data-store-ue1.s3.amazonaws.com/prod/icons/SPRK/5.0.12/192x192.png',
            'minimum_os_version': u'10.11',
            'product_info_url': u'https://www.adobe.com/go/xd_more_info',
            'version': u'5.0.12'}}
CreativeCloudPackager
{'Input': {'ccpinfo': {
    Language = "en_US";
    Products =     (
                {
            baseVersion = "1.0.12";
            requestedVersion = latest;
            sapCode = SPRK;
            version = "5.0.12";
        }
    );
    adminPrivilegesEnabled = 0;
    appsPanelEnabled = 0;
    customerType = team;
    matchOSLanguage = 0;
    organizationName = REDACTED;
    rumEnabled = 1;
    updatesEnabled = 0;
},
           'package_name': u'AdobeXD'}}
CreativeCloudPackager: At least one product has requested version 'latest'. This means we are enabling IncludeUpdates for CCP
CreativeCloudPackager: Executing CCP build command: /Applications/Utilities/Adobe Application Manager/core/Adobe Application Manager.app/Contents/MacOS/PDApp --appletID=CCP_UI --appletVersion=1.0 --workflow=ccp --automationMode=ccp_automation --pkgConfigFile=/Users/ladmin/Library/AutoPkg/Cache/local.munki.autopkg_AdobeXD_CreativeCloudApp/automation_xml/ccp_automation_AdobeXD.xml
CreativeCloudPackager: CCP Exited with status 0
CCP package build reported failure.
Error type: 'productNotFound' - Please inspect the PDApp log file at: /Users/ladmin/Library/Logs/PDApp.log. 'results' XML file contents follow: 
<TronResult version="1.0">
  <error>
    <errorCode>3</errorCode>
    <shouldRetry>false</shouldRetry>
    <errorMessage>productNotFound</errorMessage>
  </error>
</TronResult>
Failed.
Receipt written to /Users/ladmin/Library/AutoPkg/Cache/local.munki.autopkg_AdobeXD_CreativeCloudApp/receipts/autopkg_AdobeXD_CreativeCloudApp.munki-receipt-20180309-121555.plist

The following recipes failed:
    autopkg_AdobeXD_CreativeCloudApp.munki.recipe
        Error in local.munki.autopkg_AdobeXD_CreativeCloudApp: Processor: CreativeCloudPackager: Error: CCP package build reported failure.
        Error type: 'productNotFound' - Please inspect the PDApp log file at: /Users/ladmin/Library/Logs/PDApp.log. 'results' XML file contents follow: 
        <TronResult version="1.0">
          <error>
            <errorCode>3</errorCode>
            <shouldRetry>false</shouldRetry>
            <errorMessage>productNotFound</errorMessage>
          </error>
        </TronResult>

Nothing downloaded, packaged or imported.

Warning and error snippets from PDApp.log

03/09/18 12:14:38:359 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Build Version - 8.0.0.164
03/09/18 12:14:38:360 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Logging Level verbosity Set  to 4
03/09/18 12:14:38:366 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Schema version and schema compatibility version are same or greater than current

03/09/18 12:14:38:368 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | _opm_handle_OPDReturnedStatus called with opdStatus as:0
03/09/18 12:14:38:368 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | No Record found for the input fields in opm_getValueForKey
03/09/18 12:14:38:368 | [WARN] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247402 | Got error or NULL from UCGetProxyInfo function.
03/09/18 12:14:38:369 | [ERROR] |  | ASU | PDApp | EnterpriseNativeAppletForCCM |  |  | 1247402 | getProxyInfo did not return success string. It returned : <error>Error occured in Updater Core</error>
03/09/18 12:14:38:370 | [INFO] |  | ASU | PDApp | PDApp.AppletManager |  |  | 1247402 | Loading Applet - LWA_Native for WindowID - 1
03/09/18 12:14:38:381 | [INFO] | 17943 | ASU | LWANative | LWANative |  |  | 1247402 | Build Version - 10.0.0.194
03/09/18 12:14:38:381 | [INFO] | 17943 | ASU | LWANative | LWANative |  |  | 1247402 | Logging Level verbosity Set  to 4
03/09/18 12:14:38:384 | [INFO] |  | ASU | PDApp | ProvCommon.ZStringLoader |  |  | 1247402 | Applet locale set to - en_US
03/09/18 12:14:38:386 | [INFO] |  | ASU | PDApp | ProvCommon.CheckForStageEnvironmentCommand |  |  | 1247402 | Checking stage verses production environment.
03/09/18 12:14:38:389 | [INFO] | 17943 | ASU | LWANative | P7Native |  |  | 1247402 | Start : pwa_openSession
03/09/18 12:14:38:389 | [INFO] | 17943 | ASU | LWANative | P7Native |  |  | 1247402 | pwa_openSession Session key : 2651643E-89D0-4EEF-99E3-A53E3A3E4D4B
03/09/18 12:14:38:418 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Build Version - 10.0.0.130
03/09/18 12:14:38:419 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Logging Level verbosity Set  to 4
03/09/18 12:14:38:424 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Schema version and schema compatibility version are same or greater than current

03/09/18 12:14:38:425 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | _opm_handle_OPDReturnedStatus called with opdStatus as:0
03/09/18 12:14:38:425 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | No Record found for the input fields in opm_getValueForKey
03/09/18 12:14:38:453 | [INFO] | 17943 | ASU | LWANative | P7Native |  |  | 1247402 | End : pwa_openSession
03/09/18 12:14:38:453 | [INFO] |  | ASU | PDApp | ProvisioningNativeAppletBase |  |  | 1247402 | Done opening PWASession, session key - 2651643E-89D0-4EEF-99E3-A53E3A3E4D4B
03/09/18 12:14:38:454 | [INFO] |  | ASU | PDApp | ProvisioningNativeAppletBase |  |  | 1247402 | getEndpointsByname...
03/09/18 12:14:38:456 | [INFO] | 17943 | ASU | LWANative | P7Native |  |  | 1247402 | Start : pwa_getEndPointsByName
03/09/18 12:14:38:456 | [INFO] | 17943 | ASU | LWANative | P7Native |  |  | 1247402 | SessionId is 2651643E-89D0-4EEF-99E3-A53E3A3E4D4B
03/09/18 12:14:38:456 | [INFO] | 17943 | ASU | LWANative | OPM |  |  | 1247402 |  : This product version is for GM
03/09/18 12:14:38:459 | [ERROR] | 17943 | ASU | LWANative | OPM |  |  | 1247402 | received empty url from dispatchlib
03/09/18 12:14:38:459 | [INFO] | 17943 | ASU | LWANative | OPM |  |  | 1247402 | Fetched URL- for LEID-GM

03/09/18 12:14:54:971 | [INFO] |  | ASU | OPM | OPM |  |  | 1247434 | _opm_handle_OPDReturnedStatus called with opdStatus as:0
03/09/18 12:14:54:971 | [INFO] |  | ASU | OPM | OPM |  |  | 1247434 | No Record found for the input fields in opm_getValueForKey
03/09/18 12:14:54:971 | [WARN] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247434 | Proxy not set.
03/09/18 12:14:55:041 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.compositeComponent.CCP.ScreenCCPWelcomeInputMediator |  |  | 1247402 | onRegister
03/09/18 12:14:55:043 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.compositeComponent.ScreenBaseMediator |  |  | 1247402 | onRegister
03/09/18 12:14:55:043 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.component.ContentFooterMediator68AD9871-AD00-A340-BAE1-0BF8C89178D8 |  |  | 1247402 | onRegister
03/09/18 12:14:55:362 | [INFO] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247658 | Successfully fetched the device pool information.
03/09/18 12:14:58:081 | [INFO] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247434 | ewa_validatePackageInputData : retValue <?xml version="1.0" encoding="UTF-8"?>
<result>
    <packagename><success>1</success>
        <error>0</error>
    </packagename>
    <inputdir><success>1</success>
        <error>0</error>
    </inputdir>
    <outputdir><success>1</success>
        <error>0</error>
    </outputdir>
</result>

03/09/18 12:14:58:993 | [INFO] |  | ASU | PDApp | EnterpriseNativeAppletForCCM |  |  | 1247402 | last checked date set to: 2018-03-09T12:14:49
03/09/18 12:14:58:994 | [INFO] |  | ASU | PDApp | CloudPackager.CheckForAvailableUpdatesCommand |  |  | 1247402 | Processing the CheckForAvailableUpdatesCommand
03/09/18 12:15:45:418 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:419 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:419 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:419 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:419 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:420 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:420 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:420 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:421 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:421 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:421 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:544 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | This STI has 'isVisibleProduct' flag set to false - CoreSync
03/09/18 12:15:45:545 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | This STI has 'isVisibleProduct' flag set to false - CoreSync
03/09/18 12:15:45:545 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | This STI has 'isVisibleProduct' flag set to false - CoreSync
03/09/18 12:15:45:545 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | This STI has 'isVisibleProduct' flag set to false - CoreSync
03/09/18 12:15:45:546 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | This STI has 'isVisibleProduct' flag set to false - CoreSync
03/09/18 12:15:45:546 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | This STI has 'isVisibleProduct' flag set to false - CoreSync
03/09/18 12:15:45:760 | [WARN] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | this is an STI, thats why not showing it on UI
03/09/18 12:15:45:779 | [INFO] |  | ASU | PDApp | AAMShared.DynamicViewMediator |  |  | 1247402 | Caching screen with screenID : SCREEN_AAMEE_PRODUCT_OPTION
03/09/18 12:15:45:953 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.compositeComponent.CCP.ScreenCCPInstallOptionsMediator |  |  | 1247402 | onRegister
03/09/18 12:15:45:956 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.compositeComponent.ScreenBaseMediator |  |  | 1247402 | onRegister

03/09/18 12:15:51:779 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.compositeComponent.CCP.ScreenCCPInstallOptionsMediator |  |  | 1247402 | onRegister
03/09/18 12:15:51:779 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.compositeComponent.ScreenBaseMediator |  |  | 1247402 | onRegister
03/09/18 12:15:51:780 | [INFO] |  | ASU | PDApp | com.adobe.aam.shared.view.mediator.component.ContentFooterMediator68AD9871-AD00-A340-BAE1-0BF8C89178D8 |  |  | 1247402 | onRegister
03/09/18 12:15:54:732 | [ERROR] |  | ASU | PDApp | CloudPackagerFlex.CCMInitializeOptionsScreenCommand |  |  | 1247402 | product found but not visible on UI.Qutting in CCP automation mode SPRK::1.0.12
03/09/18 12:15:54:735 | [INFO] |  | ASU | PDApp | PDApp.AppletManager |  |  | 1247402 | Un-loading Applet - LWA_Native for window ID - 1
03/09/18 12:15:54:735 | [INFO] |  | ASU | PDApp | PDApp.ExternalGateway |  |  | 1247402 | Callng the finalize function of the applet ID - LWA_Native
03/09/18 12:15:54:737 | [INFO] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247402 | Going to close the session
03/09/18 12:15:54:738 | [INFO] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247402 | All waiting threads are closed
03/09/18 12:15:54:964 | [INFO] |  | ASU | OPM | OPM |  |  | 1247402 | Released OPM refrence successfully in opm_freeLibRef
03/09/18 12:15:55:490 | [INFO] |  | ASU | PDApp | PDApp.AppletManager |  |  | 1247402 | Un-loading Applet - CCP_Native for window ID - 1
03/09/18 12:15:55:490 | [INFO] |  | ASU | PDApp | PDApp.ExternalGateway |  |  | 1247402 | Callng the finalize function of the applet ID - CCP_Native
03/09/18 12:15:55:490 | [ERROR] |  | ASU | EnterpriseNative | EnterpriseNative |  |  | 1247402 | Failed to unload HDPIM library ...
03/09/18 12:15:55:492 | [INFO] |  | ASU | PDApp | PDApp.HostMessageHandler |  |  | 1247402 | Recieved force window close message
03/09/18 12:15:55:492 | [INFO] |  | ASU | PDApp | PDApp.HostMessageHandler |  |  | 1247402 | Sending message to native
03/09/18 12:15:55:497 | [INFO] |  | ASU | PDApp | PDApp.WindowManager |  |  | 1247402 | Destroying window with ID - 1
03/09/18 12:15:55:498 | [INFO] |  | ASU | PDApp | PDApp |  |  | 1247402 | Last window destroyed. Quiting application as an event (async)...
03/09/18 12:15:55:499 | [INFO] |  | ASU | PDApp | PDApp.WindowManager |  |  | 1247402 | DestroyAllAPEWindow failed, APE Window count is zero while destroying all APEWindow's

03/09/18 12:15:55:499 | [INFO] |  | ASU | PDApp | PDApp.WindowManager |  |  | 1247402 | Initializing native WindowManager
03/09/18 12:15:55:500 | [WARN] |  | ASU | PDApp | PDApp.WindowManager |  |  | 1247402 | Unable to DestroyAPEWindow. Window not found in list.
daveweale commented 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>
csteelatgburg commented 6 years ago

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.

jannheider commented 6 years ago

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

geoffklee commented 6 years ago

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:

https://github.com/autopkg/adobe-ccp-recipes/blob/243c3193c248dce8f61c0f3a97741f41b6f3eea9/Adobe/CreativeCloudPackager.py#L183

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.

blackthroat commented 6 years ago

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?

macmule commented 6 years ago

@gkluoe can you PR?

geoffklee commented 6 years ago

Sure. https://github.com/autopkg/adobe-ccp-recipes/pull/21

jannheider commented 6 years ago

@blackthroat Sorry for the delay in here.

Yes this works, just tried with Adobe XD.

blackthroat commented 6 years ago

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/