@c.poupin
Is because the string has more than 255 characters, and I want to write more than 255 characters by string.
The errror: Advertencia: IronPythonEvaluator.Error en la operación EvaluateIronPythonScript.
Traceback (most recent call last):
File “”, line 71, in
File “”, line 43, in doc_replace_text
File “”, line 16, in find_replace
EnvironmentError: System.Runtime.InteropServices.COMException (0x800A16DE): El parámetro de la cadena es demasiado largo.
en Microsoft.Scripting.Interpreter.MethodInfoCallInstruction.InvokeInstance(Object instance, Object args)
en Microsoft.Scripting.Interpreter.DynamicInstructionN.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3)
en IronPython.Compiler.PythonCallTargets.OriginalCallTarget3(PythonFunction function, Object arg0, Object arg1, Object arg2)
en System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4)
en Microsoft.Scripting.Interpreter.DynamicInstruction6.Run(InterpretedFrame frame) en Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) en Microsoft.Scripting.Interpreter.LightLambda.Run4[T0,T1,T2,T3,TRet](T0 arg0, T1 arg1, T2 arg2, T3 arg3) en IronPython.Compiler.PythonCallTargets.OriginalCallTarget3(PythonFunction function, Object arg0, Object arg1, Object arg2) en System.Dynamic.UpdateDelegates.UpdateAndExecute5[T0,T1,T2,T3,T4,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2, T3 arg3, T4 arg4) en Microsoft.Scripting.Interpreter.DynamicInstruction
6.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame)
en Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1)
en IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx)
en Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope)
en DSIronPython.IronPythonEvaluator.EvaluateIronPythonScript(String code, IList bindingNames, IList bindingValues)