Unfortunately, I'm not able to run unit tests without getting a segfault. It appears to be related to loading the readline library similar to what I reported last year: https://groups.google.com/d/msg/leo-editor/ghiIN7irzY0/2wreFgcYDQAJ. Though now I'm running Ubuntu 18.04. Something in the unit test code causes pdb to be loaded which loads readline and causes the crash.
I faced the same issue when trying to set breakpoints in code...invoking pdb crashed. I solved that by launching leo with 'python -m pdb'. Somehow when doing it that way there was no crash. However, the same workaround didn't work for running the unit tests. I have some ideas on tracking it down further, but I haven't gotten to it yet. On Tue, Aug 20, 2019 at 6:15 AM Edward K. Ream <[email protected]> wrote: > > > On Mon, Aug 19, 2019 at 7:04 PM Brian Theado <[email protected]> > wrote: > >> I found a core function which uses undo groups and used this code to call >> it: >> >> c.createNodeHierarchy(['a', 'b', 'c'], parent=p) >> c.redraw(p) >> >> Redoing this operation gives the same error as the test code and the >> bead+1 fixes it also. I think this bug is affecting all grouped redo. >> > > Thanks for this work. Does the proposed change pass all unit tests? > > Edward > > -- > 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/CAMF8tS20sv7uEzmpFH8Sf65h5JRDF_kX_rvDyggbqK8%2BhJKi5g%40mail.gmail.com > <https://groups.google.com/d/msgid/leo-editor/CAMF8tS20sv7uEzmpFH8Sf65h5JRDF_kX_rvDyggbqK8%2BhJKi5g%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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/CAO5X8Cz%3DQBbjBFEq9EjdRFoCkXq0%3DY6vQTYXPz7GXm7j1xjDaA%40mail.gmail.com.
