dbus-sharp issue

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

dbus-sharp issue

lister171254
In trying to resolve the issue I reported in regards to not being able to
load media, I broke the installed (working) version of Banshee.

Have removed/reinstalled Banshee, mono, etc without any luck
When I start Banshee I get the following error
---------------
Unhandled Exception:
System.TypeLoadException: Could not load type of field
'Banshee.ServiceStack.DBusServiceManager:registered_objects' (1) due to:
Could not load file or assembly 'dbus-sharp, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
dependencies. assembly:dbus-sharp, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=5675b0c3093115b5 type:<unknown type> member:<none>
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load
type of field 'Banshee.ServiceStack.DBusServiceManager:registered_objects'
(1) due to: Could not load file or assembly 'dbus-sharp, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
dependencies. assembly:dbus-sharp, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=5675b0c3093115b5 type:<unknown type> member:<none>

-----------------





--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

Banshee Media Player mailing list
Looks like you just need to reinstall a dbus-sharp package with API
version 1.0. Package versions less than or equal to 0.6 (IIRC) should
provide that.

Take a look in your GAC, I think you'll see a folder called
dbus-sharp-2.0 with the version of dbus-sharp you have at the moment.

On 1 September 2017 at 09:28, lister171254 <[hidden email]> wrote:

> In trying to resolve the issue I reported in regards to not being able to
> load media, I broke the installed (working) version of Banshee.
>
> Have removed/reinstalled Banshee, mono, etc without any luck
> When I start Banshee I get the following error
> ---------------
> Unhandled Exception:
> System.TypeLoadException: Could not load type of field
> 'Banshee.ServiceStack.DBusServiceManager:registered_objects' (1) due to:
> Could not load file or assembly 'dbus-sharp, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
> dependencies. assembly:dbus-sharp, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=5675b0c3093115b5 type:<unknown type> member:<none>
> [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load
> type of field 'Banshee.ServiceStack.DBusServiceManager:registered_objects'
> (1) due to: Could not load file or assembly 'dbus-sharp, Version=1.0.0.0,
> Culture=neutral, PublicKeyToken=5675b0c3093115b5' or one of its
> dependencies. assembly:dbus-sharp, Version=1.0.0.0, Culture=neutral,
> PublicKeyToken=5675b0c3093115b5 type:<unknown type> member:<none>
>
> -----------------
>
>
>
>
>
> --
> Sent from: http://banshee-media-player.2283330.n4.nabble.com/
> _______________________________________________
> banshee-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

lister171254
Have compared the installed dbus-sharp packages between another banshee
installation on Ubuntu 17.04 (which works) with the one that fails; I can't
see any difference.

These are the packages installed on both systems
dbus-sharp-Works.png
<http://banshee-media-player.2283330.n4.nabble.com/file/t244504/dbus-sharp-Works.png>  

Following is the content of the (I think) relevant packages

-----libdbus1.0-cil-----------
/.
/usr
/usr/lib
/usr/lib/cli
/usr/lib/cli/dbus-sharp-1.0
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll.config
/usr/share
/usr/share/cli-common
/usr/share/cli-common/packages.d
/usr/share/cli-common/packages.d/libdbus1.0-cil.installcligac
/usr/share/doc
/usr/share/doc/libdbus1.0-cil
/usr/share/doc/libdbus1.0-cil/changelog.Debian.gz
/usr/share/doc/libdbus1.0-cil/copyright
-------------------------------

---------libdbus-glib1.0-cil-------
/.
/usr
/usr/lib
/usr/lib/cli
/usr/lib/cli/dbus-sharp-1.0
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll.config
/usr/share
/usr/share/cli-common
/usr/share/cli-common/packages.d
/usr/share/cli-common/packages.d/libdbus1.0-cil.installcligac
/usr/share/doc
/usr/share/doc/libdbus1.0-cil
/usr/share/doc/libdbus1.0-cil/changelog.Debian.gz
/usr/share/doc/libdbus1.0-cil/copyright
------------------------------------

It looks that the correct packages are installed





--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

Banshee Media Player mailing list
Looks right, does gacutil -l dbus-sharp show version 1.0.0.0?

On 2 Sep 2017 11:49, "lister171254" <[hidden email]> wrote:
Have compared the installed dbus-sharp packages between another banshee
installation on Ubuntu 17.04 (which works) with the one that fails; I can't
see any difference.

These are the packages installed on both systems
dbus-sharp-Works.png
<http://banshee-media-player.2283330.n4.nabble.com/file/t244504/dbus-sharp-Works.png>

Following is the content of the (I think) relevant packages

-----libdbus1.0-cil-----------
/.
/usr
/usr/lib
/usr/lib/cli
/usr/lib/cli/dbus-sharp-1.0
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll.config
/usr/share
/usr/share/cli-common
/usr/share/cli-common/packages.d
/usr/share/cli-common/packages.d/libdbus1.0-cil.installcligac
/usr/share/doc
/usr/share/doc/libdbus1.0-cil
/usr/share/doc/libdbus1.0-cil/changelog.Debian.gz
/usr/share/doc/libdbus1.0-cil/copyright
-------------------------------

---------libdbus-glib1.0-cil-------
/.
/usr
/usr/lib
/usr/lib/cli
/usr/lib/cli/dbus-sharp-1.0
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll
/usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll.config
/usr/share
/usr/share/cli-common
/usr/share/cli-common/packages.d
/usr/share/cli-common/packages.d/libdbus1.0-cil.installcligac
/usr/share/doc
/usr/share/doc/libdbus1.0-cil
/usr/share/doc/libdbus1.0-cil/changelog.Debian.gz
/usr/share/doc/libdbus1.0-cil/copyright
------------------------------------

It looks that the correct packages are installed





--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)

