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

Incompatible with Keepass 2.19 portable version #62

Closed
Pschittt opened this issue Aug 17, 2012 · 11 comments
Closed

Incompatible with Keepass 2.19 portable version #62

Pschittt opened this issue Aug 17, 2012 · 11 comments

Comments

@Pschittt
Copy link

Hi,

I'm using Keepass 2.19 portable version, i've downloaded KeePassHttp.dll and Newtonsoft.Json.dll, copied in the Keepass directory.

And when starting Keepass.exe, i have this popup error message :
"The following plugn is incompatible with the current keepass version.
Have a look at the plugin's website for an appropriate version."

I've only copied this 2 dll, didn't get the plgx file, like the readme says.

Any idea ?

@frei0
Copy link

frei0 commented Aug 23, 2012

I get the same error under Debian Linux - version 2.18 from sid repos.

@RunningDroid
Copy link

@dannyperson
How far do you have to downgrade Keepass before it stops giving you the error?

@pfn
Copy link
Owner

pfn commented Aug 29, 2012

The current version is compatible with 2.19, please make sure the dll files were downloaded and not the html Page for the files on github

Sent from my phone

RunningDroid notifications@github.com wrote:

@dannyperson
How far do you have to downgrade Keepass before it stops giving you the error?


Reply to this email directly or view it on GitHub:
#62 (comment)

@Pschittt
Copy link
Author

Pschittt commented Sep 4, 2012

I've downloaded the dll files and not the html pages. I downloaded the entire zip file, and extracted only the 2 dll needed.

And still having the issue.

@pfn
Copy link
Owner

pfn commented Sep 4, 2012

I don't know what the problem is, try running keepass --debug and see if it gives any more useful information

@saithis
Copy link

saithis commented Sep 6, 2012

I'm having the same problem with KeePass 2.18 on Ubuntu 12.04.
keepass --debug output:

/usr/lib/keepass2/KeePassHttp.plgx

Operation is not valid due to the current state of the object
KeePass
at KeePass.Plugins.PlgxPlugin.Compile (System.String strTmpRoot, KeePass.Plugins.PlgxPluginInfo plgx, System.String strBuildPre, System.String strBuildPost) [0x00000] in :0
at KeePass.Plugins.PlgxPlugin.ReadFile (System.IO.BinaryReader br, KeePass.Plugins.PlgxPluginInfo plgx, IStatusLogger slStatus) [0x00000] in :0
at KeePass.Plugins.PlgxPlugin.LoadPriv (System.String strFilePath, IStatusLogger slStatus, Boolean bAllowCached, Boolean bAllowCompile, Boolean bAllowLoad, System.IO.TextWriter twLog) [0x00000] in :0
at KeePass.Plugins.PlgxPlugin.Load (System.String strFilePath, IStatusLogger slStatus) [0x00000] in :0
System.String Compile(System.String, KeePass.Plugins.PlgxPluginInfo, System.String, System.String)

@pfn
Copy link
Owner

pfn commented Sep 6, 2012

On Ubuntu, try using the .dll files instead

----- Original Message -----
From: "Belan" notifications@github.com
To: "pfn/keepasshttp" keepasshttp@noreply.github.com
Cc: "Perry" pfnguyen@hanhuy.com
Sent: Thursday, September 6, 2012 12:51:58 AM
Subject: Re: [keepasshttp] Incompatible with Keepass 2.19 portable version (#62)

I'm having the same problem with KeePass 2.18 on Ubuntu 12.04. keepass --debug output:
KeePass

/usr/lib/keepass2/KeePassHttp.plgx

Operation is not valid due to the current state of the object
KeePass
at KeePass.Plugins.PlgxPlugin.Compile (System.String strTmpRoot, KeePass.Plugins.PlgxPluginInfo plgx, System.String strBuildPre, System.String strBuildPost) [0x00000] in :0
at KeePass.Plugins.PlgxPlugin.ReadFile (System.IO.BinaryReader br, KeePass.Plugins.PlgxPluginInfo plgx, IStatusLogger slStatus) [0x00000] in :0
at KeePass.Plugins.PlgxPlugin.LoadPriv (System.String strFilePath, IStatusLogger slStatus, Boolean bAllowCached, Boolean bAllowCompile, Boolean bAllowLoad, System.IO.TextWriter twLog) [0x00000] in :0
at KeePass.Plugins.PlgxPlugin.Load (System.String strFilePath, IStatusLogger slStatus) [0x00000] in :0
System.String Compile(System.String, KeePass.Plugins.PlgxPluginInfo, System.String, System.String)
OK


Reply to this email directly or view it on GitHub .

@saithis
Copy link

saithis commented Sep 7, 2012

Tried the dll files:

/usr/lib/keepass2/KeePassHttp.dll

Could not load type 'KeePassHttp.KeePassHttpExt' from assembly 'KeePassHttp, Version=2.1.7.0, Culture=neutral, PublicKeyToken=null'.
mscorlib
at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Activator.CreateInstance (System.Type type, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00000] in :0
at System.Activator.CreateInstanceFrom (System.String assemblyFile, System.String typeName, Boolean ignoreCase, BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Security.Policy.Evidence securityInfo) [0x00000] in :0
at System.Activator.CreateInstanceFrom (System.String assemblyFile, System.String typeName, System.Object[] activationAttributes) [0x00000] in :0
at System.Activator.CreateInstanceFrom (System.String assemblyFile, System.String typeName) [0x00000] in :0
at KeePass.Plugins.PluginManager.CreatePluginInstance (System.String strFilePath, System.String strTypeName) [0x00000] in :0
at KeePass.Plugins.PluginManager.LoadPlugins (System.IO.FileInfo[] vFiles, System.String strTypeName, System.String strDisplayFilePath, Boolean bSkipCacheFiles) [0x00000] in :0
System.Object Invoke(System.Object, BindingFlags, System.Reflection.Binder, System.Object[], System.Globalization.CultureInfo)

@pfn
Copy link
Owner

pfn commented Sep 7, 2012

On mono, make sure you install mono-complete or whatever is equivalent for the distribution you are using.

@jfx2006
Copy link
Contributor

jfx2006 commented Oct 20, 2012

Try the KeePassHttp.dll at https://github.com/jfx2006/keepasshttp/downloads with the latest KeePass 2.20.1 and see if that helps. I was able to use the same Newtonsoft.Json.dll file.

@FossPrime
Copy link

mono-complete fixed it for me on Ubuntu 12.10 and keepass 2.19

pfn added a commit that referenced this issue Nov 28, 2012
@lsgd lsgd closed this as completed Feb 18, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants