Crash leo completely using the Graph tab enabled via the graphcanvas plugin.
Although this is a problem with graphcanvas it seems to me that
exceptions recently became much more likely to hard crash Leo.
Probably worth working out what changed.
Crash leo completely using the Graph tab enabled via the graphcanvas plugin.
Everything works for me with Python 3.5.2, PyQt version 4.8.7. Maybe the problem is with PyQt 5.7...Furthermore, exceptions are caught properly.
> <https://groups.google.com/d/msg/leo-editor/CFZ9L4-fVUc/Ft751CaoAwAJ>was
> the culprit. Maybe the supposed fix did more harm than good.
Here is what I get.
Leo 5.4, Sat Oct 22 07:05:03 2016
Git commit: ff9c33da
Python 3.5.2, PyQt version 5.6.0
linux
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to leo-e...@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.
--
....
Traceback (most recent call last):
File "/working/leo/leo-editor/leo/plugins/graphcanvas.py", line 163, in <lambda>
u.btnColor.clicked.connect(lambda checked: o.setColor())
File "/working/leo/leo-editor/leo/plugins/graphcanvas.py", line 1286, in setColor
node = self.node[self.lastNodeItem]
KeyError: None
There's definitely something change with exception handling. Or
something related.
python3 launchLeo.py ~/.leo/del.leo
seg-faults without starting (splash is displayed)
But it's not something you can pin down with git bisect, I think it's
probably also related to Python and Qt versions, particularly the
recent(ish) jump from Qt 4 to 5 for Python 2.7 deployments.