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
<[email protected]> 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
<[email protected]> 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 <[email protected]> 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
<[email protected]> wrote:
Geoff
On Tue, Jul 28, 2020 at 3:44 PM Geoff Evans <[email protected]> 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
[email protected].
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 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/521723053.6964701.1596186810180%40mail.yahoo.com.