Giter VIP home page Giter VIP logo

Comments (15)

Rookiestyle avatar Rookiestyle commented on May 27, 2024

I suppose something as mentioned in issue #24

Can you please try the same?
If not working, please let me know your .NET version

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

I have .NET Framework 4.8 installed, I'm gonna check if I can install 4.5.1 in addition to that.

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

It says

.NET Framework 4.5.1 or a later update is already installed on this computer.

So I guess that means 4.8 includes everything from 4.5.1 as well.

from keepassotp.

Rookiestyle avatar Rookiestyle commented on May 27, 2024

I'll try to set up a vm and check more in detail

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

Let me know if I can help. I'm not really a .NET developer, but I happen to have Visual Studio 2019 installed and I have checked out the code and opened the .sln file.

Don't really know how to run or debug or check for missing dependencies from here.

Have you seen this?

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

I fiddled around a bit more, I extracted the KeePass source to ..\_KeePass_Source, removed the sgen line from "Build Events" (because it failed) and ran a ReleasePlgx build and guess what, I have a KeePassOTP.plgx that works with the KeePass.exe that was also created. With the original KeePass.exe (from the official release) and my KeePassOTP.plgx I get the same error as shown above.

from keepassotp.

Rookiestyle avatar Rookiestyle commented on May 27, 2024

Thanks for your additional input!
Unfortunately I'm still not able to able to reproduce this (having issues with my Win 7 vm)

Can you meanwhile please try the attached version?
KeePassOTP.zip

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

Same issue.

from keepassotp.

Rookiestyle avatar Rookiestyle commented on May 27, 2024

OK, I'm running out of ideas since in my VM with Windows 7, there is no issue:
Windows 7 - WIndows NT 6.1.7601 Service Pack 1
KeePass 2.47 (64 bit)
KeePassOTP.zip

Can you please try once again with the attached version.
If the issue is not solved by this version:

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

With this version I'm getting:

image

The error message only mentions version 4.0.0.0 (see screenshot above). With the version in your first ZIP the error message is the same.

In c:\windows\assembly I have "Libraries" and there is one called "System.Drawing". It's version 2.0.0.0:

image

I'll run the repair now. I ran the repair and it did some stuff (two steps) but the issue remains.

from keepassotp.

Rookiestyle avatar Rookiestyle commented on May 27, 2024

Ok, at least there is some progress, at least I don't see any reference to the ResX file in your newest screenshots...

Please start KeePass with the -debug Switch using the commandline or [Win]-[R]
KeePass will save a log file containing some more details and this hopefully helps me identifying this new issue

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

Here's the log for the latest zip: tmp9607.txt

I tried the plgx from the previous zip as well and I still get the error but it does not create a debug log, even with a cleared plugin cache. I guess the --debug is only for compilation errors, not for runtime errors or something?

from keepassotp.

Rookiestyle avatar Rookiestyle commented on May 27, 2024

Error message The type or namespace name 'Tasks' does not exist in the namespace 'System.Threading' (are you missing an assembly reference?) is correct for .Net framework 3.5 since this was introduced with 4.0.

A plgx file essentially contains the entire sourcecode of the plugin and KeePass is using the .NET framework built-in compilers to actually compile it.
When doing this, KeePass uses these CompilerVersion:

  • null (2.0)
  • v3.5
  • v4
  • v4.0
  • v4.0.30319
  • v4.5

In your case either only 'null' (v2.0) and 'v3.5' are used by KeePass itself or the other compilers do not even return an error message.
Either way, I have no idea what is happening

Nevertheless, please use the attached version, it does not use System.Threading.Tasks and hopefully this one is working.
If not, there's nothing more that I can do.
KeePassOTP.zip


You're right, -debug can help with compile issues but not if plugin compilation cannot even start (ResX file parsing)

from keepassotp.

Rookiestyle avatar Rookiestyle commented on May 27, 2024

Closing this as there is no negative feedback.

The meanwhile released version v0.24 contains the changes done in this issue

from keepassotp.

AndreKR avatar AndreKR commented on May 27, 2024

In case anyone has a similar issue... I got the same error ("is not compatible", but with different details) with KeePassOTP 1.4 and KeePass 2.47. However, after upgrading KeePass itself to 2.51.1, the error went away.

from keepassotp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.