Plone 5 plone.app.ldap install issue - plone

Installing plone.app.ldap into Plone 5 produces a formlib error. The traceback is here: http://pastebin.com/EM9S6UDD
It is a fresh install of Plone 5.0, the only egg pinned to the buildout is plone.app.ldap.
Please advise? Thank you.

You can also try https://pypi.python.org/pypi/pas.plugins.ldap/ which is newer, has less layers/wrappers and worked in the past better for me. Don't know if this easier to run on Plone 5. Haven't tried that yet.

Plone 5 does not ship with formlib any longer. Try to add zope.formlib to the eggs section in your buildout.

Current version of plone.app.ldap (1.3.2) is not compatible with Plone 5.
There is some work in progress on the master branch of the repository; follow up and wait for a new release.

plone.app.ldap simply add a (sometimes broken) UI interface to Plone. Commonly you don't need it if you configure stuff from ZMI.
In that case: just add Products.PloneLDAP to your Plone 5 buildout and it will work normally.

Related

Install PloneBooking into Plone

Hello I'm trying to install PloneBooking Product into my Plone 4.3.3 by using buildout.cfg like this
eggs =
Products.PloneBooking
Products.PloneFormGen
Products.ZMySQLDA
Plone
Pillow
Automatically I can see the PloneFormGen into my plugins page but no sign of PloneBooking, It could've be a version issue. I've already tried using mr.developer and using the github version, but the documentation is confusing since there's no [eggs] into my buildout.cfg in this link http://plone.org/documentation/kb/installing-add-ons-quick-how-to
. How can I proceed from this point?
Thanks already.
Looks like there's a python version problem in some modules, so I've just installed a different version of PloneBooking into my [versions] section, like:
Products.PloneBooking = 3.0.0a2
no need for mr.developer or anything.

phpunit doesn't work on sublime text 3

In my Sublime Text 3 PHPUnit doesn't work. Bundle has installed correctly but plugin is inactive. Has anyone resolved the problem?
Thanks in advance.
Regards.
At the time of writing, there is a working ST3 version in the develop branch:
https://github.com/stuartherbert/sublime-phpunit/tree/develop
I got it to work by cloning the develop branch into my {ST3}/Packages folder and then restarting ST3.
At the time when I installed the plugin (a couple of months ago), the ST3 compatible version of sublime-phpunit was not available through Package Control, which is why I installed it with git.
Hope this helps!

Plone 4.2.4 Buildout fails with plone.app.jquery pinned to 1.4.4

I am having a sudden issue with installing Plone 4.2.4. I have pinned PloneFormGen to 1.7.11 but the buildout fails with the following error:
The version, 1.4.4, is not consistent with the requirement, 'plone.app.jquery>1.6'.
While:
Installing client1.
Error: Bad version 1.4.4
If I remove PFG from the buildout, it runs fine. I have pinned plone.app.jquery to 1.7.2 (even though it states its not compatible with < Plone 4.3) and the buildout runs successfully, but afterwards, if I update PloneFormGen from 1.7.6 to 1.7.11, it breaks the site.
The buildout is a standard Unified Installer build of Plone 4.2.4, using the out of the box version.cfg. I have extended this with my own config to add other components.
This build recipe I created months ago and it has worked flawlessly on other systems, but my most recent use of this recipe gives me the failures.
Any ideas would be greatly appreciated.
UPDATE:
I found an email on the Plone Users group by someone who was having a very similar issue to this. The fix seems to be to pin plone.app.jquery to 1.7.2 as well as pinning collective.js.jqueryui to 1.9.2.0. I did this and the issues I was experiencing appear to be resolved. However, I'm not comfortable with this solution as it appears to be an underlying issue with these two packages.
As you mentioned in your question update, you need to additionally pin plone.app.jquery to a newer version.
This is a fine solution and, if anything, PloneFormGen is just lacking in documentation so people are aware of it.
Please consider contributing to the README to help provide better instructions to install on the version of plone you're using: https://github.com/collective/Products.PloneFormGen/blob/master/Products/PloneFormGen/README.txt

Failing to create a Plone theme templated from Sunburst theme

I have had problems getting a paster generated theme product to work in my production Plone 4.0 server, so I thought I would try again now that 4.1 is out. I'm now having a different problem: the theme just doesn't show up in the Add-ons list. Here's what I did:
Installed Plone 4.1 for Windows from Enfold
Downloaded ez_setup.py, and ran it with Plone's embedded python
Ran the installed easy_install to get the latest ZopeSkel installed into the embedded Python.
mkdir src ; cd src ; ..\python\Scripts\paster create -t plone3_theme plonetheme.lt
Answered the questions so that I'd get a theme based on the plone4 Sunburst theme
Otherwise I don't touch anything in that generated code.
cd plonetheme.lt ; ....\python\python.exe setup.py develop [not sure if I need to do this]
Edit the buildout.cfg to add plonetheme.lt to the eggs list, and added:
develop = src/plonetheme.lt
Run buildout. It mentions that it can find the plonetheme.lt package.
Start Zeo and Plone servers
The plonetheme.lt does not appear in the list of Add-ons
What can I have missed? I've poured over the bits of documentation on plone.org and I have Martin Aspeli's books. Many thanks. I've also tried adding the packaging to the zcml slugs, to no avail.
Luke
"cd plonetheme.lt ; ....\python\python.exe setup.py develop [not sure if I need to do this]"
no this is useless
"Edit the buildout.cfg to add plonetheme.lt to the eggs list, and added: develop = src/plonetheme.lt"
you need to add it to the zcml list too.
More info:
Take a look at the step 2 of this guide:
http://plone.org/documentation/kb/add-ons/installing
You could try the another solution using buildout.eggtractor
Or better if you paste your buildout somewhere...

Upgrading Plone 4017 to 4018

I really need some help with Plone. I am experiencing some issue upgrading from 4017 to 4018.
All the Plone websites say "The site configuration is outdated and needs to be upgraded."
When I press Upgrade I get the following error:
"Starting the migration from version: 4017
End of upgrade path, migration has finished
The upgrade path did NOT reach current version
Migration has failed"
I was really hoping someone could help me sort out this issue and also help me get to the latest stable build of Plone 4.1.
Thanks.
This happens when there is a discrepancy between the current Plone setup profile version number and the upgrade steps final version number. Because there is no step from 4017 to 4018 you get this error message.
This is not necessarily a problem. Your upgrade to version 4017 worked without a hitch. What exact Plone version are you upgrading to, 4.0.9? It may be worth reporting this as a (low priority) bug, but I doubt there is anything there to prevent you from using your site.
To illustrate, I see this all the time when using the latest development version of the Products.CMFPlone package, because that'll be one version 'tick' further than the latest release of the plone.app.upgrade package can upgrade me to.

Resources