Things one should know about leo-ver-serv and history_tracer.py.

   1. leo-ver-serv should be running before Leo opens and the port it 
   listens on should match the one from Leo settings (by default 8087)
   2. if leo-ver-serv is running correctly it should populate the Leo files 
   combo-box on http://localhost:8087/public/index.html
   if this is not the case something is wrong and it is best to check 
   browser's console for errors.
   3. front-end is tested on Google-chrome and on Mozilla Firefox.
   4. if list of Leo files in combo-box matches the content of the file you 
   used when starting leo-ver-serv, initially all files will look empty, until 
   Leo sends its first snapshot for each of these files.
   5. history_tracer plugin binds a handler on 'command2' which is executed 
   after any Leo command, and this handler just records the time of the last 
   executed command. Every 5 seconds, plugin checks if there passed more than 
   5 seconds since last command and if it is it creates snapshot and posts it 
   to leo-ver-serv. 
   6. whenever snapshot is sent from Leo, in the console Leo prints a log 
   message about snapshot
   7. whenever snapshot is successfully accepted and recorded by 
   leo-ver-serv it should print single line log message about it.
   8. after the first recorded snapshot for the given Leo file, this file 
   becomes visible in the front end. Of course one must reload page or to 
   change Leo file to actually see new version.

If anything is not working according to this specification, please let me 
know which step is not working.

HTH Vitalije

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/f86b52af-fc00-4bea-9c81-b8ba29931d48%40googlegroups.com.

Reply via email to