_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

lister171254
Nope.

-----------
gacutil -l dbus-sharp
The following assemblies are installed into the GAC:
Number of items = 0

----------



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

lister171254
Am truly out of my depth here.

From what I've found so far, I need to add dbus-sharp into the GAC. In order
to do this I need a manifest, which I can't find.
I've also tried to reinstall mono, but that didn't work either.

Totally lost.




--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

lister171254
Fixed the GAC issue by running the following

$ gacutil -l /usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll
$ gacutil -l /usr/lib/cli/dbus-sharp-2.0/dbus-sharp.dll

I now get this when I start banshee

------------------
Unhandled Exception:
System.BadImageFormatException: Could not resolve field token 0x040002ee
File name: 'Banshee.Services'
  at Booter.Booter.Main () [0x00016] in <fba988e709f546b399e0c2a936e08b4c>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.BadImageFormatException: Could not
resolve field token 0x040002ee
File name: 'Banshee.Services'
  at Booter.Booter.Main () [0x00016] in <fba988e709f546b399e0c2a936e08b4c>:0

------------------



--
Sent from: http://banshee-media-player.2283330.n4.nabble.com/
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)
Reply | Threaded
Open this post in threaded view
|

Re: dbus-sharp issue

Banshee Media Player mailing list
The errors you're seeing now look like very low level issues. When you
compiled locally did you do a make install or just make run to test
it? - if you did a make install then it's worth removing any banshee
components left over in /usr/local/banshee.

I had the opportunity to look at a broken Ubuntu system over the
weekend - no, I didn't break it - I guess the *-cil packages install
to that staging location you showed before dpkg installs the
assemblies to the real GAC. Sadly the only suggestion I have to get
the Ubuntu supplied version working is to try an apt-get purge
followed by reinstalling banshee and its dependencies.

On 4 September 2017 at 14:44, lister171254 <[hidden email]> wrote:

> Fixed the GAC issue by running the following
>
> $ gacutil -l /usr/lib/cli/dbus-sharp-1.0/dbus-sharp.dll
> $ gacutil -l /usr/lib/cli/dbus-sharp-2.0/dbus-sharp.dll
>
> I now get this when I start banshee
>
> ------------------
> Unhandled Exception:
> System.BadImageFormatException: Could not resolve field token 0x040002ee
> File name: 'Banshee.Services'
>   at Booter.Booter.Main () [0x00016] in <fba988e709f546b399e0c2a936e08b4c>:0
> [ERROR] FATAL UNHANDLED EXCEPTION: System.BadImageFormatException: Could not
> resolve field token 0x040002ee
> File name: 'Banshee.Services'
>   at Booter.Booter.Main () [0x00016] in <fba988e709f546b399e0c2a936e08b4c>:0
>
> ------------------
>
>
>
> --
> Sent from: http://banshee-media-player.2283330.n4.nabble.com/
> _______________________________________________
> banshee-list mailing list
> [hidden email]
> https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)



--
Registered Linux User #392373
_______________________________________________
banshee-list mailing list
[hidden email]
https://mail.gnome.org/mailman/listinfo/banshee-list  (unsubscribe here)