On Sat, May 27, 2017 at 6:21 PM, SegundoBob <[email protected]> wrote:
> I'm trying to run Leo-Editor with the Python 3 Debug Version, but
> Leo-Editor error terminates immediately. Is this a Leo-Editor problem? A
> PyQt problem? A Python Debug Version problem? A mixture? I have not
> figured out how to begin.
>
It may be a mixture.
The statement:
File "/pri/git/leo-editor/leo/plugins/qt_events.py", line 46, in <module>
class LeoQtEventFilter(QtCore.QObject):
AttributeError: 'NoneType' object has no attribute 'QObject'
Indicates that the leo.core.leoQt module was not able to import QtCore. I
have never used any Python debug version, but I'm guessing that perhaps
this is a Qt problem.
Off hand, I don't see any workaround. Adding a guard for a Null QtCore
module will allow Leo to import leo.plugins.qt_events, but Leo will surely
die shortly thereafter.
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.