Re: bigdash.py screen turns blank

2016-10-14 Thread lewis
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 PMGit repo info: branch =

Re: reversed iterators

2016-10-14 Thread 'Terry Brown' via leo-editor
From: Edward K. Ream To: leo-editor Sent: Friday, October 14, 2016 3:22 PM Subject: Re: reversed iterators On Fri, Oct 14, 2016 at 1:42 PM, 'Terry Brown' via leo-editor wrote: Something that just struck me. 

Re: reversed iterators

2016-10-14 Thread Edward K. Ream
On Fri, Oct 14, 2016 at 1:42 PM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: > Something that just struck me. I want to add, to all the nodes on a > multi-level subtree, two child nodes. Here's the code I used: > > for nd in reversed([i for i in p.subtree_iter()]): >

reversed iterators

2016-10-14 Thread 'Terry Brown' via leo-editor
Something that just struck me.  I want to add, to all the nodes on a multi-level subtree, two child nodes. Here's the code I used: for nd in reversed([i for i in p.subtree_iter()]):    nd.insertAsLastChild().h = 'src'    nd.insertAsLastChild().h = 'clip'c.redraw() I don't think that would have

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread Edward K. Ream
On Friday, October 14, 2016 at 12:32:25 PM UTC-5, Edward K. Ream wrote: On Fri, Oct 14, 2016 at 6:16 AM, zhaohe wang wrote: > >> u'@first # -*- coding: utf-8 -*-\n' >> pylint: done 0.23 sec. >> > > ​Not sure what is happening. You might try removing non-ascii characters

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread Edward K. Ream
On Fri, Oct 14, 2016 at 6:16 AM, zhaohe wang wrote: > Leo 5.4-devel, build 20160722143100, Fri, Jul 22, 2016 2:31:00 PM > Git repo info: branch = master, commit = cb40bc3b4ca7 > Python 2.7.12, PyQt version 4.8.7 > linux2 > pylint: keyLog.py > Traceback (most recent call

bigdash.py screen turns blank

2016-10-14 Thread lewis
Run the bigdash plugin 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

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread zhaohe wang
Leo 5.4-devel, build 20160722143100, Fri, Jul 22, 2016 2:31:00 PM Git repo info: branch = master, commit = cb40bc3b4ca7 Python 2.7.12, PyQt version 4.8.7 linux2 pylint: keyLog.py Traceback (most recent call last): File "", line 1, in File "leo/core/leoGlobals.py", line 1924, in run_pylint

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread Edward K. Ream
On Fri, Oct 14, 2016 at 5:30 AM, zhaohe wang wrote: > Is the config file: ~/.pylintrc or > ​​ > leo-editor/leo/test/pylint-leo-rc.txt ? > ​It should be in ​ ​​leo-editor/leo/test/pylint-leo-rc.txt EKR -- You received this message because you are subscribed to the

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread zhaohe wang
Is the config file: ~/.pylintrc or leo-editor/leo/test/pylint-leo-rc.txt ? 在 2016年10月14日星期五 UTC+8下午4:36:45,Edward K. Ream写道: > > > > On Thu, Oct 13, 2016 at 7:06 PM, zhaohe wang > wrote: > > ​QQQ​ > *When I run pylint in leo-editor: Alt X, follow error occurred:* > ​[snip]

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread Edward K. Ream
On Friday, October 14, 2016 at 3:36:45 AM UTC-5, Edward K. Ream wrote: ​The error occurs when processing the config file, so there is no error if > the config file isn't found. > Leo's internal pylint command appends the leo directory to sys.path. So you should do the same in the

Re: run pylint in leo-editor UnicodeDecodeError

2016-10-14 Thread Edward K. Ream
On Thu, Oct 13, 2016 at 7:06 PM, zhaohe wang wrote: ​QQQ​ *When I run pylint in leo-editor: Alt X, follow error occurred:* ​[snip] UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 2297: invalid start byte *Simply run pylint in con​s​ole:* swot@pp:~/app$