Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependencies #55

Open
mobstef opened this issue Feb 16, 2022 · 1 comment
Open

Missing dependencies #55

mobstef opened this issue Feb 16, 2022 · 1 comment

Comments

@mobstef
Copy link

mobstef commented Feb 16, 2022

Description
The plugin requires, but does not install the following dependencies:

  • Jint.dll [2.11.58]
  • MimeKit.dll [2.8.0]
  • MailKit.dll [2.7.0]
  • BouncyCastle.Crypto.dll [1.8.5]

Symptoms

2022-02-16 10:07:27.060 Error App: Error in IsExportType
*** Error Report ***
Version: 4.6.7.0
Command line: /usr/local/lib/emby-server/system/EmbyServer.exe -os freebsd -ffdetect /usr/local/lib/emby-server/bin/ffdetect -ffmpeg /usr/local/lib/emby-server/bin/ffmpeg -ffprobe /usr/local/lib/emby
Operating system: Unix 13.0.6.0
Framework: Mono: 6.8.0.123 (tarball Sat Nov 27 03:01:30 UTC 2021)
OS/Process: X64/X64
Runtime: usr/local/lib/mono/4.5/mscorlib.dll
Processor count: 6
Data path: /var/db/emby-server
Application path: /usr/local/lib/emby-server/system
System.TypeLoadException: System.TypeLoadException: Could not load type of field 'EmbyScripterX.Packages.Package:packageEngine' (11) due to: Could not load file or assembly 'Jint, Version=0.0.0.0, Cu
at (wrapper managed-to-native) System.RuntimeTypeHandle.type_is_assignable_from(System.Type,System.Type)
at System.RuntimeTypeHandle.CanCastTo (System.RuntimeType type, System.RuntimeType target) [0x00000] in <0e6cb1433c7b46f598f86593dd03f528>:0
at System.RuntimeType.IsAssignableFrom (System.Type c) [0x00020] in <0e6cb1433c7b46f598f86593dd03f528>:0
at Emby.Server.Implementations.ApplicationHost.IsExportType (System.Type currentType, System.Tuple`2[T1,T2] i) [0x00007] in <0914aad53d214f5093d6e8aa4f5ba4c1>:0
Source:
TargetSite:

Workaround
I've manually installed the dependencies in Emby's plugin folder and everything works fine.
I've downloaded the packages from https://www.nuget.org/packages/.

Expected behavior
The plugin should contain and install all required dependencies.

Desktop:

  • OS: [FreeBSD 13.0 amd64, Mono 6.8.0]
  • Browser [Firefox]
  • Version [3.0.0.0]
@AnthonyMusgrove
Copy link
Owner

Hi @mobstef , thankyou for the issue report. These dependencies should have been automatically included in the package (they're embedded inside the DLL), I'll do a little bit of research and testing into this one for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants