Error loading OpenCv.Blob.dll

Trinus Forum Forums Troubleshooting Error loading OpenCv.Blob.dll

This topic contains 5 replies, has 2 voices, and was last updated by loxai loxai 5 years, 1 month ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2318
    loxai
    loxai
    Keymaster

    An error when starting the server app has been reported by some users, regarding a file not found for OpenCv.Blob.dll file. While this doesn’t stop TG from running, it breaks the position tracker feature. I cannot reproduce, so this will be a bit of a trial and error. If you have encountered this error and can provide additional details, please do so in this post.
    I have prepared a build that attempts to overcome the issue, please give it a shot. If it works I will incorporate the change into the official release.
    This build can be downloaded here: https://www.dropbox.com/s/fhjygk48jx3zp0k/TrinusGyreServerDLL.zip?dl=0

    This is the error shown in the console:
    2/8/2015 8:36:57 PM:Err: Could not load file or assembly ‘OpenCvSharp.Blob, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6adad1e807fea099’ or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
    at System.Reflection.Assembly.Load(AssemblyName assemblyRef)
    at tgplugins.PluginManager.retrievePluginTypes(Dictionary`2 dict, String dllFolder, Type pluginType)
    at tglib.TGManager.initPluginManager(String path)

    • This topic was modified 5 years, 1 month ago by loxai loxai.
    #2320
    Avatar
    Zettie
    Participant

    I had the exact error in Win7 x64 as after unpacking it all the dynamically linked libraries had a block from the file being downloaded. I first unblocked that file, just for the console to throw an error on the next DLL etc – then I figured best course of action was to re-download the .zip, hit unblock on the .zip itself and thus all unpacked files turned out okey as well (block removed on all).

    #2321
    loxai
    loxai
    Keymaster

    what was ‘blocking’ the files? antivirus?

    #2322
    Avatar
    Zettie
    Participant

    Windows itself. Since I use Norwegian Windows 7 I cannot screenshot it, however I have added an image from the web from english version to show how it looks on a generic file: Generic blocked file image.
    It applies to all dynamically linked objects as well as executables which have been downloaded of the web.

    Permanently disabling this means going through Group Policy Editor and disable zone information for file attachments which translates to “its normally not a course of action for the average joe”.

    • This reply was modified 5 years, 1 month ago by Avatar Zettie.
    #2324
    Avatar
    Zettie
    Participant

    I added some more images from my norwegian version of windows, from the point of extraction and starting, then removing one block, then removing block on all dll’s – as you see, TGS then starts cleanly in the end:

    http://s12.postimg.org/qsk5swohl/2015_02_09_09h33_12.jpg

    http://s12.postimg.org/fviu451q1/2015_02_09_09h34_02.jpg

    http://s12.postimg.org/unnjvh7nd/2015_02_09_09h35_04.jpg

    http://s12.postimg.org/qh2pg581l/2015_02_09_09h36_51.jpg

    • This reply was modified 5 years, 1 month ago by Avatar Zettie.
    • This reply was modified 5 years, 1 month ago by Avatar Zettie.
    • This reply was modified 5 years, 1 month ago by Avatar Zettie. Reason: Hopefully repaired the images
    #2330
    loxai
    loxai
    Keymaster

    thank you for the detailed information, hopefully that helps other users sort the problem

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.