[ubuntu-mono] [Bug 1541950] [NEW] MonoDevelop package doesn't depend on libcanberra-gtk-module

Tom Hindle 1541950 at bugs.launchpad.net
Thu Feb 4 17:20:21 UTC 2016


Public bug reported:

This is what I get when I try and run monodevelop on xenial.

Setting up monodevelop (5.5.0.227-1) ...
Processing triggers for libc-bin (2.21-0ubuntu5) ...
build at hindlet:~$ monodevelop 
build at hindlet:~$ monodevelop --no-redirect
INFO [2016-02-02 18:23:14Z]: Starting MonoDevelop 5.5
INFO [2016-02-02 18:23:14Z]: Running on Mono 4.2.1 (Debian 4.2.1.102+dfsg2-5ubuntu1)
INFO [2016-02-02 18:23:14Z]: Did not find previous version from which to migrate data
ERROR [2016-02-02 18:23:14Z]: Gtk-Message: Failed to load module "canberra-gtk-module"
tack trace: 
  at Gtk.Application.gtk_init (System.Int32& , System.IntPtr& ) [0x00000] in <filename unknown>:0 
  at Gtk.Application.do_init (System.String progname, System.String[]& args, Boolean check) [0x00000] in <filename unknown>:0 
  at Gtk.Application.Init (System.String progname, System.String[]& args) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) [0x00000] in <filename unknown>:0 
  at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
INFO [2016-02-02 18:23:14Z]: Using GTK+ 2.24.29
ERROR [2016-02-02 18:23:14Z]: MonoDevelop failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp)may not be properly installed in the GAC.
System.Exception: Toolkit could not be loaded ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
File name: 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) <0xf59ae730 + 0x000a3> in <filename unknown>:0 
  at System.RuntimeType.CreateInstanceMono (Boolean nonPublic) <0xf57dfc60 + 0x00149> in <filename unknown>:0 
  at System.RuntimeType.CreateInstanceSlow (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System.Threading.StackCrawlMark& stackMark) <0xf57dfc00 + 0x00048> in <filename unknown>:0 
  at System.RuntimeType.CreateInstanceDefaultCtor (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System.Threading.StackCrawlMark& stackMark) <0xf57df980 + 0x00056> in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) <0xf56e0330 + 0x0009f> in <filename unknown>:0 
  at System.Activator.CreateInstance (System.Type type) <0xf56e01c0 + 0x00025> in <filename unknown>:0 
  at Xwt.Backends.ToolkitEngineBackend.CreateBackend (System.Type backendType) <0xf46fefe0 + 0x0005f> in <filename unknown>:0 
  at Xwt.Backends.ToolkitEngineBackend.CreateBackend[T] () <0xf46fef80 + 0x00023> in <filename unknown>:0 
  at Xwt.Toolkit.Initialize (Boolean isGuest) <0xf46fde10 + 0x000f3> in <filename unknown>:0 
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fda30 + 0x00127> in <filename unknown>:0 
  --- End of inner exception stack trace ---
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fda30 + 0x001a3> in <filename unknown>:0 
  at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest) <0xf46fd620 + 0x00077> in <filename unknown>:0 
  at Xwt.Application.Initialize (System.String backendType) <0xf46fd548 + 0x00027> in <filename unknown>:0 
  at Xwt.Application.Initialize (ToolkitType type) <0xf46fd080 + 0x0001b> in <filename unknown>:0 
  at Xwt.Application.InitializeAsGuest (ToolkitType type) <0xf46fd038 + 0x00013> in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) <0xf46f3118 + 0x00573> in <filename unknown>:0 
  at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) <0xf7490030 + 0x00167> in <filename unknown>:0


One can fix the problem by:

sudo apt-get install libcanberra-gtk-module

