I'm trying to install collective.solr on my Plone 5.1 site, but I unfortunately am running into version conflicts when I run buildout.
Got five.formlib 2.0.
Getting distribution for 'Zope'.
Got Zope 4.0b7.
Version and requirements information containing zope.formlib:
[versions] constraint on zope.formlib: 4.0.6
Requirement of collective.solr: zope.formlib
Requirement of zope.formlib: zope.datetime
Requirement of zope.formlib: zope.traversing
Requirement of zope.formlib: zope.security
Requirement of zope.formlib: zope.schema>=3.5.1
Requirement of zope.formlib: zope.publisher
Requirement of zope.formlib: zope.lifecycleevent
Requirement of zope.formlib: zope.interface
Requirement of zope.formlib: zope.i18nmessageid
Requirement of zope.formlib: zope.i18n
Requirement of zope.formlib: zope.event
Requirement of zope.formlib: zope.component
Requirement of zope.formlib: zope.browserpage>=3.11.0
Requirement of zope.formlib: zope.browser>=1.1
Requirement of zope.formlib: pytz
Requirement of zope.formlib: setuptools
Requirement of five.formlib>=1.0.2: zope.formlib>=4.4
While:
Installing instance.
Error: The requirement ('zope.formlib>=4.4') is not allowed by your [versions] constraint (4.0.6)
Unfortunately when I try to pin zope.formlib to 4.4 underneath the versions, I run into another error with zExceptions.
I did download solr.cfg and solr-4.10.x.cfg and included them underneath extensions and also placed underenath versions collective.recipe.solrinstance = 5.3.2.
I tried a brand new UnifiedInstallation (Plone-5.1.2-UnifiedInstaller) so that it was a brand new buildout-cache and ran into the same issue.
Is there a missing package I need that will set the correct versions? Or do I need to change the version of something?
@gforcada is correct. I'd recommend to try collective.solr master branch if you want to use it with Plone 5.1. We found plenty of incompatibilities with Plone 5.1 that we had to fix, so you will for sure run into issues when using the latest pypi release.
We just have to fix one issue with the sorting in Solr before we can make a first collective.solr 7.0.0 alpha release.
Thank you very much for your response. I am really sorry for my late response.
I used the master version and it compiled. I tried running a plone instance and the utility showed up in the plone management. However, I forgot I needed to run 'bin/solr-instance start', but it didn't add solr-instance to the bin directory. I tried bin/buildout -c solr.cfg, but a message said I needed zc.buildout>=2.12.0:
Uninstalling unifiedinstaller.
Version and requirements information containing zc.buildout:
[versions] constraint on zc.buildout: >=2.11.2
Requirement of plone.recipe.unifiedinstaller: zc.buildout
Requirement of zc.recipe.egg: zc.buildout>=2.12.0
Requirement of zc.buildout: setuptools>=8.0
While:
Installing.
Uninstalling unifiedinstaller.
Installing recipe plone.recipe.unifiedinstaller.
Error: There is a version conflict.
We already have: zc.buildout 2.11.2
This is unfortunately a seperate problem, but I am not sure how to update zc.buildout. Pinning the version in buildout.cfg isn't working.