【问题标题】:Run spreadsheets app with mono in ubuntu在 ubuntu 中使用单声道运行电子表格应用程序
【发布时间】:2018-06-04 20:43:14
【问题描述】:

我正在尝试运行以下应用:

https://bulkpdf.de

使用 ubuntu 和单声道。我会将它与 wordpress 集成。

但是,当我使用终端调用应用程序时,我收到以下错误:

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
Xlib:  extension "RANDR" missing on display ":1.0".
System.OverflowException: Arithmetic operation resulted in an overflow.
  at (wrapper managed-to-native) System.Object.__icall_wrapper___emul_fconv_to_ovf_i8(double)
  at SpreadsheetLight.SLSimpleTheme.CalculateRowColumnInfo () [0x002df] in <da781758b9a04290acccf3dbb454ad9d>:0 
  at SpreadsheetLight.SLSimpleTheme..ctor (DocumentFormat.OpenXml.Packaging.WorkbookPart wbp, SpreadsheetLight.SLThemeTypeValues themetype, System.Boolean ThrowExceptionsIfAny) [0x00048] in <da781758b9a04290acccf3dbb454ad9d>:0 
  at SpreadsheetLight.SLDocument.InitialiseStylesheetWhatNots (SpreadsheetLight.SLThemeTypeValues ThemeType) [0x00000] in <da781758b9a04290acccf3dbb454ad9d>:0 
  at SpreadsheetLight.SLDocument.OpenExistingSpreadsheet (System.String SheetNameOnOpen) [0x00052] in <da781758b9a04290acccf3dbb454ad9d>:0 
  at SpreadsheetLight.SLDocument..ctor (System.IO.Stream SpreadsheetStream) [0x00099] in <da781758b9a04290acccf3dbb454ad9d>:0 
  at BulkPDF.Spreadsheet.Open (System.String filePath) [0x00011] in <38b86a5d69f64782bf8c88f7d49916c3>:0 
  at BulkPDF.MainForm.OpenSpreadsheet (System.String filePath) [0x00000] in <b6568e6b1369411392ff3ce4698bc951>:0 
  at BulkPDF.MainForm.bSelectSpreadsheet_Click (System.Object sender, System.EventArgs e) [0x0006e] in <b6568e6b1369411392ff3ce4698bc951>:0 
  at System.Windows.Forms.Control.OnClick (System.EventArgs e) [0x00019] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Button.OnClick (System.EventArgs e) [0x0001e] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.ButtonBase.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00069] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Button.OnMouseUp (System.Windows.Forms.MouseEventArgs mevent) [0x00000] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) [0x00078] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x001b4] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.ButtonBase.WndProc (System.Windows.Forms.Message& m) [0x00037] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Button.WndProc (System.Windows.Forms.Message& m) [0x00000] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x0000b] in <33c9ef2431ee44bfb02f81d92160d180>:0 
  at System.Windows.Forms.NativeWindow.WndProc (System.IntPtr hWnd, System.Windows.Forms.Msg msg, System.IntPtr wParam, System.IntPtr lParam) [0x00085] in <33c9ef2431ee44bfb02f81d92160d180>:0

我能做什么???

【问题讨论】:

  • 这是一个仅限 Windows 的本地调用:System.Windows.Forms.NativeWindow.WndProc,不适用于在 Ubuntu 上运行的 Mono
  • 所以除了windows我别无选择??

标签: linux mono ubuntu-14.04 spreadsheet


【解决方案1】:

作为 BulkPDF 的开发人员,我没有将 Linux 兼容性作为目标。目前使用 BulkPDF 的人并不多,因此在不久的将来它不会成为目标。 您可以将 Virtual Box 与 GUI 的试用 Windows 安装一起使用。 BulkPDF 的控制台版本可以与单声道兼容(我没有测试过)。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-02-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-17
    • 2017-03-23
    • 1970-01-01
    相关资源
    最近更新 更多