Closed GoogleCodeExporter closed 9 years ago
Exception class: UnicodeEncodeError Exception message: exceptions.UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128). Exception address: 0065A06B ------------------------------------------------------------------------------ PyScripter version : 2.5.3.0 x86 Python DLL : python27.dll Python Engine : peInternal ------------------------------------------------------------------------------ Stack list, generated 2012-4-23 5:36:10 (00259066){PyScripter.exe} [0065A066] PythonEngine.TPythonEngine.RaiseError (Line 5422, "PythonEngine.pas" + 67) + $19 (0025B8B6){PyScripter.exe} [0065C8B6] PythonEngine.TPythonEngine.CheckError (Line 6381, "PythonEngine.pas" + 12) + $2 (00262651){PyScripter.exe} [00663651] VarPyth.TPythonVariantType.EvalPython (Line 1646, "VarPyth.pas" + 84) + $5 (00261831){PyScripter.exe} [00662831] VarPyth.TPythonVariantType.DoFunction (Line 1358, "VarPyth.pas" + 2) + $1B (0026153E){PyScripter.exe} [0066253E] VarPyth.PatchedDispInvoke (Line 995, "VarPyth.pas" + 44) + $1C (002617AA){PyScripter.exe} [006627AA] VarPyth.TPythonVariantType.DispInvoke (Line 1059, "VarPyth.pas" + 13) + $9 (000036FC){PyScripter.exe} [004046FC] System.@FreeMem + $4 (001C7501){PyScripter.exe} [005C8501] gnugettext.TGnuGettextInstance.dgettext (Line 1426, "gnugettext.pas" + 14) + $32 (001C7509){PyScripter.exe} [005C8509] gnugettext.TGnuGettextInstance.dgettext (Line 1426, "gnugettext.pas" + 14) + $3A (000036E0){PyScripter.exe} [004046E0] System.@GetMem + $4 (000058A3){PyScripter.exe} [004068A3] System.TMonitor.TryEnter + $2B (00005490){PyScripter.exe} [00406490] System.TMonitor.Enter + $10 (00005350){PyScripter.exe} [00406350] System.TMonitor.CheckOwningThread + $4 (0000563A){PyScripter.exe} [0040663A] System.TMonitor.Exit + $22 (00005673){PyScripter.exe} [00406673] System.TMonitor.Exit + $F (0003A209){PyScripter.exe} [0043B209] System.Variants.FindCustomVariantType + $A9 (0003080D){PyScripter.exe} [0043180D] System.Variants.@DispInvoke + $C1 (0053064E){PyScripter.exe} [0093164E] cRefactoring.TPyScripterRefactor.GetParsedModule (Line 246, "cRefactoring.pas" + 32) + $1C (004797A0){PyScripter.exe} [0087A7A0] cCodeCompletion.TNamespaceCompletionHandler.HandleCodeCompletion (Line 547, "cCodeCompletion.pas" + 21) + $18 (004942A9){PyScripter.exe} [008952A9] frmEditor.TEditorForm.SynCodeCompletionExecute (Line 2626, "frmEditor.pas" + 34) + $3C (0026DC18){PyScripter.exe} [0066EC18] SynCompletionProposal.TSynBaseCompletionProposal.ExecuteEx (Line 2416, "SynCompletionProposal.pas" + 10) + $1D (0026EEC3){PyScripter.exe} [0066FEC3] SynCompletionProposal.TSynCompletionProposal.ExecuteEx (Line 3245, "SynCompletionProposal.pas" + 1) + $10 (0026F0B4){PyScripter.exe} [006700B4] SynCompletionProposal.TSynCompletionProposal.DoExecute (Line 3323, "SynCompletionProposal.pas" + 18) + $22 (0026EDC5){PyScripter.exe} [0066FDC5] SynCompletionProposal.TSynCompletionProposal.TimerExecute (Line 3198, "SynCompletionProposal.pas" + 5) + $D (00105AD7){PyScripter.exe} [00506AD7] Vcl.ExtCtrls.TTimer.Timer + $F (001059BB){PyScripter.exe} [005069BB] Vcl.ExtCtrls.TTimer.WndProc + $2B (0005B5D8){PyScripter.exe} [0045C5D8] System.Classes.StdWndProc + $14 (001550C7){PyScripter.exe} [005560C7] Vcl.Forms.TApplication.ProcessMessage + $F3 (0015510A){PyScripter.exe} [0055610A] Vcl.Forms.TApplication.HandleMessage + $A (00155449){PyScripter.exe} [00556449] Vcl.Forms.TApplication.Run + $C9 (00564A59){PyScripter.exe} [00965A59] PyScripter.PyScripter (Line 136, "" + 14) + $2 ------------------------------------------------------------------------------ System : Windows Server 2003 R2 Server, Version: 5.2, Build: ECE, "Service Pack 2" Processor: Intel, Intel(R) Pentium(R) M processor 1.86GHz, 1860 MHz MMX SSE SSE2 DEP Memory: 1534; free 517 Display : 1024x768 pixels, 32 bppActive Controls hierarchy: TSynEdit "SynEdit" TSpTBXTabSheet "tbshSource" TSpTBXTabControl "ViewsTabControl" TPanel "FGPanel" TEditorForm "EditorForm" TSpTBXTabSheet "SpTBXTabSheet1" TSpTBXTabControl "TabControl1" TPanel "BGPanel" TPyIDEMainForm "PyIDEMainForm" ------------------------------------------------------------------------------
Original issue reported on code.google.com by gdsteven...@gmail.com on 22 Apr 2012 at 10:11
gdsteven...@gmail.com
Please see http://pyscripter.blogspot.com/2012/02/dreaded-unicode-encodedecode-errors.html.
Original comment by pyscripter on 22 Apr 2012 at 11:02
pyscripter
Original issue reported on code.google.com by
gdsteven...@gmail.com
on 22 Apr 2012 at 10:11