jnko / SimpleDatabaseBackup

SimpleDatabseBackup is a KeePass plugin which was created for simpleness. There is no setup, no GUI and no configuration no dependencies. Just copy over the plugin into KeePess plugin folder and you are done.
49 stars 5 forks source link

The following plugin is incompatible with the current KeePass version ... #3

Closed VictorL closed 7 years ago

VictorL commented 7 years ago

Hi, jnko!

Have error while starting keepass:

"The plugin cannot be loaded" "The following plugin is incompatible with the current KeePass version: <...>\Plugins\SimpleDatabaseBackup.plgx

Have a look at the plugin's website for an appropriate version."

Environment: SimpleDatabseBackup ver.1.0.5 KeePass 2.34 (portable inst.) OS: Windows XP

Note: DataBaseBackup 2.0.8.6 plugin by Francis Noël loaded without errors.

Best regards Victor.

jnko commented 7 years ago

Just some questions: Windows XP? Really XP? Why?

Ok, I need to setup an XP virtual machine to test. Stay tuned please.

VictorL commented 7 years ago

Yes. Indeed. It works well on ancient hardware.

jnko commented 7 years ago

Please update the plugin to 1.0.6. I removed some unused references and recompiled it. It works on Windows XP with .NET 3.5 SP1 and up now.

VictorL commented 7 years ago

Hi, Joern! There is a bug in keepass, not in plugin.

I've discovered same behavior of Francis's dbb plugin when recreated it on my machine.

But both worked well when created without specifying plugin directory in command line “ KeePass.exe --plgx-create “ or compiled as dll.

Best regards. Victor

jnko commented 7 years ago

Yes, I've read about it. But in this case I left over some references to unused libraries in the VisualStudio project which fails for every .NET < 4.5 where those libraries come by default.

"System.Xml.Linq" "System.Data.DataSetExtensions" "Microsoft.CSharp" "System.Net.Http"

Running keepass with --debug option clearly shows the problem on XP with .NET 3.5 SP1

==============================================================================
Compiler 'null':

C:\Documents and Settings\user\Desktop\KeePass-2.34> "c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\csc.exe" /t:library /utf8output /R:"System.dll" /R:"System.Core.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.Linq.dll" /R:"System.Data.DataSetExtensions.dll" /R:"Microsoft.CSharp.dll" /R:"System.Data.dll" /R:"System.Net.Http.dll" /R:"System.Xml.dll" /R:"C:\Documents and Settings\user\Desktop\KeePass-2.34\KeePass.exe" /out:"C:\Documents and Settings\user\Local Settings\Temp\4179CDE403E43F4CAAA90F8405A12903\SimpleDatabaseBackup.dll" /debug- /optimize+  "C:\Documents and Settings\user\Local Settings\Temp\4179CDE403E43F4CAAA90F8405A12903\SimpleDatabaseBackup.cs" "C:\Documents and Settings\user\Local Settings\Temp\4179CDE403E43F4CAAA90F8405A12903\Properties\AssemblyInfo.cs"

Microsoft (R) Visual C# 2005 Compiler version 8.00.50727.3053
for Microsoft (R) Windows (R) 2005 Framework version 2.0.50727
Copyright (C) Microsoft Corporation 2001-2005. All rights reserved.

error CS0006: Metadata file 'System.Core.dll' could not be found
error CS0006: Metadata file 'System.Xml.Linq.dll' could not be found
error CS0006: Metadata file 'System.Data.DataSetExtensions.dll' could not be found
error CS0006: Metadata file 'Microsoft.CSharp.dll' could not be found
error CS0006: Metadata file 'System.Net.Http.dll' could not be found

==============================================================================
Compiler 'v3.5':

C:\Documents and Settings\user\Desktop\KeePass-2.34> "c:\WINDOWS\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"System.dll" /R:"System.Core.dll" /R:"System.Windows.Forms.dll" /R:"System.Xml.Linq.dll" /R:"System.Data.DataSetExtensions.dll" /R:"Microsoft.CSharp.dll" /R:"System.Data.dll" /R:"System.Net.Http.dll" /R:"System.Xml.dll" /R:"C:\Documents and Settings\user\Desktop\KeePass-2.34\KeePass.exe" /out:"C:\Documents and Settings\user\Local Settings\Temp\4179CDE403E43F4CAAA90F8405A12903\SimpleDatabaseBackup.dll" /debug- /optimize+  "C:\Documents and Settings\user\Local Settings\Temp\4179CDE403E43F4CAAA90F8405A12903\SimpleDatabaseBackup.cs" "C:\Documents and Settings\user\Local Settings\Temp\4179CDE403E43F4CAAA90F8405A12903\Properties\AssemblyInfo.cs"

Microsoft (R) Visual C# 2008 Compiler version 3.5.30729.1
for Microsoft (R) .NET Framework version 3.5
Copyright (C) Microsoft Corporation. All rights reserved.

error CS0006: Metadata file 'Microsoft.CSharp.dll' could not be found
error CS0006: Metadata file 'System.Net.Http.dll' could not be found