Open DevOpsDCC opened 3 years ago
Hello,
I am running in to an issue when executing against a local mount point, any idea why I might be getting this error?
python3 make_vcsp_2018.py -n vsphere-content-library -p /mnt/vsphere-content-library/contentlib/ Traceback (most recent call last): File "make_vcsp_2018.py", line 578, in main() File "make_vcsp_2018.py", line 573, in main make_vcsp(lib_name, lib_path, md5_enabled) File "make_vcsp_2018.py", line 298, in make_vcsp item_json = _dir2item(p, item_path, md5_enabled, "urn:uuid:%s" % lib_id) File "make_vcsp_2018.py", line 163, in _dir2item return _make_item(name, vcsp_type, name, files_items, identifier = uuid.uuid4(), library_id=lib_id, is_vapp_template=is_vapp) UnboundLocalError: local variable 'is_vapp' referenced before assignment
Hello,
I am running in to an issue when executing against a local mount point, any idea why I might be getting this error?
python3 make_vcsp_2018.py -n vsphere-content-library -p /mnt/vsphere-content-library/contentlib/ Traceback (most recent call last): File "make_vcsp_2018.py", line 578, in
main()
File "make_vcsp_2018.py", line 573, in main
make_vcsp(lib_name, lib_path, md5_enabled)
File "make_vcsp_2018.py", line 298, in make_vcsp
item_json = _dir2item(p, item_path, md5_enabled, "urn:uuid:%s" % lib_id)
File "make_vcsp_2018.py", line 163, in _dir2item
return _make_item(name, vcsp_type, name, files_items, identifier = uuid.uuid4(), library_id=lib_id, is_vapp_template=is_vapp)
UnboundLocalError: local variable 'is_vapp' referenced before assignment