You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
I'm getting the same "Error: local variable 'links' referenced before assignment" error when trying to create a vAPP from template.
tail vcd_cli_error.log
File "/home/user/.local/lib/python3.8/site-packages/vcd_cli/vapp.py", line 528, in create
vapp_resource = vdc.instantiate_vapp(
File "/home/user/.local/lib/python3.8/site-packages/pyvcloud/vcd/vdc.py", line 300, in instantiate_vapp
catalog_item = org.get_catalog_item(catalog, template)
File "/home/user/.local/lib/python3.8/site-packages/pyvcloud/vcd/org.py", line 330, in get_catalog_item
catalog_resource = self.get_catalog(name)
File "/home/user/.local/lib/python3.8/site-packages/pyvcloud/vcd/org.py", line 202, in get_catalog
if links:
UnboundLocalError: local variable 'links' referenced before assignment
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
$>vcd vdc use HCX_PPU
now using org: 'org1', vdc: 'vdc1', vApp: ''.
$>vcd vapp create "vapp_empty"
Usage: vcd vapp create [OPTIONS]
Try "vcd vapp create -h" for help.
Error: Operation is not supported
$>vcd vapp create vapp1 -c catalog_priv_admin -t dummy_ubuntu18 -a
Usage: vcd vapp create [OPTIONS]
Try "vcd vapp create -h" for help.
Error: local variable 'links' referenced before assignment
$>vcd disk create disk1 10g
Usage: vcd disk create [OPTIONS]
Try "vcd disk create -h" for help.
Error: Operation is not supported
The text was updated successfully, but these errors were encountered: