*Leo-Editor Version:*
Leo 6.1-devel, devel branch, build f5986d8016
2019-08-09 10:23:41 -0500
Python 3.6.8, PyQt version 5.11.1

*Bug Description:*

This bug may be in my code or in Leo-Editor code.  I have been seeing 
occurrences for at least two weeks.

The bug occurs when I run my unit tests for my program that compares two 
Leo-Editor files.  I have 41 unit tests.  The bug occurs about once every 
30 tests.

My comparison program uses LeoBridge to access Leo-Editor files.  File 
"Content" as accessed by vnode (not position).  File "structure" is 
analyzed by position (path).  That is, my program gets the headline and 
body from the vnode (vn.h, bn.b).  When my comparison program compares the 
unit test File A and File B, the bug never occurs.  Using LeoBridge my 
comparision program produces a difference file (File D).  The unit tests 
use subprocess.call() to execute my comparision program, so the process 
comparing File A and File B and producing File D ends.  Then the unit tests 
use subprocess.call() to compare the actual File D with the expected File 
D.  This is when the bug occurs.

The bug is always that a headline in File D, is seen to be "NewHeadline."  
But when I look at File D, there is no "NewHeadline" and File D is exactly 
as expected.

There are never two or more bug occurrences in comparing one File D.  The 
bug never occurs on a node body.  There is a slight tendency for bug 
occurrences to cluster.  That is, sometimes it occurs on two tests in a row 
or even three tests in row.

*Help:*

Does anyone have any ideas about how this bug could occur?  Does anyone 
have any ideas about how to chase this bug?

-- 
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/fd49a5e7-6694-4bf6-9b22-88c517ef38ef%40googlegroups.com.

Reply via email to