'QMessageBox' object has no attribute 'setCheckBox' on recent pull

jkn jkn_gg at nicorp.f9.co.uk
Mon Jan 22 05:22:11 EST 2018


Hi Edward

Seen after a recent pull:

D:\winapps\leo-editor>python launchLeo.py

can not import leo.plugins.importers.wikimarkup
can not import leo.plugins.importers.wikimarkup
reading settings in D:\winapps\leo-editor\leo\config\leoSettings.leo
reading settings in C:\Users\jnicoll\.leo\myLeoSettings.leo

Note: sys.stdout.encoding is not UTF-8
See: https://stackoverflow.com/questions/14109024

Leo 5.6, build 20180121141749, Sun Jan 21 14:17:49 CST 2018
Git repo info: branch = master, commit = 0a36546f5664
Python 2.7.2, PyQt version 4.8.6
Windows 7 x86 (build 6.1.7601) SP1
** isPython3: False
** caching enabled

reading settings in C:\Users\jnicoll\.leo\workbook.leo
Traceback (most recent call last):
  File "launchLeo.py", line 8, in <module>
    leo.core.runLeo.run()
  File "D:\winapps\leo-editor\leo\core\runLeo.py", line 74, in run
    g.app.loadManager.load(fileName, pymacs)
  File "D:\winapps\leo-editor\leo\core\leoApp.py", line 2216, in load
    g.app.gui.runMainLoop()
  File "D:\winapps\leo-editor\leo\plugins\qt_gui.py", line 1073, in runMainLoop
    g.app.gui.show_tips()
  File "D:\winapps\leo-editor\leo\plugins\qt_gui.py", line 1141, in show_tips
    m.setCheckBox(cb)
AttributeError: 'QMessageBox' object has no attribute 'setCheckBox'


QMessageBox::setCheckBox() appears to have been introduced in Qt v5.2. Is this a dependancy now? 

    http://leoeditor.com/installing.html#dependencies

still says Qt4 or Qt5

Thanks, Jon N




More information about the Python-list mailing list