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

Bug #1541950 reported by Tom Hindle
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
monodevelop (Ubuntu)
Confirmed
Undecided
Unassigned

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@hindlet:~$ monodevelop
build@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

Revision history for this message
Tom Hindle (3-launchpad-hindlemail-co-uk) wrote :
Download full text (3.4 KiB)

In addition:

build@hindlet:~$ monodevelop --no-redirect
INFO [2016-02-02 18:33:57Z]: Starting MonoDevelop 5.5
INFO [2016-02-02 18:33:57Z]: Running on Mono 4.2.1 (Debian 4.2.1.102+dfsg2-5ubuntu1)
INFO [2016-02-02 18:33:57Z]: Did not find previous version from which to migrate data
INFO [2016-02-02 18:33:57Z]: Using GTK+ 2.24.29
ERROR [2016-02-02 18:33:57Z]: 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) <0xf46fe688 + 0x0005f> in <filename unknown>:0
  at Xwt.Backends.ToolkitEngineBackend.CreateBackend[T] () <0xf46fe628 + 0x00023> in <filename unknown>:0
  at Xwt.Toolkit.Initialize (Boolean isGuest) <0xf46fd4b8 + 0x000f3> in <filename unknown>:0
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fd0d8 + 0x00127> in <filename unknown>:0
  --- End of inner exception stack trace ---
  at Xwt.Toolkit.LoadBackend (System.String type, Boolean isGuest, Boolean throwIfFails) <0xf46fd0d8 + 0x001a3> in <filename unknown>:0
  at Xwt.Toolkit.Load (System.String fullTypeName, Boolean isGuest) <0xf46fccc8 + 0x00077> in <filename unknown>:0
  at Xwt.Application.Initialize (System.String backendType) <0xf46fcbf0 + 0x00027> in <filename unknown>:0
  at Xwt.Application.Initialize (ToolkitType type) <0xf46fc728 + 0x0001b> in <filename unknown>:0
  at Xwt.Application.InitializeAsGuest (ToolkitType type) <0xf46fc6e0 + 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) <0xf749e030 + 0x00167> in <filename unknown>:0

find /usr/lib/mono -name Mono.Cairo*
/usr/lib/mono/4.5/Mono.Cairo.dll
/usr/lib/mono/gac/Mono.Cairo
/usr/lib/mono/gac/Mono.Cairo/4.0.0.0__0738eb...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in monodevelop (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.