[Mono-list] Does it run on Mac OS X?
oplusplus
oplusplus at cox.net
Tue Nov 20 19:06:36 EST 2007
Gtk not found (missing LD_LIBRARY_PATH to libgtk-x11-2.0.so.0?),
using built-in colorscheme
Chyba p?i na??t?n? nastaven?: System.IO.FileNotFoundException: Could
not find file "/Users/oplusplus/EasyLearnMac.app/Contents/Resources/
settings.xml".
File name: '/Users/oplusplus/EasyLearnMac.app/Contents/Resources/
settings.xml'
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
anonymous, FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri,
System.String role, System.Type ofObjectToReturn) [0x00000]
at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url,
System.String& absoluteUriString) [0x00000]
at Mono.Xml2.XmlTextReader..ctor (System.String url,
System.Xml.XmlNameTable nt) [0x00000]
at System.Xml.XmlTextReader..ctor (System.String url,
System.Xml.XmlNameTable nt) [0x00000]
at System.Xml.XmlTextReader..ctor (System.String url) [0x00000]
at EasyLearnMac.Util.LoadSettingsFromXMLFile
(EasyLearnMac.MainForm form) [0x00000]
Chyba p?i na??t?n? dat: System.IO.FileNotFoundException: Could not
find file "/Users/oplusplus/EasyLearnMac.app/Contents/Resources/
Demo.eln".
File name: '/Users/oplusplus/EasyLearnMac.app/Contents/Resources/
Demo.eln'
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
anonymous, FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
isAsync, Boolean anonymous) [0x00000]
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess)
at EasyLearnMac.Util.loadRows (EasyLearnMac.DataSet dataSet,
EasyLearnMac.Settings settings) [0x00000]
Chyba p?i na??t?n? nastaven?: System.IO.FileNotFoundException: Could
not find file "/Users/oplusplus/EasyLearnMac.app/Contents/Resources/
Demo.eln.xml".
File name: '/Users/oplusplus/EasyLearnMac.app/Contents/Resources/
Demo.eln.xml'
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share, Int32 bufferSize, Boolean
anonymous, FileOptions options) [0x00000]
at System.IO.FileStream..ctor (System.String name, FileMode mode,
FileAccess access, FileShare share) [0x00000]
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri,
System.String role, System.Type ofObjectToReturn) [0x00000]
at Mono.Xml2.XmlTextReader.GetStreamFromUrl (System.String url,
System.String& absoluteUriString) [0x00000]
at Mono.Xml2.XmlTextReader..ctor (System.String url,
System.Xml.XmlNameTable nt) [0x00000]
at System.Xml.XmlTextReader..ctor (System.String url,
System.Xml.XmlNameTable nt) [0x00000]
at System.Xml.XmlTextReader..ctor (System.String url) [0x00000]
at EasyLearnMac.Util.LoadDataSettingsFromXMLFile
(EasyLearnMac.DataSet dataSet, EasyLearnMac.Settings settings) [0x00000]
Stacktrace:
at (wrapper managed-to-native)
System.Drawing.Carbon.CreateCGContextForPort (intptr,intptr&)
<0xffffffff>
at (wrapper managed-to-native)
System.Drawing.Carbon.CreateCGContextForPort (intptr,intptr&) <0x00090>
at System.Drawing.Carbon.GetCGContextForView (intptr) <0x000bc>
at System.Drawing.Graphics.FromHwnd (intptr) <0x00130>
at System.Windows.Forms.Control.CreateGraphics () <0x0007c>
at System.Windows.Forms.TextBoxBase.CreateGraphicsInternal ()
<0x00048>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.TextBoxBase.CreateGraphicsInternal () <0x00090>
at System.Windows.Forms.Document.owner_HandleCreated
(object,System.EventArgs) <0x00038>
at (wrapper delegate-invoke)
System.MulticastDelegate.invoke_void_object_EventArgs
(object,System.EventArgs) <0x00078>
at System.Windows.Forms.Control.OnHandleCreated (System.EventArgs)
<0x000b0>
at System.Windows.Forms.TextBoxBase.OnHandleCreated
(System.EventArgs) <0x00028>
at System.Windows.Forms.RichTextBox.OnHandleCreated
(System.EventArgs) <0x00028>
at System.Windows.Forms.Control.WmCreate
(System.Windows.Forms.Message&) <0x00030>
at System.Windows.Forms.Control.WndProc
(System.Windows.Forms.Message&) <0x00394>
at System.Windows.Forms.TextBoxBase.WndProc
(System.Windows.Forms.Message&) <0x00468>
at System.Windows.Forms.RichTextBox.WndProc
(System.Windows.Forms.Message&) <0x00028>
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&)
<0x00030>
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&)
<0x00054>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x00404>
at System.Windows.Forms.XplatUIX11.SendMessage
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x002b4>
at System.Windows.Forms.XplatUIX11.CreateWindow
(System.Windows.Forms.CreateParams) <0x0143c>
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams) <0x00030>
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams) <0x00074>
at System.Windows.Forms.Control.CreateHandle () <0x000b8>
at System.Windows.Forms.TextBoxBase.CreateHandle () <0x00038>
at System.Windows.Forms.Control.CreateControl () <0x00080>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.CreateControl () <0x00090>
at System.Windows.Forms.Control.CreateControl () <0x00174>
at System.Windows.Forms.Control.WmShowWindow
(System.Windows.Forms.Message&) <0x000fc>
at System.Windows.Forms.Control.WndProc
(System.Windows.Forms.Message&) <0x00378>
at System.Windows.Forms.ScrollableControl.WndProc
(System.Windows.Forms.Message&) <0x00028>
at System.Windows.Forms.ContainerControl.WndProc
(System.Windows.Forms.Message&) <0x00090>
at System.Windows.Forms.Form.WndProc
(System.Windows.Forms.Message&) <0x00344>
at ControlWindowTarget.OnMessage (System.Windows.Forms.Message&)
<0x00030>
at ControlNativeWindow.WndProc (System.Windows.Forms.Message&)
<0x00054>
at System.Windows.Forms.NativeWindow.WndProc
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x002b4>
at System.Windows.Forms.XplatUIX11.SendMessage
(intptr,System.Windows.Forms.Msg,intptr,intptr) <0x002b4>
at System.Windows.Forms.XplatUIX11.MapWindow
(System.Windows.Forms.Hwnd,System.Windows.Forms.WindowType) <0x00348>
at System.Windows.Forms.XplatUIX11.CreateWindow
(System.Windows.Forms.CreateParams) <0x0151c>
at System.Windows.Forms.XplatUI.CreateWindow
(System.Windows.Forms.CreateParams) <0x00030>
at System.Windows.Forms.NativeWindow.CreateHandle
(System.Windows.Forms.CreateParams) <0x00074>
at System.Windows.Forms.Control.CreateHandle () <0x000b8>
at System.Windows.Forms.Form.CreateHandle () <0x0004c>
at System.Windows.Forms.Control.CreateControl () <0x00080>
at System.Windows.Forms.Control.SetVisibleCore (bool) <0x000ac>
at System.Windows.Forms.Form.SetVisibleCore (bool) <0x001f0>
at System.Windows.Forms.Control.set_Visible (bool) <0x00040>
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.Control.set_Visible (bool) <0x000b0>
at System.Windows.Forms.Application.RunLoop
(bool,System.Windows.Forms.ApplicationContext) <0x0031c>
at System.Windows.Forms.Application.Run
(System.Windows.Forms.Form) <0x00058>
at EasyLearnMac.Program.Main () <0x000d4>
at (wrapper runtime-invoke)
EasyLearnMac.Program.runtime_invoke_void
(object,intptr,intptr,intptr) <0x00068>
/Users/oplusplus/EasyLearnMac.app/Contents/MacOS/EasyLearnMac: line
43: 311 Abort trap "./bin/$APP_NAME" "$ASSEMBLY"
On Nov 20, 2007, at 12:07 PM, Alan McGovern wrote:
> Open an X11 terminal and run the app from inside there. That should
> make it work then.
>
> Alan.
>
> On Nov 20, 2007 11:20 AM, oplusplus <oplusplus at cox.net > wrote:
> Unhandled Exception: System.TypeInitializationException: An exception
> was thrown by the type initializer for System.Windows.Forms.XplatUI
> ---> System.ArgumentNullException: Could not open display (X-Server
> required. Check you DISPLAY environment variable)
> Parameter name: Display
> 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 System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
> at EasyLearnMac.Program.Main () [0x00000]
>
>
> Mono C# compiler version 1.2.5.1
>
>
> This is with and without X11 running. What are the other
> requirements?
>
> On Nov 19, 2007, at 2:38 AM, sds-sw at sds-sw.eu wrote:
>
> > Hallo everyone,
> > I have developed application for vocabulary learning using .Net
> 2.0 -
> > flesh cards, tests, crossword and WordSearch generators, etc. As
> some
> > people asked me to run it on Mac OS X, I moved it to Mono framework
> > with
> > some effort. The problem is that I do not have Mac so even that I
> > know it
> > runs on Mono on Windows I do not know if it runs on Mac.
> >
> > Is there anyone that would be so kind and try if it can be run on
> > Mac? Of
> > course I will provide any number of free licences and any support.
> >
> > Thank you
> > Pavel
> >
> > App: http://www.sds-sw.eu/public/EasyLearnMac.app.tar.gz
> > Doc: http://www.sds-sw.eu/download.php?file=doc/
> > EasyLearnPC.pdf&lang=english
> >
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20071120/ab5e6e3d/attachment-0001.html
More information about the Mono-list
mailing list