juancarlostinoco / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

ArdupilotMegaPlanner10.exe won't start under Mac OS X and Mono #747

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Install Mono for Mac version 2.10.9
2. Download Mission Planner 1.2.11.zip
3. Run $ mono ArdupilotMegaPlanner10.exe

What is the expected output? What do you see instead?

The mission planner screen.

Instead I get this output in the console:

INFO Program - ******************* Logging Configured *******************
INFO ArdupilotMega.MainV2 - Mainv2 ctor
INFO ArdupilotMega.MainV2 - myview width 1008 height 461
INFO ArdupilotMega.MainV2 - this   width 1024 height 617
INFO ArdupilotMega.Utilities.Speech - TTS: init, mono = True
False
False
False
INFO ArdupilotMega.Controls.HUD - Vendor: NVIDIA Corporation
INFO ArdupilotMega.Controls.HUD - Version: 2.1 NVIDIA-8.0.51
INFO ArdupilotMega.Controls.HUD - Device: NVIDIA GeForce GT 330M OpenGL Engine

Unhandled Exception: System.TypeLoadException: A type load exception has 
occurred.
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: A type load 
exception has occurred.
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0 

I still get the splash for Mission Planner, but then it closes

What version of the product are you using? On what operating system?

Mac OS X 10.8.1
Mono 2.10.9
Mission Planner 1.2.11

Original issue reported on code.google.com by endersonmaia on 11 Sep 2012 at 8:06

GoogleCodeExporter commented 8 years ago
*Using Mission Planner 1.2.12 I get* :

INFO Program - ******************* Logging Configured *******************
INFO ArdupilotMega.MainV2 - Mainv2 ctor
INFO ArdupilotMega.MainV2 - myview width 1008 height 461
INFO ArdupilotMega.MainV2 - this   width 1024 height 617
INFO ArdupilotMega.Utilities.Speech - TTS: init, mono = True
FATAL ArdupilotMega.MainV2 - System.NotImplementedException: The requested 
feature is not implemented.
  at System.Windows.Forms.XplatUICarbon.SetClipRegion (IntPtr hwnd, System.Drawing.Region region) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.SetClipRegion (IntPtr handle, System.Drawing.Region region) [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.CreateHandle () [0x00000] in <filename unknown>:0 
  at System.Windows.Forms.Control.CreateGraphics () [0x00000] in <filename unknown>:0 
  at Crom.Controls.TabbedDocument.ButtonsPanel.UpdateSize () [0x00000] in <filename unknown>:0 
  at Crom.Controls.TabbedDocument.ButtonsPanel.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.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.set_Size (Size value) [0x00000] in <filename unknown>:0 
  at Crom.Controls.TabbedDocument.ButtonsPanel.InitializeComponent () [0x00000] in <filename unknown>:0 
  at Crom.Controls.TabbedDocument.ButtonsPanel..ctor () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.AutoHideButtonsPanel..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.AutoHideButtonsPanel:.ctor ()
  at Crom.Controls.Docking.Autohide.get_LeftAutohideButtons () [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.Autohide..ctor (Crom.Controls.Docking.FormWrapper host, Int32 firstControlOffset, Crom.Controls.Docking.Command animationCommand) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.FormsDocker..ctor (IWin32Window host) [0x00000] in <filename unknown>:0 
  at Crom.Controls.Docking.DockContainer..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) Crom.Controls.Docking.DockContainer:.ctor ()
  at ArdupilotMega.GCSViews.FlightData.InitializeComponent () [0x00000] in <filename unknown>:0 
  at ArdupilotMega.GCSViews.FlightData..ctor () [0x00000] in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) ArdupilotMega.GCSViews.FlightData:.ctor ()
  at ArdupilotMega.MainV2..ctor () [0x00000] in <filename unknown>:0 

Original comment by endersonmaia on 20 Sep 2012 at 5:24

GoogleCodeExporter commented 8 years ago
this is a mono bug, untill that is fixed. i dont have an answer

Original comment by Meee...@gmail.com on 25 Sep 2012 at 8:04

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 25 Sep 2012 at 10:27

GoogleCodeExporter commented 8 years ago

Original comment by Meee...@gmail.com on 11 Nov 2012 at 1:29