[Banshee-List] Error running banshee with community-extensions with newly created extension




Hi folks, hope this is the right mailing list as i am not 100% sure if community-extension topics are discussed here.

As I want tot develop a new banshee extension, I followed the instructions here: http://banshee.fm/contribute/write-extensions/ to grab community-extension from git and built-it. The create-extension script finishes without errors, however after build when i try "make run" banshee does not start up but throws an exception:

Here is the complete output from "./create-extension Foo":

td@develbox:~/Projects/banshee-community-extensions> ./create-extension Foo
Creating new extension: 'Foo'
================================================================================

Running ./autogen.sh
Running make

================================================================================
================================================================================
Your extension has been created, and all the necessary files ready
to commit to git:

# On branch master
# Changes to be committed:
#   (use "git reset HEAD <file>..." to unstage)
#
#	modified:   Extensions.sln
#	modified:   configure.ac
#	new file:   src/Foo/Banshee.Foo/FooSource.cs
#	new file:   src/Foo/Foo.addin.xml
#	new file:   src/Foo/Foo.csproj
#	new file:   src/Foo/Makefile.am
#	modified:   src/Makefile.am
#

You can commit it now, or after you've started customizing it!

You can undo the creation of this extension, and revert to the last commit with
git reset --hard HEAD

You can run Banshee with your newely created extension right now! Just run:
make run

NOTE: Do not forget to enable your extension within Preferences > Extensions
<<< end of create-extension output>>>


Here is the output of "make run", including the stacktrace of the exception (running banshee normally without make run works for 2.1.3 without problems):

td@develbox:~/Projects/banshee-community-extensions> make run
** Running Mono with --debug   **
[1 Info 17:28:49.795] Running Banshee 2.1.3: [Banshee:Unstable / Banshee_openSUSE_11.4 (linux-gnu, i686) @ 2011-08-29 21:19:56 UTC]
[1 Debug 17:28:49.860] Initializing GTK
Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Could not read add-in description at Mono.Addins.Addin.get_Description () [0x0006a] in /usr/src/packages/BUILD/mono-addins-0.6.1/Mono.Addins/Mono.Addins/Addin.cs:257 at Mono.Addins.Database.AddinDatabase.InternalGetInstalledAddins (System.String domain, System.String idFilter, AddinSearchFlagsInternal type) [0x000bb] in /usr/src/packages/BUILD/mono-addins-0.6.1/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:255 at Mono.Addins.Database.AddinDatabase.InternalGetInstalledAddins (System.String domain, AddinSearchFlagsInternal type) [0x00000] in /usr/src/packages/BUILD/mono-addins-0.6.1/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:226 at Mono.Addins.Database.AddinDatabase.Update (IProgressStatus monitor, System.String domain) [0x0009b] in /usr/src/packages/BUILD/mono-addins-0.6.1/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:1036 at Mono.Addins.Database.AddinDatabase.Repair (IProgressStatus monitor, System.String domain) [0x00093] in /usr/src/packages/BUILD/mono-addins-0.6.1/Mono.Addins/Mono.Addins.Database/AddinDatabase.cs:1004 at Mono.Addins.AddinRegistry.Rebuild (IProgressStatus monitor) [0x00000] in /usr/src/packages/BUILD/mono-addins-0.6.1/Mono.Addins/Mono.Addins/AddinRegistry.cs:626 at Banshee.ServiceStack.ServiceManager.InitializeAddins () [0x00075] in /usr/src/packages/BUILD/banshee-2.1.3/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:86 at Banshee.ServiceStack.ServiceManager.DefaultInitialize () [0x00005] in /usr/src/packages/BUILD/banshee-2.1.3/src/Core/Banshee.Services/Banshee.ServiceStack/ServiceManager.cs:119 at Banshee.ServiceStack.Application.Initialize () [0x00000] in /usr/src/packages/BUILD/banshee-2.1.3/src/Core/Banshee.Services/Banshee.ServiceStack/Application.cs:80 at Banshee.Gui.GtkBaseClient.Initialize (Boolean registerCommonServices) [0x00010] in /usr/src/packages/BUILD/banshee-2.1.3/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:143 at Banshee.Gui.GtkBaseClient..ctor (Boolean initializeDefault, System.String defaultIconName) [0x00013] in /usr/src/packages/BUILD/banshee-2.1.3/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:95
  at Banshee.Gui.GtkBaseClient..ctor () [0x00000] in <filename unknown>:0
  at Nereid.Client..ctor () [0x00000] in <filename unknown>:0
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00119] in /usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:526
  --- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0012c] in /usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:532 at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in /usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/System.Reflection/MonoMethod.cs:541 at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x0000e] in /usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:62 at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x000b5] in /usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/System/Activator.cs:333 at System.Activator.CreateInstance (System.Type type) [0x00000] in /usr/src/packages/BUILD/mono-2.10.2/mcs/class/corlib/System/Activator.cs:224 at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in /usr/src/packages/BUILD/banshee-2.1.3/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:82 at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00044] in /usr/src/packages/BUILD/banshee-2.1.3/src/Hyena/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54
make: *** [run] Error 1


I am on openSUSE 11.4, with banshee 2.1.3 installed from the Unstable/ repo from http://download.opensuse.org/repositories/Banshee:/Unstable/Banshee_openSUSE_11.4/ and mono installed from the repo: http://ftp.novell.com/pub/mono/download-stable/openSUSE_11.4

Using banshee stable with latest git of community-extension does not work, as banshee-thickclient > 2.1.0 is needed.

Here the output of some modversion vom pkg-config:

td@develbox:~/Projects/banshee-community-extensions> pkg-config --modversion banshee-core
2.1.3
td@develbox:~/Projects/banshee-community-extensions> pkg-config --modversion banshee-thickclient
2.1.3
td@develbox:~/Projects/banshee-community-extensions> pkg-config --modversion mono-addins
0.6.1
td@develbox:~/Projects/banshee-community-extensions> pkg-config --modversion mono
2.10.2


Is this a bug in banshee / mono-addins / community-extension or am I missing something here?


Greetings,
T. Doerr


--
Erstellt mit Operas revolutionärem E-Mail-Modul: http://www.opera.com/mail/


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