rikho / munki

Automatically exported from code.google.com/p/munki
Other
0 stars 0 forks source link

Munki2 - munkiimport fails importing icon when -p option is used #358

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When running munkiimport with a -p option to point to a pkg inside a disk 
image, choosing to attempt to import an icon produces the following traceback :

Attempt to create a product icon? [y/n] y
Attempting to extract and upload icon...
Traceback (most recent call last):
  File "/usr/local/munki/munkiimport", line 1024, in <module>
    main()
  File "/usr/local/munki/munkiimport", line 972, in main
    generate_pngs_from_installer_pkg(installer_item, pkginfo)
  File "/usr/local/munki/munkiimport", line 287, in generate_pngs_from_installer_pkg
    mountpoint, install_item['package_path'])
NameError: global name 'install_item' is not defined

Original issue reported on code.google.com by VEMil...@gmail.com on 1 Aug 2014 at 8:09

GoogleCodeExporter commented 9 years ago
Believe it's fixed here: 
https://code.google.com/p/munki/source/detail?r=3a23ad2607366337adb1925fe4bd5e60
075343b9&name=Munki2

Original comment by gregnea...@mac.com on 1 Aug 2014 at 8:27