Re: Is anyone else seeing cache warnings on Windows 10 with PyQt5?

2016-09-22 Thread Edward K. Ream
On Thursday, September 22, 2016 at 9:43:29 AM UTC-5, Edward K. Ream wrote:
>
> #304  describes this 
> problem.  It's bugging me, and there is no obvious solution.
>

Rev 69c3201 

 
is a better workaround. It leaves leoQt.py unchanged. The viewrendered.py 
and bigdash.py plugins now use QTextBrowser widgets instead of QWebView 
widgets when using PyQt5 on Windows.

Apparently, instantiating a QWebView holds the cache open. The workaround 
degrades the vr and bigdash plugins, but imo that is preferable to the 
messages appearing in the console.

This was the last known bug in Leo! I'll be working on preparing Leo 5.4b1 
for distribution next.

EKR

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


Re: Is anyone else seeing cache warnings on Windows 10 with PyQt5?

2016-09-22 Thread Edward K. Ream
On Thursday, September 22, 2016 at 9:43:29 AM UTC-5, Edward K. Ream wrote:
>
> #304  describes this 
> problem.  It's bugging me, and there is no obvious solution.
>

Progress.  The warnings happen only if a version of Leo running PyQt5 is 
*already 
open*.  Apparently, PyQt5 is holding the Python cache open even when Leo is 
not active.

So the workaround is to open leoPy.leo with Python 2, and do testing with 
Python 3.  Not great, but much better than seeing the dashed warnings.

EKR

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


Is anyone else seeing cache warnings on Windows 10 with PyQt5?

2016-09-22 Thread Edward K. Ream
#304  describes this 
problem.  It's bugging me, and there is no obvious solution.

I'm wondering whether it could be a weird installation/settings issue on 
just my machine, or whether others are affected.  If so, please respond 
here.

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.