Sorry to be slow, but: "MyLeoSettings has priority for setting something, otherwise LeoSettings.leo prevails." It seems to me that if I simply comment out a plugin line in myLeoSettings.leo, I'm turning it into a line that gets ignored, not a line that contradicts what's in leoSettings.leo -- so the plugin would still be there. Which would mean that I'd have to edit leoSettings.leo itself? I suppose an alternative is that there's a whole plugins section in both files, and the section in My... would override the section in Leo... In which case commenting out would work. I guess I can experiment. geoff
On Friday, July 31, 2020, 10:12:38 a.m. NDT, Thomas Passin <tbp100...@gmail.com> wrote: Whoa, 12000 lines is out of sight! Definitely something wrong there. If you delete myLeoSettings.leo and then ask Leo to open it from the settings menu, Leo will offer to create a new one (I renamed my existing one so I could restore it later). I just did that, and the new MyLeoSettings.leo file (on Windows) was some 3.95k long with less than 200 lines. The entire list of plugins is in there, apparently copied from LeoSettings,Leo. It's worth trying. The appearance (fonts and window layout) was awful, but at least it's a start. You could copy the theme and font settings from your old MyLeoSettings.leo file, if they haven't been munged up too badly. About the plugins, LeoSettings.leo normally has, IIRC, a small set of plugins that are not commented out, and a larger number that are. Those lists of enabled and commented plugins seems to get copied to myLeoSettings.leo. I think that your understanding fits with mine - MyLeoSettings has priority for setting something, otherwise LeoSettings.leo prevails. On Friday, July 31, 2020 at 5:13:36 AM UTC-4, Geoff Evans wrote: I'm a bit confused. Would I have to comment out the lines in leoSettings.leo? The way I read the documentation, it appears that commenting them out in myLeoSettings.leo would simply mean accepting the default from leoSettings.leo. Or is there a way in myLeoSettings to remove a previously included plugin? I'm also confused because myLeoSettings.leo, which I didn't deliberately construct when I reinstalled, is almost as long (12000+ lines) as leoSettings.leo, whereas on another (OS-X) computer it is only a couple of hundred lines -- which I thought was the recommended way. geoff On Thursday, July 30, 2020, 6:00:17 p.m. NDT, Thomas Passin <tbp1...@gmail.com> wrote: Some of the plugins are awfully handy to have. If you have the patience, you could comment out all the plugins except one at a time until you find one that causes your problem. On Thursday, July 30, 2020 at 3:55:57 PM UTC-4, Geoff Evans wrote: More experiments: python >>> import metadoesn't complain; but leo won't run when I comment out livecode.py in myLeoSettings.leoI can probably live without the plugins, though it would be nice to understand what's still going wrong. geoff On Thursday, July 30, 2020, 3:40:02 p.m. NDT, Brian Theado <brian...@gmail.com> wrote: Based on your output, it looks like you are still stuck with your original problem. It is crashing while trying to load the meta package. Since it is the livecode.py plugin which is using that package, you could just launch leo without any plugins (--no-plugins command line option) and then disable the livecode.py plugin. If you need the livecode plugin, then your best bet is to try troubleshooting it from python without leo involved. python>>> import meta If that fails in the same way, then the issue is completely separate from leo. On Thu, Jul 30, 2020 at 7:24 AM GEOFFREY EVANS <gtev...@nl.rogers.com> wrote: Thanks Brian, Sorry for the huge file. There's nothing in it that I can recognize as the problem, but others will have more skill and knowledge ofthese areas. geoff (base) geoff:1567>python leo-editor-master/launchLeo.py Fatal Python error: Segmentation fault Current thread 0x00007f2f26aa5740 (most recent call first): File "/home/geoff/anaconda3/lib/ python3.7/ctypes/__init__.py", line 273 in _reset_cache File "/home/geoff/anaconda3/lib/ python3.7/ctypes/__init__.py", line 543 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/mkl/__ init__.py", line 33 in __enter__ File "/home/geoff/anaconda3/lib/ python3.7/site-packages/mkl/__ init__.py", line 48 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/numpy/ _distributor_init.py", line 13 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1035 in _handle_fromlist File "/home/geoff/anaconda3/lib/ python3.7/site-packages/numpy/ __init__.py", line 140 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/scipy/ __init__.py", line 61 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/ networkx/generators/community. py", line 20 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/ networkx/generators/__init__. py", line 8 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/ networkx/__init__.py", line 112 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/meta/ asttools/visitors/graph_ visitor.py", line 11 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/meta/ asttools/__init__.py", line 55 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/meta/ decompiler/simple_ instructions.py", line 13 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/meta/ decompiler/instructions.py", line 8 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/meta/ decompiler/__init__.py", line 7 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 953 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load File "/home/geoff/anaconda3/lib/ python3.7/site-packages/meta/_ _init__.py", line 2 in <module> File "<frozen importlib._bootstrap>", line 219 in _call_with_frames_removed File "<frozen importlib._bootstrap_external> ", line 728 in exec_module File "<frozen importlib._bootstrap>", line 677 in _load_unlocked File "<frozen importlib._bootstrap>", line 967 in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 983 in _find_and_load ... Segmentation fault (core dumped) On Wednesday, July 29, 2020, 9:53:15 p.m. NDT, Brian Theado <brian...@gmail.com> wrote: Geoff On Tue, Jul 28, 2020 at 3:44 PM Geoff Evans <gtev...@nl.rogers.com> wrote: < pip install leo > appeared to work (once I banished all the 5.9 stuff to a directory outside anaconda), but when I tried to run leo: (base) geoff:1520>leo mbr.leo setting leoID from os.getenv('USER'): 'geoff' Leo 6.2.1 final Segmentation fault (core dumped) For core dumps, you can add 'import faulthandler; faulthandler.enable()' to launchLeo.py and you should get a python stack trace at the time of the segfault. Maybe you will find a clue in that output. See this thread where I share details about doing the same: https://groups.google.com/d/ msg/leo-editor/ghiIN7irzY0/ 2wreFgcYDQAJ Brian -- You received this message because you are subscribed to a topic in the Google Groups "leo-editor" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/leo-editor/Y6KRkP5wi2o/ unsubscribe. To unsubscribe from this group and all its topics, send an email to leo-e...@ googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/leo-editor/ CAO5X8CyKFTCuPNUXM8MdafPvo% 3D6H%3DDgWGXe% 3D8hN58bheRh9pnw%40mail.gmail. com. -- 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 leo-e...@ googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/leo-editor/1550979585. 6600179.1596108273873%40mail. yahoo.com. -- You received this message because you are subscribed to a topic in the Google Groups "leo-editor" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/leo-editor/Y6KRkP5wi2o/ unsubscribe. To unsubscribe from this group and all its topics, send an email to leo-e...@ googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/leo-editor/ CAO5X8Cw295ROfeuYK-% 3DqXECWdqBtRnBn9u_ f3COf64ngS7kjBA%40mail.gmail. com. -- You received this message because you are subscribed to a topic in the Google Groups "leo-editor" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/leo-editor/Y6KRkP5wi2o/ unsubscribe. To unsubscribe from this group and all its topics, send an email to leo-e...@ googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/ msgid/leo-editor/545f1009- 559d-4775-be1c-761b9cb0c754o% 40googlegroups.com. -- You received this message because you are subscribed to a topic in the Google Groups "leo-editor" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/leo-editor/Y6KRkP5wi2o/unsubscribe. To unsubscribe from this group and all its topics, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/89f3a4a9-ecf1-49b2-b725-b583831cf82fo%40googlegroups.com. -- 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 leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/1044112764.7005657.1596201700184%40mail.yahoo.com.