Recentemente, tentei atualizar meu mono do antigo fornecido pelo repositório do ubuntu desatualizado para 16.04 LTS para o fornecido pelo próprio mono-projeto:
Isso imediatamente causou problemas com o Banshee, onde ele carregava, a janela se abreviava e fechava imediatamente. Parecia estar tendo problemas para acessar o dbus, de acordo com o arquivo de log anexado. dbus está em execução, embora .. por isso parece que era um problema mono? Voltei para trás (depois de passar meia hora tentando descobrir como fazer isso) e o banshee funciona perfeitamente com a versão antiga do mono-completo.
A minha pergunta é, alguém pode me dizer como fazer o banshee funcionar com o último mono fornecido pela fonte do projeto mono? Eu tentei compilar o banshee a partir do código fonte .. mas eu devo ter feito algo errado, já que ele estava reclamando sobre não ter um libmono-2.0-dev (ou algo parecido).
Anexei alguns "logs" que podem ser de interesse:
Saída do Banshee de "Crash" (sem diálogo de erro de relatório aberto)
[Warn 18:33:47.425] DBus support could not be started. Disabling for this session. - System.MethodAccessException: Method 'DBus.BusObject:.ctor ()' is inaccessible from method 'org.freedesktop.DBus.IBusProxy:.ctor ()' (in '')
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_throw_method_access (intptr,intptr)
at org.freedesktop.DBus.IBusProxy..ctor () [0x00000] in <5e9f9b8a92fa4932beeb63a3b7678387>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <62f5937022004555807e6c57c33f6684>:0
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. (in 'mscorlib')
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <62f5937022004555807e6c57c33f6684>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <62f5937022004555807e6c57c33f6684>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <62f5937022004555807e6c57c33f6684>:0
at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x0000d] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x00018] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus..ctor (System.String address) [0x0000f] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus.Open (System.String address) [0x0002b] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus.get_System () [0x00035] in <a8017a4309ba4def9cf38b60b9629c38>:0
System.Exception: Unable to open the system message bus. (in 'dbus-sharp')
at DBus.Bus.get_System () [0x00052] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.BusG.Init () [0x00010] in <b1f3e777b0f64162a9da78c440c424af>:0
at Banshee.ServiceStack.DBusConnection.Connect (System.String serviceName, System.Boolean init) [0x0000e] in <99f7e179ad594d39980bd4cdff4666e4>:0
at Banshee.ServiceStack.DBusConnection.GrabDefaultName () [0x00018] in <99f7e179ad594d39980bd4cdff4666e4>:0
[Info 18:33:47.431] Running Banshee 2.6.2: [Ubuntu 16.04 LTS (linux-gnu, x86_64) @ 2016-04-18 13:50:09 UTC]
[Warn 18:33:47.644] Cannot connect to NetworkManager or Wicd - An available, working network connection will be assumed
[Warn 18:33:47.977] Initialization of accessibility support for ListView widgets failed - System.ArgumentException: Invalid signal name: model_changed (in 'glib-sharp')
at GLib.Signal.Emit (GLib.Object instance, System.String detailed_signal, System.Object[] args) [0x00024] in <940f51fcd0434c359bfa4fdc8e64ad03>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].EmitModelChanged () [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.ThreadAssist.ProxyToMain (Hyena.InvokeHandler handler) [0x0001e] in <0fee079eeafd43e6b86995114f87bc66>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].OnModelChanged (System.Object o, System.EventArgs a) [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T]..ctor (GLib.Object widget) [0x00098] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.ListViewAccessibleFactory'1[T].Init () [0x00007] in <f4af0c1f6fc2443393ddcbd304700600>:0
[Warn 18:33:47.998] Initialization of accessibility support for ListView widgets failed - System.ArgumentException: Invalid signal name: model_changed (in 'glib-sharp')
at GLib.Signal.Emit (GLib.Object instance, System.String detailed_signal, System.Object[] args) [0x00024] in <940f51fcd0434c359bfa4fdc8e64ad03>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].EmitModelChanged () [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.ThreadAssist.ProxyToMain (Hyena.InvokeHandler handler) [0x0001e] in <0fee079eeafd43e6b86995114f87bc66>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].OnModelChanged (System.Object o, System.EventArgs a) [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T]..ctor (GLib.Object widget) [0x00098] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.ListViewAccessibleFactory'1[T].Init () [0x00007] in <f4af0c1f6fc2443393ddcbd304700600>:0
[Warn 18:33:48.005] Initialization of accessibility support for ListView widgets failed - System.ArgumentException: Invalid signal name: model_changed (in 'glib-sharp')
at GLib.Signal.Emit (GLib.Object instance, System.String detailed_signal, System.Object[] args) [0x00024] in <940f51fcd0434c359bfa4fdc8e64ad03>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].EmitModelChanged () [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.ThreadAssist.ProxyToMain (Hyena.InvokeHandler handler) [0x0001e] in <0fee079eeafd43e6b86995114f87bc66>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].OnModelChanged (System.Object o, System.EventArgs a) [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T]..ctor (GLib.Object widget) [0x00098] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.ListViewAccessibleFactory'1[T].Init () [0x00007] in <f4af0c1f6fc2443393ddcbd304700600>:0
[Warn 18:33:48.008] Initialization of accessibility support for ListView widgets failed - System.ArgumentException: Invalid signal name: model_changed (in 'glib-sharp')
at GLib.Signal.Emit (GLib.Object instance, System.String detailed_signal, System.Object[] args) [0x00024] in <940f51fcd0434c359bfa4fdc8e64ad03>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].EmitModelChanged () [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.ThreadAssist.ProxyToMain (Hyena.InvokeHandler handler) [0x0001e] in <0fee079eeafd43e6b86995114f87bc66>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].OnModelChanged (System.Object o, System.EventArgs a) [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T]..ctor (GLib.Object widget) [0x00098] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.ListViewAccessibleFactory'1[T].Init () [0x00007] in <f4af0c1f6fc2443393ddcbd304700600>:0
[Warn 18:33:48.012] Initialization of accessibility support for ListView widgets failed - System.ArgumentException: Invalid signal name: model_changed (in 'glib-sharp')
at GLib.Signal.Emit (GLib.Object instance, System.String detailed_signal, System.Object[] args) [0x00024] in <940f51fcd0434c359bfa4fdc8e64ad03>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].EmitModelChanged () [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.ThreadAssist.ProxyToMain (Hyena.InvokeHandler handler) [0x0001e] in <0fee079eeafd43e6b86995114f87bc66>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T].OnModelChanged (System.Object o, System.EventArgs a) [0x00001] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.Accessibility.ListViewAccessible'1[T]..ctor (GLib.Object widget) [0x00098] in <f4af0c1f6fc2443393ddcbd304700600>:0
at Hyena.Data.Gui.ListViewAccessibleFactory'1[T].Init () [0x00007] in <f4af0c1f6fc2443393ddcbd304700600>:0
[Info 18:33:48.140] Updating web proxy from GConf
[Warn 18:33:48.152] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in 'Banshee.MultimediaKeys')
at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x000c5] in <29432e89a420438985eb3c0cf9aa9dd9>:0
at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x0003b] in <99f7e179ad594d39980bd4cdff4666e4>:0
[Warn 18:33:48.152] Extension 'Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Warn 18:33:48.167] Caught an exception - System.MethodAccessException: Method 'DBus.BusObject:.ctor ()' is inaccessible from method 'org.freedesktop.DBus.IBusProxy:.ctor ()' (in '')
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_throw_method_access (intptr,intptr)
at org.freedesktop.DBus.IBusProxy..ctor () [0x00000] in <5e9f9b8a92fa4932beeb63a3b7678387>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <62f5937022004555807e6c57c33f6684>:0
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. (in 'mscorlib')
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <62f5937022004555807e6c57c33f6684>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <62f5937022004555807e6c57c33f6684>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <62f5937022004555807e6c57c33f6684>:0
at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x0000d] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x00018] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus..ctor (System.String address) [0x0000f] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus.Open (System.String address) [0x0002b] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus.get_Session () [0x00035] in <a8017a4309ba4def9cf38b60b9629c38>:0
[Warn 18:33:48.167] Extension 'Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus.
[Warn 18:33:48.169] Caught an exception - System.ApplicationException: No support GNOME Settings Daemon could be reached. (in 'Banshee.MultimediaKeys')
at Banshee.MultimediaKeys.MultimediaKeysService.Banshee.ServiceStack.IExtensionService.Initialize () [0x000c5] in <29432e89a420438985eb3c0cf9aa9dd9>:0
at Banshee.ServiceStack.ServiceManager.StartExtension (Mono.Addins.TypeExtensionNode node) [0x0003b] in <99f7e179ad594d39980bd4cdff4666e4>:0
[Warn 18:33:48.169] Extension 'Banshee.MultimediaKeys.MultimediaKeysService' not started: No support GNOME Settings Daemon could be reached.
[Warn 18:33:48.171] Caught an exception - System.MethodAccessException: Method 'DBus.BusObject:.ctor ()' is inaccessible from method 'org.freedesktop.DBus.IBusProxy:.ctor ()' (in '')
at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_throw_method_access (intptr,intptr)
at org.freedesktop.DBus.IBusProxy..ctor () [0x00000] in <5e9f9b8a92fa4932beeb63a3b7678387>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <62f5937022004555807e6c57c33f6684>:0
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. (in 'mscorlib')
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <62f5937022004555807e6c57c33f6684>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <62f5937022004555807e6c57c33f6684>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <62f5937022004555807e6c57c33f6684>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <62f5937022004555807e6c57c33f6684>:0
at DBus.BusObject.GetObject (DBus.Connection conn, System.String bus_name, DBus.ObjectPath object_path, System.Type declType) [0x0000d] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Connection.GetObject (System.Type type, System.String bus_name, DBus.ObjectPath path) [0x00018] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Connection.GetObject[T] (System.String bus_name, DBus.ObjectPath path) [0x00001] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus..ctor (System.String address) [0x0000f] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus.Open (System.String address) [0x0002b] in <a8017a4309ba4def9cf38b60b9629c38>:0
at DBus.Bus.get_Session () [0x00035] in <a8017a4309ba4def9cf38b60b9629c38>:0
[Warn 18:33:48.171] Extension 'Banshee.SoundMenu.SoundMenuService' not started: Unable to open the session message bus.
[Info 18:33:48.172] All services are started 0.593438
[Info 18:33:48.595] nereid Client Started
[Info 18:33:48.626] GStreamer version 1.8.0.0, gapless: True, replaygain: False
política de apt-cache mono-completa
mono-complete:
Installed: 5.4.1.6-0xamarin1+ubuntu1604b1
Candidate: 5.4.1.6-0xamarin1+ubuntu1604b1
Version table:
*** 5.4.1.6-0xamarin1+ubuntu1604b1 500
500 http://download.mono-project.com/repo/ubuntu xenial/main amd64 Packages
100 /var/lib/dpkg/status
4.2.1.102+dfsg2-7ubuntu4 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
banshee da política do apt-cache
banshee:
Installed: 2.9.0+really2.6.2-7ubuntu2
Candidate: 2.9.0+really2.6.2-7ubuntu2
Version table:
*** 2.9.0+really2.6.2-7ubuntu2 500
500 http://us.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
100 /var/lib/dpkg/status
serviço dbus status
● dbus.service - D-Bus System Message Bus
Loaded: loaded (/lib/systemd/system/dbus.service; static; vendor preset: enabled)
Active: active (running) since Sun 2018-01-14 17:58:39 MST; 36min ago
Docs: man:dbus-daemon(1)
Main PID: 1118 (dbus-daemon)
CGroup: /system.slice/dbus.service
├─1118 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
└─4953 /usr/lib/x86_64-linux-gnu/fwupd/fwupd
Jan 14 18:21:49 Xaos-OryxP dbus-daemon[1118]: Unknown username "geoclue" in message bus configuration file
Jan 14 18:21:49 Xaos-OryxP dbus[1118]: [system] Reloaded configuration
Jan 14 18:22:46 Xaos-OryxP dbus[1118]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jan 14 18:22:46 Xaos-OryxP dbus[1118]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 14 18:23:59 Xaos-OryxP dbus[1118]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jan 14 18:23:59 Xaos-OryxP dbus[1118]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 14 18:25:13 Xaos-OryxP dbus[1118]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jan 14 18:25:13 Xaos-OryxP dbus[1118]: [system] Successfully activated service 'org.freedesktop.hostname1'
Jan 14 18:33:56 Xaos-OryxP dbus[1118]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
Jan 14 18:33:56 Xaos-OryxP dbus[1118]: [system] Successfully activated service 'org.freedesktop.hostname1'