incorrect definition of the path to translation folder resulting in an exception
Perform KeePass update check BEFORE opening a database
Brought to you by:
rookiestyle
I understand that this is my private use of keepass.
I copy the unpacked libraries from %appdata%/local/keepass to the %keepass%/plugins folder for portability so as not to unplug the plugins on each new computer.
When I regularly check for updates, I get an exception message every time.
System.IO.DirectoryNotFoundException: Could not find part of the way "C:\Windows\system32\Plugins\Translations".
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileSystemEnumerableIterator`1.CommonInit()
в System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
в System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
в KeePassLib.Utility.UrlUtil.GetFilePaths(String strDir, String strPattern, SearchOption opt)
в EarlyUpdateCheck.EarlyUpdateCheckExt.UpdatePlugin(UpdateInfo upd)
в EarlyUpdateCheck.EarlyUpdateCheckExt.OnPluginMouseClick(Object sender, MouseEventArgs e)
в System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
в System.Windows.Forms.ListView.WmReflectNotify(Message& m)
в System.Windows.Forms.ListView.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Is it possible to fix this? For some reason, the path to the translation file leads to the system32 folder. All your plugins are affected by this.
In previous versions of EarlyUpdateCheck relative folder names were used and I assume this is causing issues in your case.
Current version 1.6 is using absolute folder names.
Please update EarlyUpdateCheck manually and let me know whether the issue still exist.
If required I can provide an older version of one of my other plugins for testing purpose.
V1.6.1 checks the translations folder for existance.
If the issue still persist please restart KeePass with --debug option and attach the additional Information shown by EarlyUpdateCheck
Works good, the problem seems to be solved. Thank.