Re: Python 3 -> 2 pickling problems with bigdash plugin

2017-01-24 Thread Edward K. Ream
On Tue, Jan 24, 2017 at 10:37 AM, Edward K. Ream wrote: The best, and safest solution seem to ask the user to the entire directory. > ​I meant, ask the user to *delete* the entire directory. EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group.

Re: Python 3 -> 2 pickling problems with bigdash plugin

2017-01-24 Thread Edward K. Ream
On Tuesday, January 24, 2017 at 9:31:27 AM UTC-6, Edward K. Ream wrote: I think I'll just go with deleting incompatible caches. > Apparently whoosh.open_dir leaves resources open so that shutil.rmtree(idx_dir) fails. The best, and safest solution seem to ask the user to the entire directory. E

Re: Python 3 -> 2 pickling problems with bigdash plugin

2017-01-24 Thread Edward K. Ream
On Tue, Jan 24, 2017 at 9:08 AM, 'Terry Brown' via leo-editor < leo-editor@googlegroups.com> wrote: ​[bigdash.py could use]​ > two DB's, one for Py2 and one for Py3. > ​Interesting idea. On the plus side, it avoids all error messages. On the minus side, it might lead to subtly different behavio

Re: Python 3 -> 2 pickling problems with bigdash plugin

2017-01-24 Thread 'Terry Brown' via leo-editor
-Terry From: Edward K. Ream To: leo-editor Sent: Tuesday, January 24, 2017 9:03 AM Subject: Python 3 -> 2 pickling problems with bigdash plugin I have just discovered another pickling problem when going backwards from Python 3 to 2.  This happens often enough in my testing.  I

Python 3 -> 2 pickling problems with bigdash plugin

2017-01-24 Thread Edward K. Ream
I have just discovered another pickling problem when going backwards from Python 3 to 2. This happens often enough in my testing. I think there is an easy workaround, but I'd like your comments. The bigdash.py plugin uses the whoosh package if it exists, and whoosh has fallen into the common