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 trap of specifying the latest version for pickling 
rather than a fixed version, as discussed on this page 
<https://groups.google.com/forum/#!topic/whoosh/z4LcEup1YEU>.

Terry worked around a similar problem in PickleShareDB ctor. The error 
message there is:

    Unpickling error - Python 3 data accessed from Python 2?

For bigdash.py, the plan is to have LeoFts.__init__ delete the old database 
in ~/.leo/fts_index and post a similar error message.  This will erase 
history, but I see no real alternative.

Your comments, please.

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 [email protected].
To post to this group, send email to [email protected].
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