| Members: 353 | Topics: 767 | Posts: 3211We welcome our newest member: ClintBarton
Banshee doesn't start
|
|
|
|
|
|
Banshee catches an unhandled exception when started | |
|
Banshee doesn't start | |
|
|
Mitglied Posts: 70 Registered: 2008-08-24 | I installed the package "banshee" from the main repo (testing) but it seems like it misses at least one dependency (ipod-sharp) which is installed on my box:
Zitat | | [alessandro@voyager:~]$ banshee-1
[Info 20:29:30.761] Running Banshee 1.2.1
[Warn 20:29:33.678] Service `Nereid.PlayerInterface' not started: Could not load file or assembly 'ipod-sharp, Version=0.0.1.0, Culture=neutral, PublicKeyToken=536f152cecbf758a' or one of its dependencies. The system cannot find the file specified.
[Warn 20:29:33.684] Caught an exception - Could not load file or assembly 'ipod-sharp, Version=0.0.1.0, Culture=neutral, PublicKeyToken=536f152cecbf758a' or one of its dependencies. The system cannot find the file specified. (in `mscorlib')
at (wrapper managed-to-native) System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence,bool)
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x00000]
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName,System.Security.Policy.Evidence)
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000]
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName)
at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00000]
at GLib.GType.FindTypeInReferences (System.String type_name, System.Reflection.Assembly asm, System.Collections.Hashtable visited) [0x00000]
at GLib.GType.LookupType (IntPtr typeid) [0x00000]
at GLib.ObjectManager.GetTypeOrParent (IntPtr obj) [0x00000]
at GLib.ObjectManager.CreateObject (IntPtr raw) [0x00000]
at GLib.Object.GetObject (IntPtr o, Boolean owned_ref) [0x00000]
at GLib.Object.GetObject (IntPtr o) [0x00000]
at Gtk.Widget.get_Screen () [0x00000]
at Bacon.VolumeButton.BuildPopup (Double min, Double max, Double step) [0x00000]
at Bacon.VolumeButton..ctor (Double min, Double max, Double step, IconSize size) [0x00000]
at Bacon.VolumeButton..ctor () [0x00000]
at Banshee.Gui.Widgets.ConnectedVolumeButton..ctor () [0x00000]
at Nereid.PlayerInterface.BuildHeader () [0x00000]
at Nereid.PlayerInterface.BuildPrimaryLayout () [0x00000]
at Nereid.PlayerInterface.Initialize () [0x00000]
at Banshee.Gui.BaseClientWindow.InitializeWindow () [0x00000]
at Banshee.Gui.BaseClientWindow..ctor (System.String title) [0x00000]
at Nereid.PlayerInterface..ctor () [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[])
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.IO.FileNotFoundException: Could not load file or assembly 'ipod-sharp, Version=0.0.1.0, Culture=neutral, PublicKeyToken=536f152cecbf758a' or one of its dependencies. The system cannot find the file specified.
File name: 'ipod-sharp, Version=0.0.1.0, Culture=neutral, PublicKeyToken=536f152cecbf758a'
at (wrapper managed-to-native) System.AppDomain:LoadAssembly (string,System.Security.Policy.Evidence,bool)
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef, System.Security.Policy.Evidence assemblySecurity) [0x00000]
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName,System.Security.Policy.Evidence)
at System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef) [0x00000]
at (wrapper remoting-invoke-with-check) System.AppDomain:Load (System.Reflection.AssemblyName)
at System.Reflection.Assembly.Load (System.Reflection.AssemblyName assemblyRef) [0x00000]
at GLib.GType.FindTypeInReferences (System.String type_name, System.Reflection.Assembly asm, System.Collections.Hashtable visited) [0x00000]
at GLib.GType.LookupType (IntPtr typeid) [0x00000]
at GLib.ObjectManager.GetTypeOrParent (IntPtr obj) [0x00000]
at GLib.ObjectManager.CreateObject (IntPtr raw) [0x00000]
at GLib.Object.GetObject (IntPtr o, Boolean owned_ref) [0x00000]
at GLib.Object.GetObject (IntPtr o) [0x00000]
at Gtk.Window.get_Screen () [0x00000]
at X11NotificationArea.OnRealized () [0x00000]
at Gtk.Widget.realized_cb (IntPtr widget) [0x00000]
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
at Gtk.Widget.realized_cb(IntPtr widget)
at Gtk.Widget.realized_cb(IntPtr )
at Gtk.Widget.gtk_widget_show_all(IntPtr )
at Gtk.Widget.gtk_widget_show_all(IntPtr )
at Gtk.Widget.ShowAll()
at Banshee.NotificationArea.X11NotificationAreaBox..ctor()
at Banshee.NotificationArea.NotificationAreaService.BuildNotificationArea()
at Banshee.NotificationArea.NotificationAreaService.ServiceStartup()
at Banshee.NotificationArea.NotificationAreaService.Banshee.ServiceStack.IExtensionService.Initialize()
at Banshee.ServiceStack.ServiceManager.StartExtension(Mono.Addins.TypeExtensionNode node)
at Banshee.ServiceStack.ServiceManager.Run()
at Banshee.ServiceStack.Application.Run()
at Banshee.Gui.GtkBaseClient.Initialize(Boolean registerCommonServices)
at Banshee.Gui.GtkBaseClient..ctor(Boolean initializeDefault, System.String defaultIconName)
at Banshee.Gui.GtkBaseClient..ctor()
at Nereid.Client..ctor()
at System.Reflection.MonoCMethod.InternalInvoke(System.Object , System.Object[] )
at System.Reflection.MonoCMethod.InternalInvoke(System.Object , System.Object[] )
at System.Reflection.MonoCMethod.Invoke(System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
at System.Reflection.MonoCMethod.Invoke(BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture)
at System.Reflection.ConstructorInfo.Invoke(System.Object[] parameters)
at System.Activator.CreateInstance(System.Type type, Boolean nonPublic)
at System.Activator.CreateInstance(System.Type type)
at Banshee.Gui.GtkBaseClient.Startup()
at Hyena.Gui.CleanRoomStartup.Startup(Hyena.Gui.StartupInvocationHandler startup)
at Banshee.Gui.GtkBaseClient.Entry()
at Nereid.Client.Main(System.String[] args) |
EDIT - It seems a problem related to a version mismatch: Banshee requires ipod-sharp 0.0.1.0 but the version available in the main repo is the 0.8.0. .............................. Running GNU/Linux Paldo 1.18 (unstable). Rock my box! |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Mitglied Posts: 70 Registered: 2008-08-24 | |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | thx for looking into it. patch committed. |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Mitglied Posts: 70 Registered: 2008-08-24 | Zitat | | Original erstellt: 2008-08-27 21:46 von Amnon82
thx for looking into it. patch committed. |
You're welcome! .............................. Running GNU/Linux Paldo 1.18 (unstable). Rock my box! |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | U2  |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | Just tested it with the latest svn checkout:
http://pastebin.com/m21dd3070
Seems it still don't find ipod-sharp. It is at the right place. Looking now into the configure. |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Mitglied Posts: 70 Registered: 2008-08-24 | Try with these:
Code | [In neuem Fenster öffnen] | | [alessandro@voyager:/usr/lib/banshee-1/Extensions]$ sudo gacutil -i ipod-sharp.dll
Installed ipod-sharp.dll into the gac (/usr/lib/mono/gac)
[alessandro@voyager:/usr/lib/banshee-1/Extensions]$ sudo gacutil -i ipod-sharp-ui.dll
Installed ipod-sharp-ui.dll into the gac (/usr/lib/mono/gac)
[alessandro@voyager:/usr/lib/banshee-1/Extensions]$ banshee-1
[Info 17:46:11.505] Running Banshee 1.2.1
[Info 17:46:14.502] All services are started 2,68655s
[Info 17:46:15.560] nereid Client Started |
Those two commands should be executed automatically by upkg after the installation. Doing so the patch posted in GNOME BugZilla can be safely removed.
IMPORTANT: When updating ipod-sharp you should first unregister the old version from GAC with "gacutil -u ipod-sharp" and "gacutil -u ipod-sharp-ui". .............................. Running GNU/Linux Paldo 1.18 (unstable). Rock my box! |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | ipod-sharp spec revented.
banshee spec updated. |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Mitglied Posts: 70 Registered: 2008-08-24 | Maybe I didn't explain myself. When I talk about "after installation" I don't mean "after make install" I mean when the user invoke "upkg-install ipod-sharp"!
In that way Banshee keeps crashing because the ipod-sharp library will be registered in the GAC of the computer you *compile* the package, not the one in which you install the package!
Somehow we should instruct upkg to register those two libraries (ipod-sharp and ipod-sharp-ui) when the user install the package... If upkg doesn't support Banshee can't work out-of-box but the user should manually register those libraries in the GAC before starting the player for the first time.
EDIT: Found the trick!
From "man upkg", SPECIFICATION section, <release> paragtaph:
Zitat | | The child elements 'settings', 'deps', 'preinst', 'build', 'postinst', 'prerm', 'postrm', 'config', and 'postbuild' are all optional but may only occur once and only in the specified order. |
The spec file should look like this:
Code | [In neuem Fenster öffnen] | | <?xml version="1.0"?>
<package name="ipod-sharp">
<description>Library that allows manipulation of the iTunesDB</description>
<releases>
<release version="0.8.0" revision="3" branch="testing">
<deps>
<dep name="gtk-sharp-2.0"/>
<dep name="libipoddevice"/>
<dep name="mono"/>
<dep name="monodoc"/>
<dep name="podsleuth"/>
</deps>
<build>
<script>
<archive name="ipod-sharp-$VERSION">
<cmd>./configure --prefix=/usr --disable-docs</cmd>
<cmd>make</cmd>
<cmd>make install</cmd>
</archive>
</script>
</build>
<postinst>
<!-- unregistring old ipod-sharp if any -->
<cmd>gacutil -u ipod-sharp</cmd>
<cmd>gacutil -u ipod-sharp-ui</cmd>
<!-- registring ipod-sharp -->
<cmd>gacutil -i ipod-sharp.dll</cmd>
<cmd>gacutil -i ipod-sharp-ui.dll</cmd>
</postinst>
</release>
</releases>
</package> | .............................. Running GNU/Linux Paldo 1.18 (unstable). Rock my box! |
|
|
|
|
|
Re: Banshee doesn't start | |
|
|
Moderator Linux-Dude Posts: 1187 Registered: 2006-11-23 | see modded post above:
Code | [In neuem Fenster öffnen] | | <archive name="banshee-1-$VERSION">
<cmd>./configure --prefix=/usr</cmd>
<cmd>make</cmd>
<cmd>make install</cmd>
<!-- unregistring old ipod-sharp if any -->
<cmd>gacutil -u ipod-sharp</cmd>
<cmd>gacutil -u ipod-sharp-ui</cmd>
<!-- registring ipod-sharp -->
<cmd>gacutil -i /usr/lib/banshee-1/Extensions/ipod-sharp.dll</cmd>
<cmd>gacutil -i /usr/lib/banshee-1/Extensions/ipod-sharp-ui.dll</cmd>
</archive> |
|
|
|
|
|
|
This topic contains further posts. Next |
|
Page: 1 2 |
| |