Problems in mount points

Hi there,

i'm trying to define mount points in plone 5.2. I'm newbie in plone 5.2. So, i added to buildout.cfg:

[filestorage]
recipe=collective.recipe.filestorage
zopes = instance
blob-storage = ${buildout:var-dir}/%(fs_part_name)s/blobstorage
location = ${buildout:var-dir}/%(fs_part_name)s/filestorage/Data.fs
zodb-container-class = OFS.Folder.Folder
parts =
my-fs

But, when i run bin/buildout:

While:
Installing.
Getting section filestorage.
Initializing section filestorage.
Loading zc.buildout recipe entry collective.recipe.filestorage:default.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):

[...]
File "/opt/plone/Portal/zeocluster/lib/python3.8/site-packages/pkg_resources/init.py", line 2449, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
File "/opt/plone/Portal/buildout-cache/eggs/collective.recipe.filestorage-0.6-py3.8.egg/collective/recipe/filestorage/init.py", line 22
raise UserError, '[collective.recipe.filestorage] "%s" part specifies nonexistant zeo part "%s".' % (name, self.zeo_part)
^
SyntaxError: invalid syntax

I appreciate any help.
Thanks

-Fred Saraiva

A workaround could be:
2to3 -w /opt/plone/Portal/buildout-cache/eggs/collective.recipe.filestorage-0.6-py3.8.egg/collective/recipe/filestorage/init.py

Use the Python3 Branch of the Repro in your Buildout

Plone Foundation Code of Conduct