Jump to content

imagemagick


lenovomi

Recommended Posts

lenovomi

Hi,

Im running rpi2 + raspbian. I tried to install and run emby, but getting error below. Looks like something is seriously broken?

 

First of all there is a file ImageMagickSharp.dll.config

 

website says

http://emby.media/downloads/linux-server/ ... the name of file is " Adjust ImageMagickSharp.config.dll as needed to point to the installed version of ImageMagick"

 

 

 

 

ImageMagickSharp.config.dll

<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="libmagic.so" os="linux"/>
</configuration>
~

 

/usr/lib/arm-linux-gnueabihf/libmagic.so
/usr/lib/arm-linux-gnueabihf/libmagic.so.1.0.0
/usr/lib/arm-linux-gnueabihf/libmagic.so.1
/usr/lib/arm-linux-gnueabihf/libmagic.a

 

 

Any idea?

 

Thanks

 

using libMagickWand.so.5

 

Info, SyncRepository, Sqlite 3.7.13 opening /root/emby/ProgramData-Server/data/sync14.db
Error, App, Error loading ImageMagick. Will revert to GDI.
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 3.18.11.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        IsMagickWandInstantiated
        System.EntryPointNotFoundException
          at (wrapper managed-to-native) ImageMagickSharp.WandInterop:IsMagickWandInstantiated ()
          at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0
          at System.Lazy`1[imageMagickSharp.Wand].InitV

 

 

using libmagic.so

 

Info, SyncRepository, Sqlite 3.7.13 opening /root/emby/ProgramData-Server/data/sync14.db
Error, App, Error loading ImageMagick. Will revert to GDI.
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 3.18.11.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        MagickWandGenesis
        System.EntryPointNotFoundException
          at (wrapper managed-to-native) ImageMagickSharp.WandInterop:MagickWandGenesis ()
          at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0
          at System.Lazy`1[imageMagickSharp.Wand].InitValue () [0x00000] in <filename unknown>:0

 

Edited by lenovomi
Link to comment
Share on other sites

ImageMagickSharp.config.dll 

 

Please see the manual linux install instructions on the website

Link to comment
Share on other sites

lenovomi

same....

 

root@media-box:~/emby# cat MediaBrowser.MediaInfo.dll.config
<configuration>
  <dllmap dll="MediaInfo" target="./MediaInfo/osx/libmediainfo.dylib" os="osx"/>
  <dllmap dll="MediaInfo" target="libMagickWand.so" os="linux"/>
</configuration>

 

 

Error, App, Error loading ImageMagick. Will revert to GDI.
    *** Error Report ***
    Version: 3.0.5641.5
    Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
    Operating system: Unix 4.0.6.7
    Processor count: 4
    64-Bit OS: False
    64-Bit Process: False
    Program data path: /root/emby/ProgramData-Server
    Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
    Application Path: /root/emby/MediaBrowser.Server.Mono.exe
    MagickWandGenesis
    System.EntryPointNotFoundException
      at (wrapper managed-to-native) ImageMagickSharp.WandInterop:MagickWandGenesis ()
      at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0
      at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0
      at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0
      at System.Lazy`1[imageMagickSharp.Wand].InitValue () [0x00000] in <filename unknown>:0

Link to comment
Share on other sites

lenovomi

you have 2 conf files, which one is correct???

 

ImageMagickSharp.dll.config

ImageMagickSharp.config.dll

 

 

 

i tried with libmagic.so and libMagickWand.so

 

Same ... are we guessing or anyone knows what to do?

 

thanks

 

 

 

root@media-box:~/emby# cat ImageMagickSharp.dll.config
<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="libmagic.so" os="linux"/>
</configuration>
root@media-box:~/emby# cat ImageMagickSharp.config.dll
<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="libmagic.so" os="linux"/>
</configuration>

 

 

Error, App, Error loading ImageMagick. Will revert to GDI.
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 4.0.6.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        MagickWandGenesis
        System.EntryPointNotFoundException
          at (wrapper managed-to-native) ImageMagickSharp.WandInterop:MagickWandGenesis ()
          at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0
          at System.Lazy`1[imageMagickSharp.Wand].InitValue () [0x00000] in <filename unknown>:0
 

Link to comment
Share on other sites

lenovomi

