One more thing (sorry for overloading your inboxes)
Now that I uninstalled the native Ubuntu Banshee package and cleaned the folders, I went through "autogen.sh", "make" and "sudo make install", and now the error is different, being about missing "Nereid.exe" :
[1 Debug 14:21:42.921] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner
Unhandled Exception:
System.IO.FileNotFoundException: Could not load file or assembly '/usr/lib/banshee/Nereid.exe' or one of its dependencies
File name: '/usr/lib/banshee/Nereid.exe'
at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile, System.Security.Policy. Evidence securityEvidence) <0x7f0ba45a1880 + 0x00016> in <filename unknown>:0
at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy. Evidence assemblySecurity, System.String[] args) <0x7f0ba452df70 + 0x00023> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security. Policy.Evidence,string[])
at System.AppDomain.ExecuteAssembly (System.String assemblyFile) <0x7f0ba452df10 + 0x0001c> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string)
at Booter.Booter.BootClient (System.String clientName) <0x41a7a570 + 0x00092> in <filename unknown>:0
at Booter.Booter.Main () <0x41a30d50 + 0x001bf> in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.IO.FileNotFoundException: Could not load file or assembly '/usr/lib/banshee/Nereid.exe' or one of its dependencies
File name: '/usr/lib/banshee/Nereid.exe'
at (wrapper managed-to-native) System.Reflection.Assembly:LoadFrom (string,bool)
at System.Reflection.Assembly.LoadFrom (System.String assemblyFile, System.Security.Policy. Evidence securityEvidence) <0x7f0ba45a1880 + 0x00016> in <filename unknown>:0
at System.AppDomain.ExecuteAssembly (System.String assemblyFile, System.Security.Policy. Evidence assemblySecurity, System.String[] args) <0x7f0ba452df70 + 0x00023> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string,System.Security. Policy.Evidence,string[])
at System.AppDomain.ExecuteAssembly (System.String assemblyFile) <0x7f0ba452df10 + 0x0001c> in <filename unknown>:0
at (wrapper remoting-invoke-with-check) System.AppDomain:ExecuteAssembly (string)
at Booter.Booter.BootClient (System.String clientName) <0x41a7a570 + 0x00092> in <filename unknown>:0
at Booter.Booter.Main () <0x41a30d50 + 0x001bf> in <filename unknown>:0
A quick search points me toward my Mono version could be the culprit. I installed "mono-complete", and on Ubuntu 16.10, this currently install Mono 4.2.1. Which Mono version do you use?
Again, any help is very appreciated.
Thank,
Christian
Le 2017-01-05 à 14:16, Christian Perreault a écrit :
Hi again!
Thanks! I installed gtk-sharp from the GitHub master branch, which produces version 2.99.4, and the "make" process worked!
Before that, I reran "autogen.sh". Then, I did "sudo make install", which installed Banshee under /usr/lib/banshee/.
However, Banshee does not start correctly. When I run "/usr/lib/banshee/Banshee.exe --debug", I receive the log available at http://www.heypasteit.com/
clip/3A52 , where we can see this error :System.Reflection.
TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeLoadException: Could not load type 'Banshee.GStreamer. PlayerEngine' from assembly 'Banshee.GStreamer, Version=2.6.0.0, Culture=neutral, PublicKeyToken=null'. Do you have any idea on how to solve? Did I install it correctly?
I would love to be able to run Banshee from a compiled source code, because it means that I'll be able to dive into its development, something I wish for several years, but I never succeeded in completing this cycle.
Thanks,
Christian
Le 2017-01-05 à 13:42, Nicholas Little via banshee-list a écrit :
Hi Christian, Sorry to hear about the errors you encountered when compiling, I don't think you're missing a dependency but it sounds like you'll need to install a later version of gtk-sharp than is provided by your distribution to correct that error, for reference I install from git [1] and this is the metadata from the resulting package config file (installed at /usr/lib64/pkgconfig) for comparison with what you have: Name: Gtk# Description: Gtk# - GNOME .NET Binding Version: 2.99.4 Cflags: -I:${gapidir}/pango-api.xml -I:${gapidir}/atk-api.xml -I:${gapidir}/gtk-api.xml Libs: -r:${libdir}/mono/gtk-sharp-3.0/cairo-sharp.dll -r:${libdir}/mono/gtk-sharp-3. 0/pango-sharp.dll -r:${libdir}/mono/gtk-sharp-3. 0/atk-sharp.dll -r:${libdir}/mono/gtk-sharp-3. 0/gtk-sharp.dll Requires: glib-sharp-3.0 gio-sharp-3.0 gdk-sharp-3.0 I'm an autotools novice so it'll be good practise to add a macro to check the version (feel free to beat me to it, I have nothing against pull requests) though I'm not 100% certain on whether 2.99.4 is needed or if you could get away with just 2.99.1. Hope that helps. Nicholas. [1] https://github.com/mono/gtk- sharp On 5 January 2017 at 16:37, Christian Perreault <christian.perreault.2@gmail.com> wrote:Hi Nicholas, I tried to build your "feature/lite" branch on Ubuntu 16.10 and I encounter these errors : [1 Debug 14:21:42.921] Bus.Session.RequestName ('org.bansheeproject.Banshee') replied with PrimaryOwner Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly '/usr/lib/banshee/Nereid.exe' or one of its dependencies File name: '/usr/lib/banshee/Nereid.exe' at (wrapper managed-to-native) System.Reflection.Assembly: LoadFrom (string,bool) at System.Reflection.Assembly. LoadFrom (System.String assemblyFile, System.Security.Policy. Evidence securityEvidence) <0x7f0ba45a1880 + 0x00016> in <filename unknown>:0 at System.AppDomain. ExecuteAssembly (System.String assemblyFile, System.Security.Policy. Evidence assemblySecurity, System.String[] args) <0x7f0ba452df70 + 0x00023> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.AppDomain: ExecuteAssembly (string,System.Security. Policy.Evidence,string[]) at System.AppDomain. ExecuteAssembly (System.String assemblyFile) <0x7f0ba452df10 + 0x0001c> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.AppDomain: ExecuteAssembly (string) at Booter.Booter.BootClient (System.String clientName) <0x41a7a570 + 0x00092> in <filename unknown>:0 at Booter.Booter.Main () <0x41a30d50 + 0x001bf> in <filename unknown>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.IO. FileNotFoundException: Could not load file or assembly '/usr/lib/banshee/Nereid.exe' or one of its dependencies File name: '/usr/lib/banshee/Nereid.exe' at (wrapper managed-to-native) System.Reflection.Assembly: LoadFrom (string,bool) at System.Reflection.Assembly. LoadFrom (System.String assemblyFile, System.Security.Policy. Evidence securityEvidence) <0x7f0ba45a1880 + 0x00016> in <filename unknown>:0 at System.AppDomain. ExecuteAssembly (System.String assemblyFile, System.Security.Policy. Evidence assemblySecurity, System.String[] args) <0x7f0ba452df70 + 0x00023> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.AppDomain: ExecuteAssembly (string,System.Security. Policy.Evidence,string[]) at System.AppDomain. ExecuteAssembly (System.String assemblyFile) <0x7f0ba452df10 + 0x0001c> in <filename unknown>:0 at (wrapper remoting-invoke-with-check) System.AppDomain: ExecuteAssembly (string) at Booter.Booter.BootClient (System.String clientName) <0x41a7a570 + 0x00092> in <filename unknown>:0 at Booter.Booter.Main () <0x41a30d50 + 0x001bf> in <filename unknown>:0 [...] Making all in Gtk.Extra MCS ../../../bin/Gtk.Extra.dll ./Gtk/Popover.cs(30,48): error CS0234: The type or namespace name `MenuModel' does not exist in the namespace `GLib'. Are you missing an assembly reference? ./Gtk/Popover.cs(149,30): error CS0234: The type or namespace name `MenuModel' does not exist in the namespace `GLib'. Are you missing an assembly reference? Compilation failed: 2 error(s), 0 warnings The autogen.sh does not complain about any missing dependency (see it at http://www.heypasteit.com/ clip/3A4E ) For the full "make" log, please see it at http://www.heypasteit.com/clip/3A4F . Am I missing a dependency, is it a code problem or something else? Thanks a lot in advance for any help, Christian Le 2016-12-30 à 06:22, Nicholas Little via banshee-list a écrit : Hi folks, I've been working on my copy of Banshee over the holiday season and thought some of you might be interested in some changes I've implemented there: - revised auto-tools setup: > vanilla autoreconf now works; > --enable-x switches added for all extensions; > some components like the Clients and DAP are also covered; > some tweaks to mono discovery to look in extra places. - improved DAP user experience for MTP: > no-longer try to auto-connect, instead; > display the potential source interface and connect without UI swapping; > it's no faster, but it feels better. - mostly new user interface, I thought Banshee was looking a little old: > with luck this will be lighter, for example it doesn't have filters; > slightly different layout, focus on saving real estate; > couple of new widgets; > uses gtk3 HeaderBar so far, Popovers are planned. If you check the source you'll notice a somewhat experimental feature --enable-treeview, which switches Banshee's track list to use an Hyena widget that inherits from the Gtk.TreeView widget and exposes the protected interface for ListView, it mostly works as a drop in replacement though drag and drop is a bit tricky and the album browser isn't supported by it. On the other hand you get kinetic scrolling and it feels pretty snappy. A few bug fixes went into this too, if you want to take a look, the work is on branch feature/lite: https://github.com/arfbtwn/banshee.git Anyway, if you've read this far and have some changes of your own that you want to share then I'd be interested to see them. Hope you all had a great holiday, cheers! _______________________________________________ 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)