View source
From NMR Wiki
Post your question about NMR, EPR or MRI on our Q&A forum
However, please this space and links below to discuss content of the corresponding wiki page.
Start a new discussion about the current wiki pageSpinworks on linux (1)
There have been no changes to this discussion for at least 14 days. If it is concluded, you may want to write a summary.
Hi I would like to run this on the linux box. Has anyone done it successfully?
Porting to Linux (using mono) is underway.
When I try to run SpinWorks 3 with mono under linux I get the following error message:
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at SpinWorks.SW_main.SW_main_Resize (System.Object sender, System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnResizeInternal (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnResize (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.OnResize (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.OnSizeChanged (System.EventArgs e) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.UpdateBounds (Int32 x, Int32 y, Int32 width, Int32 height) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsCoreInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.SetBoundsCore (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBoundsInternal (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.SetBounds (Int32 x, Int32 y, Int32 width, Int32 height, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.ScaleControl (SizeF factor, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ScrollableControl.ScaleControl (SizeF factor, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Form.ScaleControl (SizeF factor, BoundsSpecified specified) [0x00000] in <filename unknown>:0 at System.Windows.Forms.Control.Scale (SizeF factor) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.PerformAutoScale (Boolean called_by_scale) [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.PerformAutoScale () [0x00000] in <filename unknown>:0 at System.Windows.Forms.ContainerControl.PerformDelayedAutoScale () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.Windows.Forms.ContainerControl:PerformDelayedAutoScale () at System.Windows.Forms.Control.ResumeLayout (Boolean performLayout) [0x00000] in <filename unknown>:0 at SpinWorks.SW_main.InitializeComponent () [0x00000] in <filename unknown>:0 at SpinWorks.SW_main..ctor () [0x00000] in <filename unknown>:0 at (wrapper remoting-invoke-with-check) SpinWorks.SW_main:.ctor () at SpinWorks.Program.Main () [0x00000] in <filename unknown>:0
this happens with both the .NET executable and the mono compiled executable from the test_versions folder (both v3.1.6). Bailli 14:59, 7 January 2010 (UTC)
You do not have permission to do that, for the following reason:
You can view and copy the source of this page:
Return to Talk:SpinWorks.
Hi,
I am running Kubuntu 9.10. The mono version supplied by the package maintainer is 2.4.2.3 and showed the mentioned error. Since I thought it might be a problem with an older version of mono, too, I compiled the latest stable release (2.6.1) myself. But the error is still the same...
Thanks for your help and your nice program.
O.K. I am going to build a new Linux version with much more tracing in it to see if I can find where it fails. From the log, it seems that it is failing very early in the start-up procedure. I will let you know when this build is ready.
Do you have (or can you get) MonoDevelop on your system?? If so, we might be able to use the debugger.
Thanks for the feedback. -Kirk
Sadly, the same error message is displayed with the new executable... Is there already any additional debugging oder tracing capabilites included yet?
Thanks for your efforts.