root@media-box:~/emby# cat  ImageMagickSharp.dll.config
<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="libMagickWand.so" os="linux"/>
</configuration>

 

/usr/local/bin/mono  MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg

 

Error, App, Error loading ImageMagick. Will revert to GDI.
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 4.0.6.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        IsMagickWandInstantiated
        System.EntryPointNotFoundException
          at (wrapper managed-to-native) ImageMagickSharp.WandInterop:IsMagickWandInstantiated ()
          at ImageMagickSharp.Wand.InitializeEnvironment () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand..ctor () [0x00000] in <filename unknown>:0
          at ImageMagickSharp.Wand.<.cctor>b__5 () [0x00000] in <filename unknown>:0
          at System.Lazy`1[imageMagickSharp.Wand].InitValue () [0x00000] in <filename unknown>:0

Edited by lenovomi
Link to comment
Share on other sites

tekkb

You are probably missing a symbolic link with correct name to link you to the library....  I am going to try and build the q8 libraries sometime this weekend. for the rpi 2.

 

Try this:

<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="libMagickWand-6.Q16.so.2" os="linux"/>
</configuration>
Edited by tekkb
Link to comment
Share on other sites

lenovomi

there is no lib as such.

 

find / -name "libMagickWand-6.Q8*"

 

 

root@media-box:~/emby# find / -iname "libMagickWand*"
/usr/share/doc/libmagickwand-dev
/usr/share/doc/libmagickwand5
/usr/lib/arm-linux-gnueabihf/libMagickWand.so.5.0.0
/usr/lib/arm-linux-gnueabihf/libMagickWand.so.5
/usr/lib/arm-linux-gnueabihf/libMagickWand.so
/usr/lib/arm-linux-gnueabihf/libMagickWand.la
/usr/lib/arm-linux-gnueabihf/libMagickWand.a

 

 

its debian - raspbian ... on rpi2

Link to comment
Share on other sites

lenovomi

i have working setup on arch linux arm ... there is no libMagickWand* lib ... and it works... it should be somewhere else... the problem...

Link to comment
Share on other sites

tekkb

I was still editing..  It says Q16.  Then it is not working and you are using the fallback.

 

It is best to build the Q8 ImageMagick.

 

Here is how you configure:

 

./configure --with-webp=yes --with-quantum-depth=8

 

The webp is optional.  You would have to build that too.  And libwebp only works on the chrome browser.

Edited by tekkb
Link to comment
Share on other sites

lenovomi

I was still editing..  It says Q16.  Then it is not working and you are using the fallback.

 

It is best to build the Q8 ImageMagick.

 

Here is how you configure:

 

./configure --with-webp=yes --with-quantum-depth=8

 

The webp is optional.  You would have to build that too.  And libwebp only works on the chrome browser.

 

 

strange, then why i dont have it on arch arm linux and it works?

Link to comment
Share on other sites

lenovomi

are you sure its optional?

 

Info, ImageMagick, ImageMagick version: ImageMagick 6.9.1-6 Q8 armv7l 2015-07-03 http://www.imagemagick.org
Error, ImageMagick, Error loading webp:
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 4.0.6.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        delegate failed `"cwebp" -quiet -q %Q "%i" -o "%o"' @ error/delegate.c/InvokeDelegate/1332
        ImageMagickSharp.WandException
          at ImageMagickSharp.WandCore`1[imageMagickSharp.MagickWand].CheckError (Boolean status) [0x00000] in <filename unknown>:0
          at ImageMagickSharp.MagickWand.SaveImage (System.String path) [0x00000] in <filename unknown>:0
          at Emby.Drawing.ImageMagick.ImageMagickEncoder.TestWebp () [0x00000] in <filename unknown>:0

 

Error, Main, UnhandledException
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 4.0.6.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        One or more errors occurred
        System.AggregateException
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager, MediaBrowser.Server.Startup.Common.StartupOptions options) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
        InnerException: System.ApplicationException
        ffmpeg unvailable. Please install it and start the server with two command line arguments: -ffmpeg "{PATH}" and -ffprobe "{PATH}"
          at MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>d__22.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>d__9.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterMediaEncoder>d__35.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>d__1e.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterMediaEncoder>d__35.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>d__1e.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>d__4[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>d__5.MoveNext () [0x00000] in <filename unknown>:0
 

Edited by lenovomi
Link to comment
Share on other sites

lenovomi

ok,

i installed aptitude install  webp

 

but another error

 

 

Info, ImageProcessor, ImageProcessor started with 4 max concurrent image processes
Error, Main, UnhandledException
        *** Error Report ***
        Version: 3.0.5641.5
        Command line: /root/emby/MediaBrowser.Server.Mono.exe -ffmpeg /usr/bin/ffmpeg
        Operating system: Unix 4.0.6.7
        Processor count: 4
        64-Bit OS: False
        64-Bit Process: False
        Program data path: /root/emby/ProgramData-Server
        Mono: 3.10.0 (mono-3.10.0-branch/ce003f4 Tue Nov 25 20:18:29 UTC 2014)
        Application Path: /root/emby/MediaBrowser.Server.Mono.exe
        One or more errors occurred
        System.AggregateException
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
          at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager, MediaBrowser.Server.Startup.Common.StartupOptions options) [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
        InnerException: System.ApplicationException
        ffmpeg unvailable. Please install it and start the server with two command line arguments: -ffmpeg "{PATH}" and -ffprobe "{PATH}"
          at MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>d__22.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>d__9.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0

          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterMediaEncoder>d__35.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>d__1e.MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>d__4[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0
        --- End of stack trace from previous location where exception was thrown ---
          at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
          at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
          at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>d__5.MoveNext () [0x00000] in <filename unknown>:0

UnhandledException
One or more errors occurred
System.AggregateException
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) [0x00000] in <filename unknown>:0
  at System.Threading.Tasks.Task.WaitAll (System.Threading.Tasks.Task[] tasks) [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.RunApplication (MediaBrowser.Server.Implementations.ServerApplicationPaths appPaths, ILogManager logManager, MediaBrowser.Server.Startup.Common.StartupOptions options) [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Mono.MainClass.Main (System.String[] args) [0x00000] in <filename unknown>:0
InnerException: System.ApplicationException
ffmpeg unvailable. Please install it and start the server with two command line arguments: -ffmpeg "{PATH}" and -ffprobe "{PATH}"
  at MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegDownloader+<DownloadFFMpeg>d__22.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---

  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegDownloader+<GetFFMpegInfo>d__9.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1+ConfiguredTaskAwaiter[MediaBrowser.Server.Startup.Common.FFMpeg.FFMpegInfo].GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterMediaEncoder>d__35.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<RegisterResources>d__1e.MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Common.Implementations.BaseApplicationHost`1+<Init>d__4[MediaBrowser.Server.Implementations.ServerApplicationPaths].MoveNext () [0x00000] in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x00000] in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () [0x00000] in <filename unknown>:0
  at MediaBrowser.Server.Startup.Common.ApplicationHost+<Init>d__5.MoveNext () [0x00000] in <filename unknown>:0

