[Mono-winforms-list] keyboards.resources

David Suarez dsuarezv at codicesoftware.com
Tue Dec 4 08:43:55 EST 2007


Hi all, 

I'm getting a recurrent keyboard resources exception with a fresh mono
1.2.6 install trying to load our app with MWF. My keyboard is actually
configured in spanish, have you seen the problem before? 

PATH and LD_LIBRARY_PATH look ok, is something left?


dave at clio:~/plastic2716/client$ mono --version
Mono JIT compiler version 1.2.6 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors.
www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notifications: epoll
        Architecture:  x86
        Disabled:      none

dave at clio:~/plastic2716/client$ mono plastic.exe 

Unhandled Exception: System.Resources.MissingManifestResourceException:
Could not find any resources appropriate for the specified culture (or
the neutral culture) in the given assembly.  Make sure
"keyboards.resources" was correctly embedded or linked into assembly
"System.Windows.Forms".
baseName: keyboards  locationInfo: <null>  resource file name:
keyboards.resources  assembly: System.Windows.Forms, Version=0.0.0.0,
Culture=neutral
  at System.Resources.ResourceManager.AssemblyResourceMissing
(System.String fileName) [0x00000] 
  at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents) [0x00000] 
  at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents) [0x00000] 
  at System.Resources.ResourceManager.InternalGetResourceSet
(System.Globalization.CultureInfo culture, Boolean Createifnotexists,
Boolean tryParents) [0x00000] 
  at System.Resources.ResourceManager.GetObject (System.String name,
System.Globalization.CultureInfo culture) [0x00000] 
  at System.Resources.ResourceManager.GetObject (System.String name)
[0x00000] 
  at System.Windows.Forms.KeyboardLayouts.LoadLayouts () [0x00000] 
  at System.Windows.Forms.KeyboardLayouts.get_Layouts () [0x00000] 
  at System.Windows.Forms.X11Keyboard.DetectLayout
(System.Windows.Forms.KeyboardLayouts layouts) [0x00000] 
  at System.Windows.Forms.X11Keyboard.EnsureLayoutInitialized ()
[0x00000] 
  at System.Windows.Forms.X11Keyboard.KeyEvent (IntPtr hwnd, XEvent
xevent, System.Windows.Forms.MSG& msg) [0x00000] 
  at System.Windows.Forms.XplatUIX11.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr handle, Int32 wFilterMin, Int32
wFilterMax) [0x00000] 
  at System.Windows.Forms.XplatUI.GetMessage (System.Object queue_id,
System.Windows.Forms.MSG& msg, IntPtr hWnd, Int32 wFilterMin, Int32
wFilterMax) [0x00000] 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal,
System.Windows.Forms.ApplicationContext context) [0x00000] 
  at System.Windows.Forms.Form.ShowDialog (IWin32Window ownerWin32)
[0x00000] 
  at System.Windows.Forms.Form.ShowDialog () [0x00000] 
  at System.Windows.Forms.MessageBox+MessageBoxForm.RunDialog ()
[0x00000] 
  at (wrapper remoting-invoke-with-check) MessageBoxForm:RunDialog ()
  at System.Windows.Forms.MessageBox.Show (System.String text,
System.String caption, MessageBoxButtons buttons, MessageBoxIcon icon,
MessageBoxDefaultButton defaultButton) [0x00000] 
  at Codice.CM.Client.Gui.FormManager.DisplayMessage (System.String msg,
System.String caption, MessageBoxIcon icon) [0x00000] 
  at Codice.CM.Client.Gui.FormManager.DisplayMessage (System.String msg,
MessageBoxIcon icon) [0x00000] 
  at Codice.CM.Client.Gui.FormManager.DisplayException (System.String
msg, System.Exception ex, MessageBoxIcon icon) [0x00000] 
  at Codice.CM.Client.Gui.FormManager.DisplayException (System.Exception
ex) [0x00000] 
  at Codice.CM.Client.Gui.main.Main (System.String[] args) [0x00000] 







More information about the Mono-winforms-list mailing list