Unsolved
2 Posts
0
548
July 2nd, 2020 06:00
How to install YAML package for profileadmin.pl
We were trying to use the profileadmin.pl tool instead of MCGUI for exporting the events.
But we are getting the following error when we use the tool in AVE 18.2 version.
root@sprintlab622ave:/tmp/Profile/#: perl profileadmin.pl --filename=/tmp/Profile/sampleprofile.yaml --action=export
Program version 0.0.26, Running 'EXPORT' on sprintlab622ave.netact.nsn-rdnet.net on Wed Jul 1 07:58:19 2020
--- EXPORTing to /tmp/Profile/sampleprofile.yaml ..Undefined subroutine &YAML::Dump called at profileadmin.pl line 196.
Looks like to use the profileadmin.pl we need YAML Packages in AVE
There is a note in the previous community link
Note : If the grid where you are running does not have YAML package installed it will throw an error along with the instruction to install YAML package.
The error is pointing to line 196 which is as the following pointing to the YAML packages :
YAML::DumpFile( $opt{FILENAME}, $Output_MetaData, sort {$a->Name cmp $b->Name} @dbprofiles );
In order to use the script and have the YAML packages ,