maxwellyu1024 / bpbible

Automatically exported from code.google.com/p/bpbible
Other
0 stars 0 forks source link

Template migration to 0.4 #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Templates have changed to backend.verse_template.Template instead of
util.util.Template. Pickles from 0.3 will reference the old item. Perhaps a
search and replace of the pickle text will do it?

Original issue reported on code.google.com by benpmor...@gmail.com on 5 Oct 2008 at 11:59

GoogleCodeExporter commented 9 years ago
This didn't appear to work when I did it manually on an SVN copy.  It lost my 
custom
template.

I suspect most users will not have changed their templates, and hence they 
should
just be replaced with new "standard" default templates for 0.4.

Original comment by jonmmor...@gmail.com on 5 Oct 2008 at 11:41

GoogleCodeExporter commented 9 years ago
In fact, it does work.  I just changed the pickle incorrectly, so it was 
failing to
load at all.  My custom template is once again restored.  Should be readily 
possible
to do the change automagically.

Original comment by jonmmor...@gmail.com on 7 Oct 2008 at 12:27

GoogleCodeExporter commented 9 years ago
Fixed in r362.
A simple find and replace on the pickle does it.

Original comment by benpmor...@gmail.com on 6 Nov 2008 at 8:41