Yesterday I had a leo outline open for about 9-10 hours. I did modifications to it, I had breaks, I was disturbed by other stuff (like switching to the browser window to check out if new posts appeared on this group).
I always run leo from a terminal. Sometimes it prints useful debug messages to the terminal, so this become a habit. Yesterday, when I was going to close leo, I took a look at the terminal. I saw there a line like "*** Unicode Error: bugs possible". I didn't notice anything weird happening to my outline, so presumably there's no big deal about it. But this error message raised a concern. I have realized I don't know when exactly it happened. Why? Because leo didn't tell me. I found that error message in the leo source code. It gets printed only once from qtGui.py. It's a call to g.trace(). Now I'm going to make a suggestion. Consider to patch g.trace() to prefix the error messages it prints with a timestamp. Also, I remember the tk GUI dumping tracebacks into a popped window. Running leo from a terminal is good, but I keep that terminal minimized, so it doesn't get into my way. If there are serious bugs that can be spotted by catching exceptions, it would be good to display them in a popup window as well, when using the qt GUI too (which is the default now). That would ring a bell for the user. That would help him isolate the bug by repeating the last actions he did before that popup and trying to reproduce it.
-- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