Link to comment
Share on other sites

hurricanehrndz

I'm pretty sure you guys could have just added the ubuntu 14.04 repo into your source list and could have installed emby via apt-get, other users have reported to be successful.

Link to comment
Share on other sites

  • 5 months later...
danergo

Hi, guys.

 

Now I have the same problem.

However, I compiled _everything_ for myself.

 

ImageMagick:

./configure --enable-shared --with-quantum-depth=8 --disable-openmp --with-modules=yes --with-fontconfig=yes --with-freetype=yes --with-jpeg=yes --with-png=yes --with-tiff=yes
make all
make install

Emby with xbuild for mono.

Emby starts but reports this problem:

Error, App, Error loading ImageMagick. Will revert to GDI.
Info, GDI, GDIImageEncoder starting
Info, GDI, GDIImageEncoder started

Configuration:

# cat ImageMagickSharp.dll.config
<configuration>
  <dllmap dll="CORE_RL_Wand_.dll" target="/usr/local/lib/libMagickWand-6.Q8.so" os="linux"/>
  <dllmap dll="CORE_RL_Wand_.dll" target="libMagickWand-6.so" os="freebsd,openbsd,netbsd"/>
  <dllmap dll="CORE_RL_Wand_.dll" target="./MediaInfo/osx/libmediainfo.dylib" os="osx"/>
</configuration>

What am I missing?

 

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...