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

fix for multiple blg result in [MergeConvertFilterPerfmonLogs] ERROR: Unable to find the converted log file #67

Open
Ragnar157 opened this issue Mar 22, 2021 · 1 comment

Comments

@Ragnar157
Copy link

Ragnar157 commented Mar 22, 2021

Hi,

this seems like a quoting issue on my machines and i was able to fix it.

FIX: removing the extra Quotes around all the FileNames

Function MergeConvertFilterPerfmonLogs
$sCommand = $('relog.exe ' + "$sTemp" + ' -f csv -o ' + "`"$($global:oPal.RelogedLogFilePath)`"")
#OLD: $sCommand = $('relog.exe ' + "`"$sTemp`"" + ' -f csv -o ' + "`"$($global:oPal.RelogedLogFilePath)`"")

At least for relog.exe 10.0.14393.0 on Server 2016 and 10.0.19041.546 on Win10 that solved it

ISSUE:

[MergeConvertFilterPerfmonLogs] ERROR: Unable to find the converted log file: C:\Users\THORST~1\AppData\Local\Temp\54f9a5ce-d8a9-4064-ae33-7c00c000f271_FilteredPerfmonLog.csv. Relog.exe failed to process the log....
SCRIPT ARGUMENTS:
Log: D:_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210318.blg;D:_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210319.blg

Finding the solution:
running it manually with the command from the "Queue" window i noticed that the files were enclosed by " resulting in double "" at the start and end.

relog.exe ""D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210318.blg" "D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210319.blg"" -f csv -o "C:\Users\THORST~1\AppData\Local\Temp\9db2396c-a756-423a-b26f-26c1a25f0b7a\_FilteredPerfmonLog.csv"
Input
File(s):
     D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210318.blg D:\_DATA\XY\20210322DCPerf\SD01101_DCPerf-20210319.blg

-> manually executing it results in the same error and removing the doule quotes fixed it

cheers
Thorsten

@lehuspohus
Copy link

Also fixed it by removing even quotes around $sTemp variable:
$sCommand = $('relog.exe ' + $sTemp + ' -f csv -o ' + ""$($global:oPal.RelogedLogFilePath)"")
because quotes are already added while building this variable earlier.

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

2 participants