jssimporter / JSSImporter

JSSImporter is deprecated. Please see the wiki for alternatives
Apache License 2.0
145 stars 38 forks source link

[1.0.2b5] Bundle-style packages fail to upload #162

Closed grahampugh closed 4 years ago

grahampugh commented 4 years ago

1.0.2b5 somehow introduces a bug when uploading bundle-style packages. These are converted to .zip during the JSSImporter process, but the subsequent step is failing:

JSSImporter
JSSImporter: python-jss version: 2.0.1.
JSSImporter: JSSImporter version: 1.0.2b5.
JSSImporter: JSS version: '10.12.0-t1555503901'
JSSImporter: Category type: category-'Productivity' already exists according to JSS, moving on...
JSSImporter: Category type: policy_category-'Untested' already exists according to JSS, moving on...
JSSImporter: Closing: /Users/gpugh/Library/AutoPkg/Cache/local.jss.Adobe Acrobat DC/Adobe Acrobat Pro DC_Install-DC.pkg.zip
JSSImporter: Pkg-object does not exist according to JSS.
JSSImporter: Package upload not required.
local variable 'pkg_update' referenced before assignment
Failed.

With 1.0.2b4, it works as expected:

JSSImporter
JSSImporter: python-jss version: 2.0.1.
JSSImporter: JSSImporter version: 1.0.2b3.
JSSImporter: JSS version: '10.12.0-t1555503901'
JSSImporter: Category type: category-'Productivity' already exists according to JSS, moving on...
JSSImporter: Category type: policy_category-'Untested' already exists according to JSS, moving on...
JSSImporter: Closing: /Users/gpugh/Library/AutoPkg/Cache/local.jss.Adobe Acrobat DC/Adobe Acrobat Pro DC_Install-DC.pkg.zip
JSSImporter: Package upload not needed.
JSSImporter: Package category updated.
JSSImporter: Package reboot_required updated.
JSSImporter: Package boot_volume_required updated.
JSSImporter: Found file: /Users/gpugh/Library/AutoPkg/RecipeOverrides/SmartGroupTemplate-untested-users.xml
JSSImporter: ComputerGroup: Adobe Acrobat Pro DC EN test users created.
JSSImporter: Found file: /Users/gpugh/Library/AutoPkg/RecipeOverrides/SmartGroupTemplate-untested-installed.xml
JSSImporter: ComputerGroup: Adobe Acrobat Pro DC EN test version installed created.
JSSImporter: Found file: /Users/gpugh/Library/AutoPkg/RecipeOverrides/PolicyTemplate-untested.xml
JSSImporter: Setting policy to 'Install' package.
JSSImporter: Policy: Adobe Acrobat Pro DC EN vDC created.
grahampugh commented 4 years ago

Fixed in 1.0.2b6