On Mon, Dec 26, 2016 at 8:30 PM, 'Terry Brown' via leo-editor <
leo-editor@googlegroups.com> wrote:

>
> I think we were both basically on track, although the exact problem is
> a bit simpler than Py 2/3 having different file paths or hashes thereof
> for a particular file.  It's this line:
>
> https://github.com/leo-editor/leo-editor/blob/4d28c69/leo/
> core/leoCache.py#L405
>

​Excellent sleuthing, Terry.
​


> So the solution would be a hard coded constant of 2 in place of
> pickle.HIGHEST_PROTOCOL there.
>

​This seems like the simplest and best solution. I appreciate your
attention to detail in rev 0cf4999.

As you say later, we could write Python 3 code to recursively convert all
the pickles in ~/.leo/db/ to protocol 2, but for now there seems to be no
great need to do that.

Lewis, does the clear-all-caches command make the problem better or worse?

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.

Reply via email to