On Mon, Jun 27, 2016 at 7:31 AM, Zoom.Quiet <zoom.qu...@gmail.com> wrote:
> what i forget something? > > $ python /opt/bin/leo/launchLeo.py > > File "/opt/bin/Leo-5.2-final/leo/plugins/qt_text.py", line 434, in > <module> > class LeoLineTextWidget(QtWidgets.QFrame): > AttributeError: 'NoneType' object has no attribute 'QFrame' > The trace tells us that QtWidgets is None. The crash happens in qt_text.py. This file contains this line: from leo.core.leoQt import isQt5, QtCore, QtGui, Qsci, QtWidgets That is, Leo uses leoQt.py to import QtWidgets. You can see exactly what leoQt.py is doing by setting trace = True in leoQt.py. In short, Leo is not able to import PyQt4 or PyQt5. 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 leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.