Failed installing add-ons

Hello,

I failed to install Products.PloneGetPaid on Plone 5.2. Here is what I did:

$ cd ~/Plone/zinstance

$ git clone https://github.com/collective/Products.PloneGetPaid.git

Add to buildout.cfg:
[buildout]
parts += mrbob

[mrbob]
recipe = zc.recipe.egg
eggs =
mr.bob
bobtemplates.plone

$ cd Products.PloneGetPaid

$ ../bin/mrbob -O collective.foo bobtemplates.plone:addon

$ bin/buildout -c develop.cfg
Getting distribution for 'mr.developer==2.0.0'.
Got mr.developer 2.0.0.
Getting distribution for 'collective.xmltestreport==2.0.1'.
warning: no previously-included files matching '*.pyc' found anywhere in distribution
Got collective.xmltestreport 2.0.1.
Getting distribution for 'zope.testrunner==5.0'.
Got zope.testrunner 5.0.
Uninstalling unifiedinstaller.
Uninstalling backup.
Uninstalling repozo.
Unused options for buildout: 'deprecation-warnings'.
Installing _mr.developer.
Generated script '/home/notooth/Plone/zinstance/bin/develop'.
Installing instance.
While:
Installing instance.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/zc/buildout/buildout.py", line 2174, in main
getattr(buildout, command)(args)
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/zc/buildout/buildout.py", line 817, in install
installed_files = self[part]._call(recipe.install)
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/zc/buildout/buildout.py", line 1603, in _call
return f()
File "/home/notooth/Plone/buildout-cache/eggs/plone.recipe.zope2instance-6.3.0-py3.7.egg/plone/recipe/zope2instance/recipe.py", line 145, in install
installed.extend(self.install_scripts())
File "/home/notooth/Plone/buildout-cache/eggs/plone.recipe.zope2instance-6.3.0-py3.7.egg/plone/recipe/zope2instance/recipe.py", line 782, in install_scripts
requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
File "/home/notooth/Plone/buildout-cache/eggs/zc.recipe.egg-2.0.7-py3.7.egg/zc/recipe/egg/egg.py", line 87, in working_set
allow_unknown_extras=bool_option(buildout_section, 'allow-unknown-extras')
File "/home/notooth/Plone/buildout-cache/eggs/zc.recipe.egg-2.0.7-py3.7.egg/zc/recipe/egg/egg.py", line 168, in _working_set
allow_unknown_extras=allow_unknown_extras)
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 957, in install
return installer.install(specs, working_set)
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 674, in install
for spec in specs]
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/zc/buildout/easy_install.py", line 674, in
for spec in specs]
File "/home/notooth/Plone/zinstance/lib/python3.7/site-packages/pkg_resources/init.py", line 3138, in parse
req, = parse_requirements(s)
ValueError: not enough values to unpack (expected 1, got 0)
Can anyone help me fix this?

No indication that PloneGetPaid is Python 3 compatible.

1 Like

PGP is EOL-ware. I wouldn't bother with it, unless you want to torture yourself with ancient code etc. The BlueDynamics folks have their add-onbda.plone.shop, looks compatible but I've no experience with it. Good luck!

1 Like

Plone Foundation Code of Conduct