Hello,
very often I'm using PAL for analyzing multiple couter log files.
I observed this bug in 2.7.1 version. 2.4 version was fine.
When I select 1 BLG file everything works fine, but when tried to parse multiple files I get these error message (in HTML report):
__Overall progress... Status: Preparing counter log(s), PAL 2.7.1 Progress: 24%... Preparing counter log(s),
An error occurred on...
$sCommand = $('relog.exe ' + "`"$sTemp`"" + ' -cf ' + "`"$($global:oPal.Session.CounterListFilePath)`"" + ' -f csv -o ' + "`"$($global:oPal.RelogedLogFilePath)`"")
At C:\Program Files\PAL\PAL\PAL.ps1:1152 char:76 + $sCommand = $('relog.exe ' + "`"$sTemp`"" + ' -cf ' + "`"$($glob ... + ~~~~~
Property 'CounterListFilePath' cannot be found on this object. Make sure that it exists.
SCRIPT ARGUMENTS:
Log: H:\Perfmon\SRV01_20150208-000005\CPU_Mem.blg;H:\Perfmon\SRV01_20150208-000005\Disk_Network.blg;H:\Perfmon\SRV01_20150208-000005\Processes.blg
ThresholdFile: C:\Program Files\PAL\PAL\SystemOverview.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $False
NumberOfThreads: 8
IsLowPriority: $True
DisplayReport: True
__
There might be a problem with this variable:
$global:oPal.Session.CounterListFilePath (line: 1152)
It wasn't set anywhere before.
Comments: ** Comment from web user: cmorrow05 **
very often I'm using PAL for analyzing multiple couter log files.
I observed this bug in 2.7.1 version. 2.4 version was fine.
When I select 1 BLG file everything works fine, but when tried to parse multiple files I get these error message (in HTML report):
__Overall progress... Status: Preparing counter log(s), PAL 2.7.1 Progress: 24%... Preparing counter log(s),
An error occurred on...
$sCommand = $('relog.exe ' + "`"$sTemp`"" + ' -cf ' + "`"$($global:oPal.Session.CounterListFilePath)`"" + ' -f csv -o ' + "`"$($global:oPal.RelogedLogFilePath)`"")
At C:\Program Files\PAL\PAL\PAL.ps1:1152 char:76 + $sCommand = $('relog.exe ' + "`"$sTemp`"" + ' -cf ' + "`"$($glob ... + ~~~~~
Property 'CounterListFilePath' cannot be found on this object. Make sure that it exists.
SCRIPT ARGUMENTS:
Log: H:\Perfmon\SRV01_20150208-000005\CPU_Mem.blg;H:\Perfmon\SRV01_20150208-000005\Disk_Network.blg;H:\Perfmon\SRV01_20150208-000005\Processes.blg
ThresholdFile: C:\Program Files\PAL\PAL\SystemOverview.xml
AnalysisInterval: AUTO
IsOutputHtml: $True
IsOutputXml: $False
HtmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].htm
XmlOutputFileName: [LogFileName]_PAL_ANALYSIS_[DateTimeStamp].xml
OutputDir: [My Documents]\PAL Reports
AllCounterStats: $False
NumberOfThreads: 8
IsLowPriority: $True
DisplayReport: True
__
There might be a problem with this variable:
$global:oPal.Session.CounterListFilePath (line: 1152)
It wasn't set anywhere before.
Comments: ** Comment from web user: cmorrow05 **
I was experiencing the same problem when trying to process multiple files. I found 2 issues in PAL.ps1 that got it working for me. The specific error reported by yar0 is because on line 1152 CounterListFilePath should be CounterListFilterFilePath.
But after that fix, relog will fail because of the quotes being placed around the list of log files and each individual file. I got around that by changing "`"$sTemp`"" to "$sTemp" also in line 1152 (though I would expect that change would likely be required in other relog commands in the script.