-
Notifications
You must be signed in to change notification settings - Fork 167
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
Plugins cannot be loaded #55
Comments
I'm getting the same error using the
|
I fixed this issue by checking "Unblock" in the dll file properties: But now, when opening the settings window, I'm getting this error:
And this error when opening a local file:
|
Have you only "Unblocked" e.g. the SftpFileSystem.dll or the ChilkatDotNet4.dll too? |
I unblocked only |
I think you have to unblock the ChilkatDotNet4.dll (This dll is loaded by the SftpFileSystem.dll). If you want to use the CSV you have to unblock also the LumenWorks.Framework.IO.dll. |
Unblocking all DLLs worked for me. Now I'm running into issue #49. |
I don't have this dll in the project folder. Where can it be found? |
Usually, Windows blocks the dll files when they're downloaded from Internet. More info can be found here (including how to unblock several files in one action). |
Yeah, but the LogExpert.exe and the NLog.dll are also blocked and don't have to be unblocked as it seems. |
I can't use the app with SftpFileSystem.dll and ChilkatDotNet4.dll installed. When I launch the app with the dll's installed I get the error window below: I also get the same error log as was mentioned in the first post by @troplin . I've looked at the properties panel for both dll's and I don't have the "Unblock" check box that was mentioned by @Otiel Any suggestions? Thanks. |
Did you copy |
@Otiel sure did. |
Facing the same issue with version 1.6.13. Noticed that if I only copy ChilkatDotNet4.dll the application runs good. If SftpFileSystem.dll is included the exception below is thrown when the application is launched.
On closing of the application the following exception is thrown.
|
When I try to open an URL to tail a remote file log i have the same exception Impossibile caricare uno o più tipi richiesti. Per ulteriori informazioni, recuperare la proprietà LoaderExceptions. ReflectionTypeLoadException |
For me it's the same as motowizlee. I have a problem with loading the SftpFileSystem.dll:
|
Is this problem still active with the new release? |
Now It work!
Thanks!!!
Il giorno ven 10 mag 2019 alle ore 02:01 zarunbal <notifications@github.com>
ha scritto:
… Is this problem still active with the new release?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ALJA2V463L3NEURXELXOOL3PUS3N5ANCNFSM4E27ITZA>
.
--
*D'Ambrosi Vincenzo*
|
No, it works now. Thank you. |
I wrote my own plugin for the server logs of the company I work in and get the same errors if I copy the DLL into the plugins folder of an already existing LogExpert. The DLL is signed with the same key file as the other projects. Created a PR in my fork in case you want to take a look, as I don't intend to merge into the project. Ryuichiro#1 Startup:
Closing:
|
@Ryuichiro thanks for sharing your plugin. Could you Debug LogExpert and retrieve the LoaderException from the exception? With the Loader exception it should be possible to pin point the cause of the problem with the plugin |
If I build the whole thing everything works fine, the error just shows up when I put my DLL in a (tested only 1.7) release that wasn't built by me. I guess that I overlooked some ID because I copied another plugin project, loaded it into the Solution, then refactored the classes and generated a new AssemblyInfo. |
You could test the latest CI build. I integrated there some logging which should show the real problem in the log (see wiki |
If possible please post your log or the complete exception. I'm interested what caused the LoaderException. |
The located assembly's manifest definition does not match the assembly reference.
|
Thanks for the log, now I understand it The problem is the different key for signing during the build. I fix the build then it should be possible to develop custom plugins without problems with the release version. |
added CleanPackage target Removed depends on Clean from PrepareChocolateyTemplates #55
A new release is here. Please verify if the changes fixed the problems for you with the plugins. A short feedback if it works would be great |
Works |
Awesome, could you please close the issue :) |
@zarunbal I still have to manually unblock all the plugins, is that expected? |
with the inno setup installer this should not be needed anymore #117 |
I assume this bug is fixed. @troplin if you still have the problem with the blocked dlls please reopen the bug |
Important questions
Plugins are not loaded, the log contains a message like this for every plugin:
The message suggests that a DLL is loaded from a network location, but I fail to see what location that would be. I have simply copied the LogExpert folder into the local "Program Files" folder.
Complete log:
logexpert.log
The text was updated successfully, but these errors were encountered: