KoenZomers / KeePassOneDriveSync

Allows syncing of KeePass databases stored on OneDrive Personal, OneDrive for Business or SharePoint
Eclipse Public License 1.0
380 stars 42 forks source link

KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.<OnKeePassDatabaseOpened>d__a.MoveNext() #120

Closed 4-FLOSS-Free-Libre-Open-Source-Software closed 4 years ago

4-FLOSS-Free-Libre-Open-Source-Software commented 5 years ago

Keepass Version 2.43 KoenZomersKeePassOneDriveSync Version: 2.0.9.0.

Steps to Issue was:

  1. Autotype Hotkey press
  2. unlock database on secure Desktop
  3. Autotype Selection Dialog appears
  4. Error Message pops up

Error:


``
Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
KeePassLib.Serialization.FileLockException: C:\Users\usr\OneDrive\secret.lite.kdbx

Die Datei ist gesperrt, da der folgende Benutzer momentan in sie schreibt:
usr (PC)

Bitte versuchen Sie es in ein paar Sekunden erneut.
   bei KeePassLib.Serialization.FileLock..ctor(IOConnectionInfo iocBaseFile)
   bei KeePassLib.PwDatabase.Save(IStatusLogger slLogger)
   bei KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.<OnKeePassDatabaseOpened>d__a.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4042.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
----------------------------------------
KeePass
    Assembly-Version: 2.43.0.18739.
    Win32-Version: 2.43.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4042.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4001.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4042.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
MSWifiImportPlugin
    Assembly-Version: 0.2.0.2.
    Win32-Version: 0.2.0.2.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/MSWifiImportPlugin.dll.
----------------------------------------
PartialKeePassDatabaseExport
    Assembly-Version: 1.1.1.0.
    Win32-Version: 1.1.1.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/PartialKeePassDatabaseExport.dll.
----------------------------------------
RDP7Plugin
    Assembly-Version: 2.41.0.0.
    Win32-Version: 2.41.0.7.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/RDP7Plugin.dll.
----------------------------------------
RDPPlugin
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/RDPPlugin.dll.
----------------------------------------
RuleBuilder
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/RuleBuilder.dll.
----------------------------------------
Sequencer
    Assembly-Version: 0.1.1.0.
    Win32-Version: 0.1.1.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/Sequencer.dll.
----------------------------------------
KeePassNatMsg
    Assembly-Version: 2.0.6.0.
    Win32-Version: 2.0.6.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/KeePassNatMsg/KeePassNatMsg.dll.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 10.0.0.0.
    Win32-Version: 10.0.3.21018.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/KeePassNatMsg/Newtonsoft.Json.DLL.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.resources.dll.
----------------------------------------
PwGenWuerfelware
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/Plugins/wuerfelware/PwGenWuerfelware.dll.
----------------------------------------
CheckPasswordBox
    Assembly-Version: 2.25.0.0.
    Win32-Version: 0.2.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Pqe3TQe2kyvZQrhlgtrz/CheckPasswordBox.dll.
----------------------------------------
ColoredPassword
    Assembly-Version: 0.3.0.0.
    Win32-Version: 0.3.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/NPPnrp2WwGLDmeWZR6ph/ColoredPassword.dll.
----------------------------------------
CustomIconDashboarderPlugin
    Assembly-Version: 1.1.0.0.
    Win32-Version: 1.1.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/0PzPxDpbKN9Rc5mursQM/CustomIconDashboarderPlugin.dll.
----------------------------------------
ExeIconPicker
    Assembly-Version: 1.0.2.0.
    Win32-Version: 1.0.2.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/26ICuy5qZJMLzFuYHjzf/ExeIconPicker.dll.
----------------------------------------
KPFieldsAdminConsole
    Assembly-Version: 0.2.0.0.
    Win32-Version: 0.2.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/B2n461Fqw3UE4Q6Iaori/KPFieldsAdminConsole.dll.
----------------------------------------
GoogleSyncPlugin
    Assembly-Version: 3.0.1.0.
    Win32-Version: 3.0.1.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/GoogleSyncPlugin.dll.
----------------------------------------
HaveIBeenPwned
    Assembly-Version: 1.2.4.0.
    Win32-Version: 1.2.4.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/2xbKPfpZVJARyUn2KCGS/HaveIBeenPwned.dll.
----------------------------------------
System.Net.Http
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll.
----------------------------------------
HotKeyEnabler
    Assembly-Version: 2.2.0.29187.
    Win32-Version: 2.2.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Xoe7yjQO1744PqP5ITwg/HotKeyEnabler.dll.
----------------------------------------
KdbxLite
    Assembly-Version: 1.1.0.0.
    Win32-Version: 1.1.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/XrqEnn6ANDaUpLg5fcwv/KdbxLite.dll.
----------------------------------------
KoenZomersKeePassOneDriveSync
    Assembly-Version: 2.0.9.0.
    Win32-Version: 2.0.9.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Mb526SHiiytWyPYQf7XB/KoenZomersKeePassOneDriveSync.dll.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.1.19229.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Mb526SHiiytWyPYQf7XB/Newtonsoft.Json.DLL.
----------------------------------------
System.Numerics
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll.
----------------------------------------
System.Runtime.Serialization
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3825.0 built by: NET48REL1LAST_B.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll.
----------------------------------------
System.Xml.Linq
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll.
----------------------------------------
System.Data
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll.
----------------------------------------
CredentialManagement
    Assembly-Version: 1.0.2.0.
    Win32-Version: 1.0.2.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Mb526SHiiytWyPYQf7XB/CredentialManagement.DLL.
----------------------------------------
AutoTypeCustomFieldPicker
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/CKqYGvHqVhP6G4mSigpN/AutoTypeCustomFieldPicker.dll.
----------------------------------------
DataBaseBackup
    Assembly-Version: 2.0.8.6.
    Win32-Version: 2.0.8.6.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/GClOd1Z8hhaHP1uAv0N9/DataBaseBackup.dll.
----------------------------------------
KPEnhancedEntryView
    Assembly-Version: 2.39.0.0.
    Win32-Version: 2.1.2.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/eBqH15cgFbxl7R8BLotp/KPEnhancedEntryView.dll.
----------------------------------------
ObjectListView
    Assembly-Version: 2.7.0.14843.
    Win32-Version: 2.7.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/eBqH15cgFbxl7R8BLotp/ObjectListView.DLL.
----------------------------------------
KeePassFaviconDownloader
    Assembly-Version: 2.0.9.29336.
    Win32-Version: 1.9.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/ebNHMRxE6CPibdD7YlmG/KeePassFaviconDownloader.dll.
----------------------------------------
ITanMaster
    Assembly-Version: 2.28.0.29337.
    Win32-Version: 2.28.0.2.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/w2pw2F16xtmxSQ6hLFka/ITanMaster.dll.
----------------------------------------
KeeAutoExec
    Assembly-Version: 2.2.0.0.
    Win32-Version: 2.2.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/CkZVWh7FpInQrQ7waxEe/KeeAutoExec.dll.
----------------------------------------
KeeOtp
    Assembly-Version: 1.3.9.0.
    Win32-Version: 1.3.9.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/91M1JFO42xmakFgF3Zjb/KeeOtp.dll.
----------------------------------------
KeeTheme
    Assembly-Version: 0.6.2.0.
    Win32-Version: 0.6.2.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/GmxwpmOStScp41zzr9Y2/KeeTheme.dll.
----------------------------------------
PasswordCounter
    Assembly-Version: 0.1.0.0.
    Win32-Version: 0.1.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/DniLJryFxpoE4lfjbFoE/PasswordCounter.dll.
----------------------------------------
QrCodeGenerator
    Assembly-Version: 2.0.12.0.
    Win32-Version: 2.0.12.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/WsQeHGCMPylh25vTHUic/QrCodeGenerator.dll.
----------------------------------------
QualityColumn
    Assembly-Version: 1.2.0.0.
    Win32-Version: 1.2.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/f0QVyh8xmRhe9UdmxmaS/QualityColumn.dll.
----------------------------------------
WinKee
    Assembly-Version: 2.39.0.29342.
    Win32-Version: 2.39.1.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/iW9tje1Jy9UfsjhnMdPj/WinKee.dll.
----------------------------------------
System.Security
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Security/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Security.dll.
----------------------------------------
KeePassBrowserImporter
    Assembly-Version: 1.0.9.0.
    Win32-Version: 1.0.9.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/BMFCOgDfeIU0UaTVWd4N/KeePassBrowserImporter.dll.
----------------------------------------
KeePassNewKeyExport
    Assembly-Version: 1.1.0.0.
    Win32-Version: 1.1.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/76SCA1h6GyLSAXYXV0Fd/KeePassNewKeyExport.dll.
----------------------------------------
KeePassQRCodeView
    Assembly-Version: 1.0.3.2.
    Win32-Version: 1.0.3.2.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/qpkUVUjxxp5enqyiGwzF/KeePassQRCodeView.dll.
----------------------------------------
KeePassRPC
    Assembly-Version: 2.0.34.29348.
    Win32-Version: 1.9.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/AxDYZg10g6dsxjxACSs1/KeePassRPC.dll.
----------------------------------------
Fleck2
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/AxDYZg10g6dsxjxACSs1/Fleck2.DLL.
----------------------------------------
DomainPublicSuffix
    Assembly-Version: 2.0.1.0.
    Win32-Version: 2.0.1.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/AxDYZg10g6dsxjxACSs1/DomainPublicSuffix.DLL.
----------------------------------------
Jayrock
    Assembly-Version: 0.9.12915.0.
    Win32-Version: 0.9.11214.1056.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/AxDYZg10g6dsxjxACSs1/Jayrock.DLL.
----------------------------------------
KeePassTimestampChanger
    Assembly-Version: 1.0.1.0.
    Win32-Version: 1.0.1.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/0VQqwjUXJbCXDPPzPfoF/KeePassTimestampChanger.dll.
----------------------------------------
KeePassVeraCryptMount
    Assembly-Version: 1.0.7194.29352.
    Win32-Version: 1.0.7.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/cRRL8wBIu2n0XKdbxe8Z/KeePassVeraCryptMount.dll.
----------------------------------------
KeePassWinHello
    Assembly-Version: 3.1.1.0.
    Win32-Version: 3.1.1.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/T3qoSU1izJPWJ8p40zkd/KeePassWinHello.dll.
----------------------------------------
KPEnhancedListview
    Assembly-Version: 2.1.8.29355.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/2KeKU5lCztO6Qh2jiLxu/KPEnhancedListview.dll.
----------------------------------------
KPEntryTemplates
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/wl2roIxaRA90jJ89I1h1/KPEntryTemplates.dll.
----------------------------------------
KPFloatingPanel
    Assembly-Version: 7.5.0.0.
    Win32-Version: 7.5.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/V9y50kwafjGPSTvqedHc/KPFloatingPanel.dll.
----------------------------------------
KPSimpleBackup
    Assembly-Version: 1.1.0.0.
    Win32-Version: 1.1.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Kuc0h6jAuk4vHkeNvCej/KPSimpleBackup.dll.
----------------------------------------
PasswordChangeAssistant
    Assembly-Version: 1.1.1.0.
    Win32-Version: 1.1.1.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/9EE3gYVinfE3XN3J8cRi/PasswordChangeAssistant.dll.
----------------------------------------
PEDCalc
    Assembly-Version: 1.2.1.0.
    Win32-Version: 1.2.1.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Sod4xoSNPIPBbv7E07q3/PEDCalc.dll.
----------------------------------------
PronouncePwGen
    Assembly-Version: 1.0.4.29360.
    Win32-Version: 1.0.4.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/8QvnKANJudYSqoT2kPgR/PronouncePwGen.dll.
----------------------------------------
QuickSearch
    Assembly-Version: 2.27.7194.29360.
    Win32-Version: 2.27.7194.29360.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/vGpu59h9ZuYESfVeqgka/QuickSearch.dll.
----------------------------------------
Accessibility
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
SftpSync
    Assembly-Version: 1.1.0.0.
    Win32-Version: 1.1.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/aPMTxgbxyEvdmfnjd4Le/SftpSync.dll.
----------------------------------------
SimpleDatabaseBackup
    Assembly-Version: 1.0.8.0.
    Win32-Version: 1.0.8.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/LOSll0uO0r9vPoqMsnyL/SimpleDatabaseBackup.dll.
----------------------------------------
TitleDisplay
    Assembly-Version: 2.0.9.29361.
    Win32-Version: 1.3.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/6OFnXX7OHCTSRfDGXXU7/TitleDisplay.dll.
----------------------------------------
TrayRecentFiles
    Assembly-Version: 0.0.2.0.
    Win32-Version: 0.0.2.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/3YnSihmTkraWSjkDSzwR/TrayRecentFiles.dll.
----------------------------------------
VeraCryptAutoDismountGT
    Assembly-Version: 1.0.7194.29362.
    Win32-Version: 1.0.3.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/066Ku2cRwKQQG6AQcY7t/VeraCryptAutoDismountGT.dll.
----------------------------------------
YetAnotherFaviconDownloader
    Assembly-Version: 1.2.2.0.
    Win32-Version: 1.2.2.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/LbEkluzRJUEVx7JNd67v/YetAnotherFaviconDownloader.dll.
----------------------------------------
KeePass.XmlSerializers
    Assembly-Version: 2.43.0.18739.
    Win32-Version: 2.43.0.18739.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.XmlSerializers.DLL.
----------------------------------------
Jayrock.Json
    Assembly-Version: 0.9.12915.0.
    Win32-Version: 0.9.13422.2206.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/AxDYZg10g6dsxjxACSs1/Jayrock.Json.DLL.
----------------------------------------
System.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.resources.dll.
----------------------------------------
Microsoft.GeneratedCode
    Assembly-Version: 1.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
OtpSharp
    Assembly-Version: 1.0.5.0.
    Win32-Version: 1.0.5.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/91M1JFO42xmakFgF3Zjb/OtpSharp.DLL.
----------------------------------------
System.xml.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0 built by: NET48REL1.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Xml.resources.dll.
----------------------------------------
Google.Apis.Auth
    Assembly-Version: 1.16.0.0.
    Win32-Version: 1.16.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/Google.Apis.Auth.DLL.
----------------------------------------
Google.Apis.Core
    Assembly-Version: 1.16.0.0.
    Win32-Version: 1.16.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/Google.Apis.Core.DLL.
----------------------------------------
Google.Apis
    Assembly-Version: 1.16.0.0.
    Win32-Version: 1.16.0.0.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/Google.Apis.DLL.
----------------------------------------
Google.Apis.Drive.v3
    Assembly-Version: 1.16.0.596.
    Win32-Version: 1.16.0.596.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/Google.Apis.Drive.v3.DLL.
----------------------------------------
System.Runtime
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.dll.
----------------------------------------
KoenZomers.OneDrive.Api
    Assembly-Version: 2.3.0.3.
    Win32-Version: 2.3.0.3.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Mb526SHiiytWyPYQf7XB/KoenZomers.OneDrive.Api.DLL.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 7.0.0.0.
    Win32-Version: 7.0.1.18622.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/Newtonsoft.Json.DLL.
----------------------------------------
System.Threading.Tasks
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.Tasks.dll.
----------------------------------------
System.IO
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.IO.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.
KoenZomers commented 4 years ago

Thanks for reporting. I need a bit more information to understand the scenario and see if I can reproduce it.

I've go these keys configured:

image

Do I understand it correctly that I need to lock the KeePass database first:

image

Then open another application such as notepad, in notepad hit CTRL+ALT+A, enter my password to unlock my KeePass database again and then what should happen? For me nothing happens at this point. Nothing gets copied in to notepad nor does KeePass ask me something nor do I run into an error.

4-FLOSS-Free-Libre-Open-Source-Software commented 4 years ago

Another Error noting.

I got a similar error now, while database unlocked but saving and so triggering a sync: KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.<MainWindowOnFileSaved>d__2.MoveNext()

Well this might is no fatal bug. Since i could click continue button and save database again. sync finished without any error than. Can't reproduce yet!

This is what it looked like:

image

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
KeePassLib.Serialization.FileLockException: C:\Users\XXXXXXXXXXXXXXXXXXX.kdbx

Die Datei ist gesperrt, da der folgende Benutzer momentan in sie schreibt:
usr (LOCALHOST)

Bitte versuchen Sie es in ein paar Sekunden erneut.
   bei KeePassLib.Serialization.FileLock..ctor(IOConnectionInfo iocBaseFile)
   bei KeePassLib.PwDatabase.Save(IStatusLogger slLogger)
   bei KoenZomersKeePassOneDriveSync.KoenZomersKeePassOneDriveSyncExt.<MainWindowOnFileSaved>d__2.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4042.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll.
----------------------------------------
KeePass
    Assembly-Version: 2.43.0.18739.
    Win32-Version: 2.43.0.0.
    CodeBase: file:///C:/Program%20Files%20(x86)/KeePass%20Password%20Safe%202/KeePass.exe.
----------------------------------------
.........................................................................................
----------------------------------------
KoenZomers.OneDrive.Api
    Assembly-Version: 2.3.0.3.
    Win32-Version: 2.3.0.3.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Mb526SHiiytWyPYQf7XB/KoenZomers.OneDrive.Api.DLL.
----------------------------------------
Newtonsoft.Json
    Assembly-Version: 7.0.0.0.
    Win32-Version: 7.0.1.18622.
    CodeBase: file:///C:/Users/usr/AppData/Local/KeePass/PluginCache/Gj1Fc5hHZgMqoJVbdO3a/Newtonsoft.Json.DLL.
----------------------------------------
System.Threading.Tasks
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Threading.Tasks/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Threading.Tasks.dll.
----------------------------------------
System.IO
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.3752.0.
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.IO/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.IO.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

Can't reproduce d__2.MoveNext()! But d__a.MoveNext.

image

Do I understand it correctly that I need to lock the KeePass database first: Yes, db locked. For example start with locked but opened database. I've go these keys configured:

yes. globally autotype hotkey pressed. ctrl+alt+a

Then open another application such as notepad, in notepad hit CTRL+ALT+A, enter my password to unlock my KeePass database again and then what should happen?

I enter password and the error dialog appears for me. without password being typed.

Finally, i believe to found the error be incompatibility with other plugin installed. pluginlist in first post.

with KeePass Google Sync Plugin both enable it happens, because both plugins seem to access file at same time while the other may not be finished syncing... with it disabled i don't see this error again. In this case it is not your Plugin issue to take care of.

KoenZomers commented 4 years ago

Thanks for the extra info. I could see if I can add an extra check to ensure the KeePass file is not locked by another process. Would that help or is your issue resolved by simply disabling the other plugin?

4-FLOSS-Free-Libre-Open-Source-Software commented 4 years ago

just disabled the other. so, personally this resolved the issue for myself. there is usually nothing else i know of, that should lock the file at the same moment it is being synchronised by this plugin i think.