adobe-ccp-recipes icon indicating copy to clipboard operation
adobe-ccp-recipes copied to clipboard

Assumption of `AppLaunch` json key fails non-app recipes

Open timsutton opened this issue 8 years ago • 2 comments

From @timsutton on May 29, 2017 18:48

Since #21, the code in CreativeCloudVersioner.py which tries to build an installs key fails when it tries to read an AppLaunch key which is not present in all cases, i.e. Camera Raw.

IMO, for now we should just skip along and not do the installs array creation at all if we can't find this key, which would bring things back to the previous behaviour. I can think of several ways to address this but I don't think it's as high a priority as just wrapping these up and moving them to the autopkg org.

Copied from original issue: mosen/ccp-recipes#25

timsutton avatar Aug 14 '17 20:08 timsutton

From @jannheider on May 30, 2017 10:49

This might be this error ?

The following recipes failed:
    AdobeCameraRawCC.munki.recipe
        Error in local.munki.CameraRawCC: Processor: CreativeCloudVersioner: Error: 'AppLaunch'

Is there a workaround ?

timsutton avatar Aug 14 '17 20:08 timsutton

For now the workaround will need to be the the Versioner code knows to skip doing installs item creation if there's no AppLaunch key. Not sure if perhaps someone else may get around to that before I do...

timsutton avatar Aug 14 '17 20:08 timsutton