Re: apt problem with zodb3

Michael Howitz <[email protected]> Mon, 4 Jun 2018 07:54:22 +0200
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
Am 01.06.2018 um 20:36 schrieb Etienne Robillard <[email protected]>:
> Hi, I have this strange error now on my debian stretch system:
> 
> Error processing line 1 of /usr/local/lib/python3.5/dist-packages/zodb.py3migrate-nspkg.pth:
> 
>   Traceback (most recent call last):
>     File "/usr/lib/python3.5/site.py", line 173, in addpackage
>       exec(line)
>     File "<string>", line 1, in <module>
>     File "<frozen importlib._bootstrap>", line 574, in module_from_spec
>   AttributeError: 'NoneType' object has no attribute 'loader'
> 
> Remainder of file ignored
> 
> Any ideas how to fix this?

Hi Etienne,

zodb.py3migrate has to be used under Python 2.7.
But I found out it has to be updated to run on ZODB >= 4 to be able to do any migration.
My current suggestion is to use https://pypi.org/project/zodbupdate/#migration-to-python-3 for the Python 3 migration.
zodbupdate was already successfully used to migrate a Data.fs but zodb.py3migrate did not do the job yet.


Mit freundlichen Grüßen
-- 
Michael Howitz · [email protected] · Software-Entwickler
gocept gmbh & co. kg · Forsterstraße 29 · 06112 Halle (Saale) · Germany
http://gocept.com · Tel +49 345 1229889-8
Python, Pyramid, Plone, Zope · Beratung und Entwicklung

-- 
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.