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

Syntax Error when using SexiGraf code on CentOS #77

Closed
vmdude opened this issue May 20, 2016 · 1 comment
Closed

Syntax Error when using SexiGraf code on CentOS #77

vmdude opened this issue May 20, 2016 · 1 comment
Assignees
Labels

Comments

@vmdude
Copy link
Member

vmdude commented May 20, 2016

Someone had some issue when using SexiGraf on CentOS server.

Sample error is:

syntax error at ./getInventory.pl line 75, near "$cluster_view{"
Global symbol "$cluster_name" requires explicit package name at ./getInventory.pl line 75.
Global symbol "$cluster_view" requires explicit package name at ./getInventory.pl line 76.
Global symbol "%h_host" requires explicit package name at ./getInventory.pl line 79.
syntax error at ./getInventory.pl line 79, near "$cluster_host_view{"
Global symbol "$host_name" requires explicit package name at ./getInventory.pl line 79.
Global symbol "%h_hostcluster" requires explicit package name at ./getInventory.pl line 80.
Global symbol "$cluster_host_view" requires explicit package name at ./getInventory.pl line 80.
syntax error at ./getInventory.pl line 80, near "$cluster_host_view{"
Global symbol "$cluster_view" requires explicit package name at ./getInventory.pl line 80.
Global symbol "$StandaloneComputeResources" requires explicit package name at ./getInventory.pl line 84.
Global symbol "%h_host" requires explicit package name at ./getInventory.pl line 88.
Global symbol "$vm_views" requires explicit package name at ./getInventory.pl line 91.
Global symbol "$vm_views" requires explicit package name at ./getInventory.pl line 92.
Global symbol "%h_cluster" requires explicit package name at ./getInventory.pl line 115.
Global symbol "%h_hostcluster" requires explicit package name at ./getInventory.pl line 115.
Global symbol "%h_hostcluster" requires explicit package name at ./getInventory.pl line 115.
Global symbol "%h_host" requires explicit package name at ./getInventory.pl line 116.
Global symbol "$listVM_ref" requires explicit package name at ./getInventory.pl line 127.
syntax error at ./getInventory.pl line 129, near "}"
./getInventory.pl has too many errors.
@vmdude vmdude added the bug label May 20, 2016
@vmdude vmdude added this to the 0.99d - Nova Prospekt milestone May 20, 2016
@vmdude vmdude self-assigned this May 20, 2016
@vmdude
Copy link
Member Author

vmdude commented May 20, 2016

Issue was caused by syntax %$hastable{'key'}
It should be $hastable->{'key'}

@vmdude vmdude closed this as completed Jun 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant