LaTeX 转换器返回错误:

使用问题 · 341 次浏览
我的一梦咔 创建于 2022-07-26 07:48

LaTeX 转换器返回错误:处理请求出错:子程序(latex2mathml)返回中止。运行子程序(文本_LaTeXToMathml)失败。运行子程序(WebView2_运行JS_封装)失败。运行子程序(Webview2_运行JS_原始)失败。运行子程序(流程_Load依赖程序集)失败。解析表达式出错。
内部错误:文件“C:\Users\novelcat\Documents\Quicker\Cesaryuan_小工具\Cesar.Lib.WebView2Tool\Cesar.Lib.WebView2Tool.dll”正由另一进程使用,因此该进程无法访问此文件。
原始表达式:
if(!Directory.Exists(Path.GetDirectoryName({路径})))
    Directory.CreateDirectory(Path.GetDirectoryName({路径}));
File.WriteAllBytes({路径}, Convert.FromBase64String({Base64orURL}));
Assembly.LoadFrom({路径});(赋值)(运行子程序)(运行子程序)(运行子程序)(运行子程序)。   在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<>c__DisplayClass18_0.gSbWQTF63yA()
   在 Quicker.Utilities.ThreadHelpers.<>c__DisplayClass0_0.FF5gwElBu0O()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 Quicker.Domain.Actions.X.SubPrograms.SubProgramHelper.<RunStandaloneSubprogram>d__18.MoveNext()
--- 引发异常的上一位置中堆栈跟踪的末尾 ---
   在 System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   在 System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   在 Quicker.Domain.Actions.ActionExecuteContext.RunSp(String spName, IDictionary`2 inputParams)
   在 Quicker.Domain.AppServer.ExecuteActionSubProgram(String actionIdOrNameOrTempplateId, String spName, IDictionary`2 inputParams, ActionExtraContextData actionExtraContextData, Nullable`1 cts)
   在 kSy8mZPS5Wh3G7UAkLk.jBiUe1Pn38bMAR4bA6W.zZoQK9Xvn8(HttpRequestEventArgs  )
   在 Cesar.Office.Interop.LaTeXHelper.LaTeXToMathml(String latex) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Helper\LaTeXHelper.cs:行号 35
   在 Cesar.Office.Interop.Extension.RangeExt.ConvertLatexRangeToOMath(Range range) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Extension\RangeExt.cs:行号 159
   在 Cesar.Office.Interop.FunctionWord.<>c__DisplayClass5_0.<转换当前文档中选中的LaTeX公式>b__0(Range r) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\FunctionWord.cs:行号 80
   在 Cesar.Office.Interop.LaTeXFinder.ConvertTeX2AMEqnSub(Range rng, Action`1 convert, Boolean showNoFoundMsg) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Axmath\LaTeXFinder.cs:行号 119
   在 Cesar.Office.Interop.FunctionWord.转换当前文档中选中的LaTeX公式() 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\FunctionWord.cs:行号 75
   在 Cesar.Office.Interop.Program.RunMethod(String method, IList`1 param, String app) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Program.cs:行号 273
   在 Cesar.Office.Interop.Program.GetOutputFromCommandLineOption(Options opts) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Program.cs:行号 123

--------------------------------------------

请在反馈时将上述信息粘贴给我,谢谢!


回复内容
Cesar 2022-07-26 11:45
#1

重启Quicker

回复主贴