Re: [Banshee-List] Make errors Banshee 2.6, 2.6.2 & master



Hi!
Thanks for these instructions: I am now focusing on banshee-master.

I could compile gstreamer-sharp master (requiring glib-sharp-master) successfully on my Ubuntu 15.04. (I am using ./autogen.sh --prefix=/usr && make && sudo make install).

Now banshee-master compiles! (I am using ./autogen.sh && make && sudo make install). But I encounter this error concerning gstreamer-sharp:

[...]$ banshee --debug
** Running Mono with --debug  --profile="" **
*** Running with gui-thread-check ***
[1 Debug 16:33:39.609] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
[1 Info  16:33:39.624] Running Banshee 2.9.2: [git-checkout (linux-gnu, x86_64) @ 2015-05-11 16:31:22 EDT]
[1 Debug 16:33:39.630] Initializing GTK
*** GUI THREAD INITIALIZED: 1549297536
[1 Debug 16:33:41.245] Post-Initializing GTK
[1 Debug 16:33:41.257] Configuration client extension loaded (Banshee.GnomeBackend.GConfConfigurationClient)
[1 Debug 16:33:41.260] Using default gconf-base-key
[1 Debug 16:33:41.350] Core service started (DBusServiceManager, 0,001038)
[1 Debug 16:33:41.352] Registering remote object /org/bansheeproject/Banshee/DBusCommandService (Banshee.ServiceStack.DBusCommandService) on org.bansheeproject.Banshee
[1 Debug 16:33:41.359] Core service started (DBusCommandService, 0,007641)
[1 Debug 16:33:41.398] Opened SQLite (version 3.8.7.4) connection to /home/chrisperro/.config/banshee-1/banshee.db
[1 Debug 16:33:41.399] Core service started (DbConnection, 0,040173)
[1 Debug 16:33:41.403] Database version 45 is up to date
[1 Debug 16:33:41.427] Core service started (PreferenceService, 0,01231)
[1 Debug 16:33:41.433] Core service started (Network, 0,005158)
[1 Debug 16:33:41.433] Registering remote object /org/bansheeproject/Banshee/SourceManager (Banshee.Sources.SourceManager) on org.bansheeproject.Banshee
[1 Debug 16:33:41.433] Core service started (SourceManager, 0,000635)
[1 Debug 16:33:41.437] Core service started (MediaProfileManager, 0,000195)
[1 Debug 16:33:41.439] Registering remote object /org/bansheeproject/Banshee/PlayerEngine (Banshee.MediaEngine.PlayerEngineService) on org.bansheeproject.Banshee
[1 Debug 16:33:41.440] Core service started (PlayerEngine, 0,003103)
[1 Error 16:33:41.448] Error initializing required service PlayerEngine
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: An exception was thrown by the type initializer for Gst.Version ---> System.DllNotFoundException: libgstreamer-1.0-0.dll
  at (wrapper managed-to-native) Gst.Version:gst_version (uint&,uint&,uint&,uint&)
  at Gst.Version..cctor () [0x00015] in /home/chrisperro/dev/banshee/gstreamer-sharp-master/sources/custom/Version.cs:40
  --- End of inner exception stack trace ---
  at Banshee.GStreamerSharp.PlayerEngine..ctor () [0x00050] in /home/chrisperro/dev/banshee/banshee-master/src/Backends/Banshee.GStreamerSharp/Banshee.GStreamerSharp/PlayerEngine.cs:302
  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) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0
  at Mono.Addins.TypeExtensionNode.CreateInstance () [0x00000] in <filename unknown>:0
  at Mono.Addins.InstanceExtensionNode.CreateInstance (System.Type expectedType) [0x00000] in <filename unknown>:0
  at Banshee.MediaEngine.PlayerEngineService.LoadEngine (Mono.Addins.TypeExtensionNode node) [0x0000d] in /home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs:150
  at Banshee.MediaEngine.PlayerEngineService.Banshee.ServiceStack.IInitializeService.Initialize () [0x00069] in /home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.Services/Banshee.MediaEngine/PlayerEngineService.cs:96
  at Banshee.ServiceStack.ServiceManager.RegisterService (System.Type type) [0x00062] in /home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:179
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0
  at Banshee.Gui.GtkBaseClient.Startup () [0x00001] in /home/chrisperro/dev/banshee/banshee-master/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:79
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00050] in /home/chrisperro/dev/banshee/banshee-master/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.

Do you know what's happening here?


Besides, the main features I would like to implement in Banshee are:
  1. Right click context menu on songs in the Play queue as in the library (to add them to a list, rate them, etc.);
  2. Automatic Play Queue filler with "1 song per year".
  3. ReplayGain pre-amp;


Thanks,
Christian



Le 2015-05-09 11:34, Bertrand Lorentz a écrit :
Hello,

For the error when compiling Banshee 2.6:
The code is indeed quite old, so it uses methods in Mono.Cairo that have been since then marked as deprecated. As the compilation is done with the "-warnaserror" option on, the deprecation warnings cause the compilation to fail.
In any case, I wouldn't advise working on the 2.6 branch. Better to do what you want in git master, then we'll look into back-porting to the 2.6 branch.

The gstreamer-sharp errors don't happen with the latest for its git master. They were probably fixed since then. I've just committed some changes to Banshee git master, so it should now build against the latest gstreamer-sharp.
Sorry for all this trouble, Banshee master currently depends on a bunch of unreleased stuff, and things are not all nice and tidy...

Happy hacking !

--
Bertrand


On Tue, May 5, 2015 at 4:45 PM, Christian Perreault <christian perreault 2 gmail com> wrote:
Hi!
I am trying to begin developing Banshee, primarily to try to fix the slow SQLite queries that makes Banshee completely unusable on Ubuntu 15.04 (see references below). I am new and I need some help to better understand the project, its developing tools, etc.

I cloned code from the official Git repository. So far, so good (!), but when trying to compile Banshee 2.6 or Banshee 2.6.2 on Ubuntu 15.04 or 14.04, it fails due mainly to deprecated code incompatibility mainly with Hyena submodule. Please see "banshee-2.6-make-errors.txt" file attached. Autogen.sh says that all dependencies are satisfied. I looks like Hyena is automatically downloaded by autogen.sh, so I am wondering what's wrong here: I am missing something on my computer or it is normal that Banshee's code is broken/deprecated in these branches?

Also, when trying to compile code from the master branch, autogen.sh says that I am missing the gstreamer-sharp dependency and it looks that it requires precisely its version 0.99.0. When trying to compile it (code from https://github.com/gstreamer-sharp/gstreamer-sharp/releases/tag/0.99.0) ON Ubuntu 15.04, I encounter errors there too. Please see "gstreamer-sharp-0.99.0-make-errors.txt" file attached.

So I am kind of stuck here. Does anybody knows what's going on?

Thanks in advance for any help and please let me know if I should provide more info to better understand the problems.

Best,
Christian


References:
  1. Other related list thread: https://mail.gnome.org/archives/banshee-list/2015-April/msg00019.html
  2. Banshee Bug #1447956: https://bugs.launchpad.net/ubuntu/+source/banshee/+bug/1447956
--
Christian Perreault

_______________________________________________
banshee-list mailing list
banshee-list gnome org
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



_______________________________________________
banshee-list mailing list
banshee-list gnome org
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]