You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure whats going wrong here, but when using the bin/export-distribution script on a development package here (buildout setup on MacOS) I get the following traceback:
Traceback (most recent call last):
File "/Users/peterm/workspace/cipra/bin/export-distribution", line 288, in <module>
sys.exit(plone.distribution.cli.export())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/Users/peterm/workspace/cipra/eggs/plone.distribution-3.0.0b2-py3.13.egg/plone/distribution/cli/__init__.py", line 46, in export
logger.info(f" Wrote {item.relative_to(path)}")
~~~~~~~~~~~~~~~~^^^^^^
File "/Users/peterm/.pyenv/versions/3.13.1/lib/python3.13/pathlib/_local.py", line 385, in relative_to
raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")
ValueError: '/var/folders/rd/cmj0g605667ctvxbmb3b7rh80000gn/T/plone.exportimportvrvcuxsg/content/__metadata__.json' is not in the subpath of '/Users/peterm/workspace/cipra/src/plonetheme.cipra/src/plonetheme/cipra/distributions/cipra/content'
What I did:
create new Plone site using our customer distribution (based on Classic UI)
create some example content
run the script
Versions:
Plone: 6.1.0b2
Python: 3.13.1
The text was updated successfully, but these errors were encountered:
Aha ... turns out that you have to create the subfolder content manually inside your distributions/<name>folder before exporting ... wasn't obvious to me with this traceback ...
I'm not sure whats going wrong here, but when using the
bin/export-distribution
script on a development package here (buildout setup on MacOS) I get the following traceback:What I did:
Versions:
Plone: 6.1.0b2
Python: 3.13.1
The text was updated successfully, but these errors were encountered: