clinthuffman / PAL

Performance Analysis of Logs (PAL) tool
MIT License
479 stars 101 forks source link

Error: Progress: 12%... InheritFromThresholdFiles #23

Open dgunkjr opened 6 years ago

dgunkjr commented 6 years ago

@clinthuffman getting an error. Reproduced using the SamplePerfmonLog file you include in setup package. Works in 2.7.7 but bombs after copy / pasting in files from the PAL_FlatFiles_2.7.7.1_x64 zip that I found uploaded to here about 10 days ago.

Error processing "C:\Program Files\PAL\PAL\SamplePerfmonLog.blg"

Report Generated at: 2018.09.07-13:17:14 PALv2

Overall progress... Status: InheritFromThresholdFiles, PAL 2.7.7 Progress: 12%... InheritFromThresholdFiles,

An error occurred on... if(-not ([string]::IsNullOrWhiteSpace($inheritedXml))){ At C:\Program Files\PAL\PAL\PAL.ps1:910 char:40 + if(-not ([string]::IsNullOrWhiteSpace <<<< ($inheritedXml))){ Method invocation failed because [System.String] doesn't contain a method named 'IsNullOrWhiteSpace'. PAL-131808142343208255-0.log

clinthuffman commented 6 years ago

When you download a zip file, the files are automatically blocked by Windows, so I suspect that Windows is blocking the files. Right-click on the zip file and select Unblock, then OK. Then, try extracting it to a new, empty folder. Try it then.

dgunkjr commented 6 years ago

Hi Clint, as you suggested, I unblocked the zip file first. 95 files were extracted. I tried again, but same result.

The message indicates that [System.String] doesn't contain the method 'IsNullOrWhiteSpace'. I'm not a power shell developer, but is the code looking for a reference that should be there but for some reason, not?

Thanks again so much for all the work you do with creating this tool - I've used PAL for years and it's indispensable.

Donnie

clinthuffman commented 6 years ago

Can you send me the log? It is at %temp%\PAL.log

Thank you,


From: dgunkjr notifications@github.com Sent: Friday, September 7, 2018 12:00:29 PM To: clinthuffman/PAL Cc: Clint Huffman; Mention Subject: Re: [clinthuffman/PAL] Error: Progress: 12%... InheritFromThresholdFiles (#23)

Hi Clint, as you suggested, I unblocked the zip file first. 95 files were extracted. I tried again, but same result.

The message indicates that [System.String] doesn't contain the method 'IsNullOrWhiteSpace'. I'm not a power shell developer, but is the code looking for a reference that should be there but for some reason, not?

Thanks again so much for all the work you do with creating this tool - I've used PAL for years and it's indispensable.

Donnie

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fclinthuffman%2FPAL%2Fissues%2F23%23issuecomment-419534419&data=02%7C01%7C%7C3cb0fa5958864a52ff8308d614f42eaa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636719436314312924&sdata=vg2BwmtiLJyBtCgXIimseeFEFCLRuxRXWJLiBwm3r8Q%3D&reserved=0, or mute the threadhttps://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS48VMjeq-EzN6m2uvfgrq75YWK_zRnbks5uYsJNgaJpZM4WfNFY&data=02%7C01%7C%7C3cb0fa5958864a52ff8308d614f42eaa%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636719436314312924&sdata=uExiJnQAhxX46l5Yw4G7n9Tc1jrsl%2FL77bI7vkUfWfQ%3D&reserved=0.

dgunkjr commented 6 years ago

PAL-131807425784352993-0.log

dgunkjr commented 6 years ago

Hi Clint - I attached the log. I may have accidentally closed the ticket, but I believe that it's been re-opened.

clinthuffman commented 6 years ago

The Log file path is in a secure location on your hard drive. Try moving it to your desktop folder and try again. If that still fails, then send me the counter log and I'll debug it. Thank you.

dgunkjr commented 6 years ago

Hi Clint, per your request, I moved the .blg file to the Desktop and tried rerunning. Still failed. I've attached the log file. Thanks for assisting.

Donnie

PAL-131809737059806330-0.log

clinthuffman commented 6 years ago

It's the same error. Can you send me the counter log so I can debug it? Compressing it to a zip file will make it a lot smaller. Upload it to http://bit.ly/PalUpload Thanks!

dgunkjr commented 6 years ago

Hi Clint, the counter log has been uploaded to the OneDrive you supplied as requested.

clinthuffman commented 6 years ago

Thanks for all of the cooperation with finding this. I appreciate it. I tried to reproduce the problem using the same parameters as you, but it worked fine for me. The errors in the PAL.log file that you sent me are are not lining up with the latest version that I'm using, so I would like for you to try a private build that I have uploaded to http://bit.ly/PalUpload. Download PAL-Test.zip, go to Properties and Unblock the zip file, extract the zip file to an empty folder on your Desktop and then run PALWizard.exe with the same parameters you've been using.

dgunkjr commented 6 years ago

The same log file that I have been using - the test log WORKED with the version used in your PAL-Test.zip file. I'm so glad to see that you're having time to do more development work on this tool.

clinthuffman commented 5 years ago

Please try this with the latest version of PAL 2.8.2.1.