Menu

#1621 Infinite sync loop on Windows, with 'interface updated' trigger

KeePass_2.x
closed
nobody
None
5
2017-04-06
2017-04-06
JN
No

On Windows (8.1 x64), when I add a 'trigger' to syncronise my local database with router-attached USB storage, the specific trigger being the 'user interface updated' option, the program gets stuck in an infinite loop. No other triggers are defined, and, yet, it seems that something is causing the sync to continuously restart.

Discussion

  • Dominik Reichl

    Dominik Reichl - 2017-04-06
    • status: open --> closed
     
  • wellread1

    wellread1 - 2017-04-06

    See the trigger example documentation for information on how to eliminate infinite loops. The most common reason for infinite loops in a sync trigger is caused by the fact that a sync invokes a save, which triggers any trigger that contains a save event that hasn't been disabled.

     
  • JN

    JN - 2017-04-06

    OK, thanks, got it. I do think that that info should be more visible. Also, generally - at least given two computers (one Windows, one Linux) and a plethora of different versions of the same software to choose between (KeePass, KeePassX, KeePassXC) . . what a nightmare. I learned a fair amount of bash scripting - trying to get the two computers to sync without any form of pre-made sync software (none of which I've managed to get working properly), which in the end didn't work because of limitations of all versions of KeePass except the original. So now I am back with the original, thinking all is forgiven. (I'd tried the variants because of aspects of KeePass I didn't like, e.g. the tray icon doesn't work in Linux). I almost said: welcome back LastPass, all is forgiven! And indeed, if KeePass throws a fit when my usb-attached storage isn't available, I will return to LastPass.

    Sorry; I seem to have gone off on one a bit . .

     
  • Paul

    Paul - 2017-04-06

    Yes, multiple computer types can be problematic.

    cheers, Paul

     

Log in to post a comment.

MongoDB Logo MongoDB