** Affects: monodevelop (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
CLI/Mono Uploaders, which is subscribed to monodevelop in Ubuntu.
https://bugs.launchpad.net/bugs/1541950

Title:
  MonoDevelop package doesn't depend on libcanberra-gtk-module

Status in monodevelop package in Ubuntu:
  New

Bug description:
  This is what I get when I try and run monodevelop on xenial.

  Setting up monodevelop (5.5.0.227-1) ...
  Processing triggers for libc-bin (2.21-0ubuntu5) ...
  build at hindlet:~$ monodevelop 
  build at hindlet:~$ monodevelop --no-redirect
  INFO [2016-02-02 18:23:14Z]: Starting MonoDevelop 5.5
  INFO [2016-02-02 18:23:14Z]: Running on Mono 4.2.1 (Debian 4.2.1.102+dfsg2-5ubuntu1)
  INFO [2016-02-02 18:23:14Z]: Did not find previous version from which to migrate data
  ERROR [2016-02-02 18:23:14Z]: Gtk-Message: Failed to load module "canberra-gtk-module"
  tack trace: 
    at Gtk.Application.gtk_init (System.Int32& , System.IntPtr& ) [0x00000] in <filename unknown>:0 
    at Gtk.Application.do_init (System.String progname, System.String[]& args, Boolean check) [0x00000] in <filename unknown>:0 
    at Gtk.Application.Init (System.String progname, System.String[]& args) [0x00000] in <filename unknown>:0 
    at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) [0x00000] in <filename unknown>:0 
    at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) [0x00000] in <filename unknown>:0 
    at MonoDevelop.Startup.MonoDevelopMain.Main (System.String[] args) [0x00000] in <filename unknown>:0 
  INFO [2016-02-02 18:23:14Z]: Using GTK+ 2.24.29
  ERROR [2016-02-02 18:23:14Z]: MonoDevelop failed to start. Some of the assemblies required to run MonoDevelop (for example gtk-sharp)may not be properly installed in the GAC.
  System.Exception: Toolkit could not be loaded ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies.
  File name: 'Mono.Cairo, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'
    at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) <0xf59ae730 + 0x000a3> in <filename unknown>:0 
    at System.RuntimeType.CreateInstanceMono (Boolean nonPublic) <0xf57dfc60 + 0x00149> in <filename unknown>:0 
    at System.RuntimeType.CreateInstanceSlow (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System.Threading.StackCrawlMark& stackMark) <0xf57dfc00 + 0x00048> in <filename unknown>:0 
    at System.RuntimeType.CreateInstanceDefaultCtor (Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, System.Threading.StackCrawlMark& stackMark) <0xf57df980 + 0x00056> in <filename unknown>:0 
    at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) <0xf56e0330 + 0x0009f> in <filename unknown>:0 
    at System.Activator.CreateInstance (System.Type type) <0xf56e01c0 + 0x00025> in <filename unknown>:0 
    at Xwt.Backends.ToolkitEngineBackend.CreateBackend (System.Type backendType) <0xf46fefe0 + 0x0005f> in <filename unknown>:0 
    at Xwt.Backends.ToolkitEngineBackend.CreateBackend[T] () <0xf46fef80 + 0x00023> in <filename unknown>:0 
    at Xwt.Toolkit.Initialize (Boolean isGuest) <0xf46fde10 + 0x000f3> in <filename unknown>:0 
    at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fda30 + 0x00127> in <filename unknown>:0 
    --- End of inner exception stack trace ---
    at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fda30 + 0x001a3> in <filename unknown>:0 
    at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest) <0xf46fd620 + 0x00077> in <filename unknown>:0 
    at Xwt.Application.Initialize (System.String backendType) <0xf46fd548 + 0x00027> in <filename unknown>:0 
    at Xwt.Application.Initialize (ToolkitType type) <0xf46fd080 + 0x0001b> in <filename unknown>:0 
    at Xwt.Application.InitializeAsGuest (ToolkitType type) <0xf46fd038 + 0x00013> in <filename unknown>:0 
    at MonoDevelop.Ide.IdeStartup.Run (MonoDevelop.Ide.MonoDevelopOptions options) <0xf46f3118 + 0x00573> in <filename unknown>:0 
    at MonoDevelop.Ide.IdeStartup.Main (System.String[] args, MonoDevelop.Ide.Extensions.IdeCustomizer customizer) <0xf7490030 + 0x00167> in <filename unknown>:0

  
  One can fix the problem by:

  sudo apt-get install libcanberra-gtk-module

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monodevelop/+bug/1541950/+subscriptions




More information about the Ubuntu-mono mailing list