Python-3-Migration of existing Data.fs

Michael Howitz <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
Hi,

at "Berlin Strategic sprint 2016“ [1] Florian Pilz and me developed a tool to analyze a ZODB Filestorage for Python 2 string objects. When they are in an encoding besides ASCII this would prevent using this Filestorage with Python 3 because of decoding errors arising on loading the pickles.
The tool is even able to convert those strings either to unicode by decoding them using a configurable encoding or convert them to `zodbpickle.binary` so Python 3 will read them as `bytes`.
See [3] for the documentation of the tool and [2] for the repository on GitHub.

* Is there already another tool for this analysis/migration?
* Is there already any practical knowledge migrating Filestorage contents to Python 3?
* Do you think such a tool is the right approach to achieve such a migration?
* Is there anyone who wants to try out the tool on a Filestorage of a personal project and share the experiences? (I analyzed two projects where I have access to a Filestorage but I am sure this does not catch all the edge cases.)



[1] http://gil.badall.net/2016/05/20/berlin-2016-sprint-update/
[2] https://github.com/gocept/zodb.py3migrate
[3] https://pythonhosted.org/zodb.py3migrate/

--
Michael Howitz · [email protected] · software developer
gocept gmbh & co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 1229889-8
Python, Pyramid, Plone, Zope · consulting, development, hosting, operations

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
signature.asc (application/pgp-signature, 496 B)
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJXQyYKAAoJEF5/l1Bp63+A/WMIAKWONj1w4PNpKeJ2Egttjzki
Y9PazJUgbwWYAxQvMc2ATOkUMo24PbfOatFnDbE3N6BukeBwrSBdCjYup3jcNT3o
nr9sU5iXrvN0+q9wSQCiFyBYWNXDJLwOwZnGNVSoLt9mNCSEWWLIgnfIaNhsO/gH
EEzOLBzOZhgrfqVKQEl8ISiJbhA0c/T2lAvXTrmMrRzKErfkmSTUN5nk9u/19Whp
/vIDniqeW4RXbVnKM/HH8Yi3EblatqKmcAanHTOT5LPXM/THXzl5S7/wW4HHvLCc
rwQSQmlmM9n1wI3IG98qYxtvr01RishjwMD8gh4HfvDCTz31f6UOwpD73M5Rf6w=
=OCk+
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.