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:

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 =

But, when i run bin/buildout:

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/", 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/", 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.

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

Use the Python3 Branch of the Repro in your Buildout

Thanks for your answer. But, i'm a newbie. So, could you give me more instructions or show me where i may get it?

Thanks a lot!


in your buildout.cfg exists a section with label source, this section should contain the checkout of the python3 branch

collective.recipe.filestorage = git branch=python3

or if you checkout the package in your src directory, use this

collective.recipe.filestorage = fs collective.recipe.filestorage

if i remember right, filestorage should be the first entry in the parts section, so much for the theory


> mkdir ./sample
> cd sample
> python3 -m venv .
> source bin/activate
> touch requirements.txt
> touch buildout.cfg

edit the files:

# requirements.txt
# buidlout.cfg
index =
extensions = mr.developer
develop = 
sources = sources
auto-checkout = *
always-checkout = force

site1 = mp-my-site1
site2 = mp-my-site2

parts =

recipe = collective.recipe.filestorage
parts =
location = ${buildout:directory}/var/%(fs_part_name)s/filestorage/Data.fs
blob-storage = ${buildout:directory}/var/%(fs_part_name)s/blobstorage
recipe = plone.recipe.zope2instance
user = admin:admin
http-address = 8080
eggs =

collective.recipe.filestorage = git branch=python3
> bin/pip install -r requirements.txt
> bin/buildout
> bin/instance fg

Now, you can add the two created mountpoints in the ZMI.

Great! Worked very well!

Thank you very much.


Plone Foundation Code of Conduct