Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make_vcsp_2018.py UnboundLocalError: local variable #103

Open
DevOpsDCC opened this issue Apr 21, 2021 · 0 comments
Open

make_vcsp_2018.py UnboundLocalError: local variable #103

DevOpsDCC opened this issue Apr 21, 2021 · 0 comments

Comments

@DevOpsDCC
Copy link

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

@DevOpsDCC DevOpsDCC changed the title make_vcsp_2018.py make_vcsp_2018.py UnboundLocalError: local variable Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant