Hello!
I am attempting to install OpenDental on a workstation running Ubuntu 7.10. However, I am at a loss as to which versions of Mono support OD.
I have copied the original structure from windows, but I am not certain which other libraries are required. libgdiplus seems to be needed but it simply isn't working.
I had this working presently through the command 'mono OpenDental.exe' before I had to restart the server but now it is consistently failing. I think I am just missing a package of libraries or something. I THINK i have all the cairo libs installed but... anyhow if anyone has any insight (or a quick easy tutorial to compile it with CURRENT MONO VERSIONS) then please let me know.
Thanks all!
JS
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: libgdiplus.so.0
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---
at <0x00000> <unknown method>
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000]
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000]
at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner exception stack trace ---
at <0x00000> <unknown method>
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
at OpenDental.FormOpenDental.Main () [0x00000]
Linux - Ubuntu 7.10 Install
Mono must be 1.2.5 or greater. Last I checked, Ubuntu repository wasn't up to 1.2.5 yet... is it now?
Also, running OD as a client on Linux is broken for now...
Also, running OD as a client on Linux is broken for now...
Cheers,
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
Bill Starck, DDS
Big Idea Software, LLC
Developer, EASy(Electronic Anesthesia System) for Open Dental
817-807-1709
TX, USA
- jordansparks
- Site Admin
- Posts: 5770
- Joined: Sun Jun 17, 2007 3:59 pm
- Location: Salem, Oregon
- Contact:
Running OD as a client should be functional. Derek will have to respond tomorrow on the version of Mono that we tested it against.
Jordan Sparks, DMD
http://www.opendental.com
http://www.opendental.com
-
- Posts: 5
- Joined: Wed Feb 13, 2008 11:51 am
Some progress
Alright I have the most current version of mono installed with all the libraries I could track down. I am probably still missing one, but here is my error. I copied OD from another computer to this tower (running Ubuntu 7.10 generic). I can get it to load, but when I select a patient in the schedule, the program crashes to command line.
Am I still missing a library or is this a more fundamental problem with Ubuntu's newest version? Also if someone could report in with a version of Ubuntu that got this running that would also be very helpful!
Thanks All!
Here is the most recent error from the command line:
Unhandled Exception: System.InvalidCastException: Unknown target convertion type from System.Byte to OpenDentBusiness.PatientStatus
at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider) [0x00000]
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000]
at System.Reflection.Binder+Default.ChangeType (System.Object value, System.Type type, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000]
at OpenDental.DataAccess.DataObjectFactory`1[OpenDentBusiness.Patient].CreateObject (IDataReader ) [0x00000]
at OpenDental.DataAccess.DataObjectFactory`1[OpenDentBusiness.Patient].CreateObjects (IDataReader ) [0x00000]
at OpenDental.DataAccess.DataObjectFactory`1[OpenDentBusiness.Patient].CreateObjects (System.String ) [0x00000]
at OpenDental.Patients.SubmitAndFill (System.String command) [0x00000]
at OpenDental.Patients.GetPat (Int32 patNum) [0x00000]
at OpenDental.ContrAppt.RefreshModulePatient (Int32 patNum) [0x00000]
at OpenDental.ContrAppt.ContrApptSheet2_MouseDown (System.Object sender, System.Windows.Forms.MouseEventArgs e) [0x00000]
at System.Windows.Forms.Control.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000]
at System.Windows.Forms.UserControl.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000]
at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000]
at OpenDental.FormOpenDental.Main () [0x00000]
Am I still missing a library or is this a more fundamental problem with Ubuntu's newest version? Also if someone could report in with a version of Ubuntu that got this running that would also be very helpful!
Thanks All!
Here is the most recent error from the command line:
Unhandled Exception: System.InvalidCastException: Unknown target convertion type from System.Byte to OpenDentBusiness.PatientStatus
at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider) [0x00000]
at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000]
at System.Reflection.Binder+Default.ChangeType (System.Object value, System.Type type, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MonoField.SetValue (System.Object obj, System.Object val, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) [0x00000]
at OpenDental.DataAccess.DataObjectFactory`1[OpenDentBusiness.Patient].CreateObject (IDataReader ) [0x00000]
at OpenDental.DataAccess.DataObjectFactory`1[OpenDentBusiness.Patient].CreateObjects (IDataReader ) [0x00000]
at OpenDental.DataAccess.DataObjectFactory`1[OpenDentBusiness.Patient].CreateObjects (System.String ) [0x00000]
at OpenDental.Patients.SubmitAndFill (System.String command) [0x00000]
at OpenDental.Patients.GetPat (Int32 patNum) [0x00000]
at OpenDental.ContrAppt.RefreshModulePatient (Int32 patNum) [0x00000]
at OpenDental.ContrAppt.ContrApptSheet2_MouseDown (System.Object sender, System.Windows.Forms.MouseEventArgs e) [0x00000]
at System.Windows.Forms.Control.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000]
at System.Windows.Forms.UserControl.OnMouseDown (System.Windows.Forms.MouseEventArgs e) [0x00000]
at System.Windows.Forms.Control.WmLButtonDown (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.UserControl.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x00000]
at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) [0x00000]
at System.Windows.Forms.XplatUIX11.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) [0x00000]
at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) [0x00000]
at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) [0x00000]
at OpenDental.FormOpenDental.Main () [0x00000]
-
- Posts: 5
- Joined: Wed Feb 13, 2008 11:51 am
Fixed
This has been fixed in OD version 5.6. I just downloaded the beta and tested it and the problem no longer exists! Thank you Jordan and everyone who's been working on it!
JSLifeSmiles
JSLifeSmiles