bigdash.py screen turns blank

42 views
Skip to first unread message

lewis

unread,
Oct 14, 2016, 8:38:54 AM10/14/16
to leo-editor
Run the bigdash plugin <alt-x> global-search. Enter a search term into the window: s foo
When you select any of the find hits the window goes completely blank and does not take the cursor the the selected node in the body pane.
I am running python 3.5.2 with PyQt5. Hopefully someone can test with PyQt4 and confirm if this only occurs with PyQt5.

Regards
Lewis

lewis

unread,
Oct 14, 2016, 10:40:31 PM10/14/16
to leo-editor
Here is the console. The QTextBrowser messages appear after selection of the first and second results in the search window. You can repeat the search but the window always goes completely blank.

Leo 5.4-devel, build 20160722143100, Fri, Jul 22, 2016  2:31:00 PM
Git repo info: branch = master, commit = 281522323a89
Python 3.5.2, PyQt version 5.7.0
Windows 10 AMD64 (build 10.0.14393) SP0

QTextBrowser: No document for c0h0
QTextBrowser: No document for c0h1


Lewis

Edward K. Ream

unread,
Oct 22, 2016, 12:13:32 PM10/22/16
to leo-editor

​Works for me with the following:

    Python 3.5.2, PyQt version 4.8.7

    Windows 10 AMD64 (build 10.0.14393) SP0

It fails with the following:

    Python 2.7.12, PyQt version 4.8.7
    Windows 10 AMD64 (build 10.0.14393) SP0

The user sees this in the console and in the log pane:

    loadOnePlugin: can not load enabled plugin: leo.plugins.bigdash

Tracing with g.pdb() shows the failure is in top-level init() function in bigdash.py:

This line:

    g.app._global_search = GlobalSearch()

throws:

    ValueError: 'unsupported pickle protocol: 4'

Edward
Reply all
Reply to author
Forward
0 new messages