所请求的剪贴板操作失败

BUG反馈 · 372 次浏览
Yannis Lansen 创建于 2022-06-09 20:57

所请求的剪贴板操作失败。
   在 System.Windows.Forms.Clipboard.ThrowIfFailed(Int32 hr)
   在 System.Windows.Forms.Clipboard.SetDataObject(Object data, Boolean copy, Int32 retryTimes, Int32 retryDelay)
   在 System.Windows.Forms.Clipboard.SetText(String text, TextDataFormat format)
   在 System.Windows.Forms.Clipboard.SetText(String text)
   在 Cesar.Office.Interop.Extension.RangeExt.ConvertLatexRangeToOMath(Range range) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Extension\RangeExt.cs:行号 127
   在 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:行号 269
   在 Cesar.Office.Interop.Program.GetOutputFromCommandLineOption(Options opts) 位置 G:\笔记本\04-Code\CSharp\01-Office\Cesar.Office.Interop\Cesar.Office.Interop\Program.cs:行号 122


Yannis Lansen 2022-06-09 20:58 :
版本为 Word 2019
Cesar 回复 Yannis Lansen 2022-06-09 21:30 :

每次运行都这样?

Yannis Lansen 回复 Cesar 2022-06-09 21:58 :

是的,而且每次都报一样的错误信息

Yannis Lansen 回复 Cesar 2022-06-09 22:32 :

重启的确有效,感谢。但我没有用过ditto,不知道剪贴板被什么干扰了。

回复内容
Cesar 2022-06-09 22:03
#1
回复 Yannis Lansen :

是的,而且每次都报一样的错误信息

重启下电脑试试,关掉 ditto之类的剪贴板软件

回复主贴