D 2024-11-20T19:43:35.058 J foundin 2.2 J icomment I\stried\sthe\sv2.2\sunder\sLinux\sand\sWindows,\snone\sof\sthem\swork\sanymore.\r\nIn\sWindows,\sI\sget\sthe\sfollowing\serror:\r\nRunning\sgrammalecte\sfailed\swith\smessage:\sError:\sCommand\sfailed:\s"C:\\Program\sFiles\\Python312\\python.exe"\sC:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2/grammalecte-cli.py\s--only_when_errors\s--with_spell_sugg\s--json\s--file\sd:\\Git\\IoT\\Mk2PVRouter\\content\\common\\alim-3_3.inc.rst\r\nTraceback\s(most\srecent\scall\slast):\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2/grammalecte-cli.py",\sline\s382,\sin\s\r\n\s\s\s\smain()\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2/grammalecte-cli.py",\sline\s224,\sin\smain\r\n\s\s\s\ssText\s=\soGrammarChecker.getParagraphErrorsAsJSON(i,\ssText,\sbContext=xArgs.context,\sbEmptyIfNoErrors=xArgs.only_when_errors,\s\\\r\n\s\s\s\s\s\s\s\s\s\s\s\s^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\grammar_checker.py",\sline\s70,\sin\sgetParagraphErrorsAsJSON\r\n\s\s\s\saGrammErrs,\saSpellErrs\s=\sself.getParagraphErrors(sText,\sdOptions,\sbContext,\sbSpellSugg,\sbDebug)\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\grammar_checker.py",\sline\s55,\sin\sgetParagraphErrors\r\n\s\s\s\saSpellErrs\s=\sself.oSpellChecker.parseParagraph(sText,\sbSpellSugg)\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\graphspell\\spellchecker.py",\sline\s190,\sin\sparseParagraph\r\n\s\s\s\sfor\slSugg\sin\sself.suggest(dToken['sValue']):\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\graphspell\\spellchecker.py",\sline\s295,\sin\ssuggest\r\n\s\s\s\slSuggs\s=\sself.oMainDic.suggest(sWord,\snSuggLimit,\sTrue)\r\n\s\s\s\s\s\s\s\s\s\s\s\s\s^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\graphspell\\ibdawg.py",\sline\s232,\sin\ssuggest\r\n\s\s\s\sself._splitTrailingNumbers(oSuggResult,\ssWord)\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\graphspell\\ibdawg.py",\sline\s245,\sin\s_splitTrailingNumbers\r\n\s\s\s\soSuggResult.addSugg(m.group(1)\s+\s"�"\s+\sst.numbersToExponent(m.group(2)))\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\graphspell\\ibdawg.py",\sline\s63,\sin\saddSugg\r\n\s\s\s\sst.showDistance(self.sSimplifiedWord,\sst.simplifyWord(sSugg))\r\n\s\sFile\s"C:\\Users\\metrichf\\Downloads\\Grammalecte-fr-v2.2\\grammalecte\\graphspell\\str_transform.py",\sline\s262,\sin\sshowDistance\r\n\s\s\s\sprint(s1,\s"\\u2260",\ss2,\s"\\tDL:",\snDL,\s"\\tS4:",\snS4,\s"\\tJW:",\sfJW)\r\n\s\sFile\s"C:\\Program\sFiles\\Python312\\Lib\\encodings\\cp1252.py",\sline\s19,\sin\sencode\r\n\s\s\s\sreturn\scodecs.charmap_encode(input,self.errors,encoding_table)[0]\r\n\s\s\s\s\s\s\s\s\s\s\s^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\nUnicodeEncodeError:\s'charmap'\scodec\scan't\sencode\scharacter\s'\\u2260'\sin\sposition\s0:\scharacter\smaps\sto\s J login anonymous J mimetype text/x-fossil-plain J private_contact 007b3076f2f8ae8e85f897b53bbf32fe615b1f7e J severity Critical J status Open J title V2.2\sseems\sto\sbe\sfully\sbroken J type Code_Defect K 4961066ba23474cd26b113996dd18f2a594dfca0 U anonymous Z 966b87557e688eabe01a86cfb7ec9721