On Tue, 22 Nov 2016 07:25:22 -0800 (PST)
Chris George <[email protected]> wrote:

> Now running Python 3.5.2 and PyQt 5.6.0 and this is what I get. 

Poking at leoQt - guessing immediately before this traceback it said
'leoQt.py: can not fully import PyQt5.' ?

It seems leoQt doesn't necessarily handle /partial/ failures when
trying to import - although really there is probably no way to handle
these other than reporting exactly what failed, and then crashing.

Cheers -Terry

> Traceback (most recent call last):
> >   File "./launchLeo.py", line 8, in <module>
> >     leo.core.runLeo.run()
> >   File "/home/chris/leo-editor/leo/core/runLeo.py", line 63, in run
> >     g.app.loadManager.load(fileName, pymacs)
> >   File "/home/chris/leo-editor/leo/core/leoApp.py", line 1951, in
> > load lm.doPrePluginsInit(fileName, pymacs)
> >   File "/home/chris/leo-editor/leo/core/leoApp.py", line 2014, in 
> > doPrePluginsInit
> >     lm.createGui(pymacs)
> >   File "/home/chris/leo-editor/leo/core/leoApp.py", line 2039, in
> > createGui lm.createSpecialGui(gui_option, pymacs, script,
> > windowFlag) File "/home/chris/leo-editor/leo/core/leoApp.py", line
> > 2054, in createSpecialGui
> >     g.app.createDefaultGui()
> >   File "/home/chris/leo-editor/leo/core/leoApp.py", line 989, in 
> > createDefaultGui
> >     app.createQtGui(fileName, verbose=verbose)
> >   File "/home/chris/leo-editor/leo/core/leoApp.py", line 1009, in 
> > createQtGui
> >     import leo.plugins.qt_gui as qt_gui
> >   File "/home/chris/leo-editor/leo/plugins/qt_gui.py", line 12, in
> > <module> import leo.plugins.qt_big_text as qt_big_text
> >   File "/home/chris/leo-editor/leo/plugins/qt_big_text.py", line 6,
> > in <module>
> >     import leo.plugins.qt_text as qt_text
> >   File "/home/chris/leo-editor/leo/plugins/qt_text.py", line 413,
> > in <module>
> >     class LeoLineTextWidget(QtWidgets.QFrame):
> > AttributeError: 'NoneType' object has no attribute 'QFrame'

-- 
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.

Reply via email to