clinthuffman / PAL

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

An error occured ..For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) #72

Open MaMouette opened 2 years ago

MaMouette commented 2 years ago

Hello, My first trial with PAL. I got an error: Thank you

Overall progress... Status: Creating charts, PAL 2.8.2 Progress: 76.4705882352941%... Creating charts, PhysicalDisk Read Latency Analysis

An error occurred on... For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) Au caractère C:\Program Files\PAL\PAL\PAL.ps1:3041 : 15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~ Impossible d’appeler une méthode dans une expression Null.

SCRIPT ARGUMENTS: Log: C:\Users\fguilain\Downloads\SQLDIAG\SQLDIAG.BLG ThresholdFile: C:\Program Files\PAL\PAL\SystemOverview.xml AnalysisInterval: AUTO IsOutputHtml: $True IsOutputXml: $False HtmlOutputFileName: [LogFileName]_PALANALYSIS[DateTimeStamp].htm XmlOutputFileName: [LogFileName]_PALANALYSIS[DateTimeStamp].xml OutputDir: [My Documents]\PAL Reports AllCounterStats: $False NumberOfThreads: 4 IsLowPriority: $True DisplayReport: True

jeffstokes72 commented 2 years ago

Clint is obviously the expert, but I know he's a busy guy so thought I'd offer an idea. I suspect you're hitting a localization issue with the name of the counters. I don't know that localization work has been done to handle non EN-US counter objects.

On Wed, Oct 20, 2021 at 4:00 AM MaMouette @.***> wrote:

Hello, My first trial with PAL. I got an error: Thank you

Overall progress... Status: Creating charts, PAL 2.8.2 Progress: 76.4705882352941%... Creating charts, PhysicalDisk Read Latency Analysis

An error occurred on... For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) Au caractère C:\Program Files\PAL\PAL\PAL.ps1:3041 : 15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~ Impossible d’appeler une méthode dans une expression Null.

SCRIPT ARGUMENTS: Log: C:\Users\fguilain\Downloads\SQLDIAG\SQLDIAG.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: 4 IsLowPriority: $True DisplayReport: True

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clinthuffman/PAL/issues/72, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFOL6J52X4GK4LMAMCUXEDUHZZI3ANCNFSM5GK674NQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

clinthuffman commented 2 years ago

My apologies, but unfortunately, only the core operating system counters translated between languages and I don’t have translations for SQL Server counters. Try changing your local to English and then trying again.

Thank you, Clint Huffman @.***)

From: Jeff @.> Sent: Wednesday, October 20, 2021 1:11 AM To: @.> Cc: @.***> Subject: Re: [clinthuffman/PAL] An error occured ..For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) (Issue #72)

Clint is obviously the expert, but I know he's a busy guy so thought I'd offer an idea. I suspect you're hitting a localization issue with the name of the counters. I don't know that localization work has been done to handle non EN-US counter objects.

On Wed, Oct 20, 2021 at 4:00 AM MaMouette @.***> wrote:

Hello, My first trial with PAL. I got an error: Thank you

Overall progress... Status: Creating charts, PAL 2.8.2 Progress: 76.4705882352941%... Creating charts, PhysicalDisk Read Latency Analysis

An error occurred on... For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) Au caractère C:\Program Files\PAL\PAL\PAL.ps1:3041 : 15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~ Impossible d’appeler une méthode dans une expression Null.

SCRIPT ARGUMENTS: Log: C:\Users\fguilain\Downloads\SQLDIAG\SQLDIAG.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: 4 IsLowPriority: $True DisplayReport: True

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clinthuffman/PAL/issues/72, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFOL6J52X4GK4LMAMCUXEDUHZZI3ANCNFSM5GK674NQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fclinthuffman%2FPAL%2Fissues%2F72%23issuecomment-947431115&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027745528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GWa4jcsH7283H%2FJHUaisnwEJoC49%2FpcRSElfZ%2Fx80x0%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEXDYVDDJMXAK5YL3CH6THTUHZ2T3ANCNFSM5GK674NQ&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027745528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3r3FT8BhirrjOcTdou85pRpFXQnGfZk6PUqPNqDvssk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027755500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=upYE6FSgVcFCEHlufUM7dysumAM6Y4cNoiDbO%2F%2Bmbhs%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027755500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jV04eU88L3KAle62GnKCBqXZycAvKJGW%2FWU1T%2FWgH1w%3D&reserved=0.

MaMouette commented 2 years ago

Hello, Yes it’s ok with modifying the regional settings to English instead of French. Thank you. Best regards.

De : Clint Huffman @.> Envoyé : jeudi 21 octobre 2021 02:48 À : clinthuffman/PAL @.> Cc : GUILAIN Frank @.>; Author @.> Objet : Re: [clinthuffman/PAL] An error occured ..For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) (Issue #72)

Attention, message externe. Soyez vigilant avant d'ouvrir les pieces jointes ou de cliquer sur un lien (en cas de doute cliquez sur le bouton "Alerte Phishing"). My apologies, but unfortunately, only the core operating system counters translated between languages and I don’t have translations for SQL Server counters. Try changing your local to English and then trying again.

Thank you, Clint Huffman @.***)

From: Jeff @.> Sent: Wednesday, October 20, 2021 1:11 AM To: @.> Cc: @.***> Subject: Re: [clinthuffman/PAL] An error occured ..For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) (Issue #72)

Clint is obviously the expert, but I know he's a busy guy so thought I'd offer an idea. I suspect you're hitting a localization issue with the name of the counters. I don't know that localization work has been done to handle non EN-US counter objects.

On Wed, Oct 20, 2021 at 4:00 AM MaMouette @.***> wrote:

Hello, My first trial with PAL. I got an error: Thank you

Overall progress... Status: Creating charts, PAL 2.8.2 Progress: 76.4705882352941%... Creating charts, PhysicalDisk Read Latency Analysis

An error occurred on... For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) Au caractère C:\Program Files\PAL\PAL\PAL.ps1:3041 : 15 + For ($i=0;$i -le $iValues.GetUpperBound(0);$i++) + ~~~~~~~~ Impossible d’appeler une méthode dans une expression Null.

SCRIPT ARGUMENTS: Log: C:\Users\fguilain\Downloads\SQLDIAG\SQLDIAG.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: 4 IsLowPriority: $True DisplayReport: True

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/clinthuffman/PAL/issues/72, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFOL6J52X4GK4LMAMCUXEDUHZZI3ANCNFSM5GK674NQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fclinthuffman%2FPAL%2Fissues%2F72%23issuecomment-947431115&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027745528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=GWa4jcsH7283H%2FJHUaisnwEJoC49%2FpcRSElfZ%2Fx80x0%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEXDYVDDJMXAK5YL3CH6THTUHZ2T3ANCNFSM5GK674NQ&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027745528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3r3FT8BhirrjOcTdou85pRpFXQnGfZk6PUqPNqDvssk%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027755500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=upYE6FSgVcFCEHlufUM7dysumAM6Y4cNoiDbO%2F%2Bmbhs%3D&reserved=0 or Androidhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7C88c8df5309c6457b7c6008d993a13fa2%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637703143027755500%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=jV04eU88L3KAle62GnKCBqXZycAvKJGW%2FWU1T%2FWgH1w%3D&reserved=0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/clinthuffman/PAL/issues/72#issuecomment-948143664, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AIX7D4NWJZYU64VLT3JB4GDUH5PLRANCNFSM5GK674NQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.