GithubHelp home page GithubHelp logo

installers-unifiedinstaller's Introduction

Plone 5.2: Unified Installer

Language: English | Portuguese(Brazil)

The Plone Unified Installer installs Plone and its dependencies from source on most Unix-like platforms and Windows 10.

The kit includes Plone and Zope and will download components like Python if needed.

Python is installed in a way that will not change or interfere with your system Python.

Important: Back up your existing Plone site prior to running the installer or running buildout to update.

Features

  • Checks for needed dependencies
  • Choose between zeo and standalone install
  • Choose between user and root install
  • Create system user and group for running plone

For a full list of features, please check the documentation.

Installation

Windows users: please see the separate Windows Instructions.

Download the Installer:

wget --no-check-certificate https://launchpad.net/plone/5.2/5.2.14/+download/Plone-5.2.14-UnifiedInstaller-1.0.tgz

Extract the downloaded file:

tar -xf Plone-5.2.14-UnifiedInstaller-1.0.tgz

Go the folder containing installer script:

cd Plone-5.2.14-UnifiedInstaller-1.0

Run script:

./install.sh $OPTION

If you run the installer with no option arguments, it will ask a series of questions about basic options.

The installer will search the system path for Python 2.7 and Python 3.x executables that are candidates for creating your installation. If you wish to specify a particular Python executable, use:

./install.sh --with-python=/usr/bin/python3 [other options]

Substituting the path to your Python 2.7 or 3.5+.

For a full list of options, many of which are not available via the dialog questions, use:

./install.sh --help

Note:

For certain production install options you will have to run the installer with sudo or as root.

This is generally not necessary when building development or evaluation systems.

Documentation

Full documentation for end users can be found in the /docs directory of this repository.

It is also available as part of our documentation.

Contribute

Support

If you are having issues, please let us know.

We have our community space at: https://community.plone.org/c/development/installer

License

The project is licensed under the GPLv2.

installers-unifiedinstaller's People

Contributors

agitator avatar djowett avatar fulv avatar garbas avatar gforcada avatar gnafou avatar huguei avatar jean avatar jensens avatar loechel avatar maikroeder avatar mauritsvanrees avatar miohtama avatar mmulich avatar moorepants avatar nilshofer avatar patrickmonteiro avatar pauloxnet avatar polyester avatar smcmahon avatar svx avatar terapyon avatar tkimnguyen avatar tobiasherp avatar vangheem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

installers-unifiedinstaller's Issues

install failure

I'm trying to run the 'unified installer'. Running './install.sh' from Plone-5.0-UnifiedInstaller asks about the desired location (I specify '/usr/local/Plone'), then aborts with:

ERROR: The executable /usr/local/Plone/zinstance/bin/python2.7 is not functioning
ERROR: It thinks sys.prefix is u'/usr' (should be u'/usr/local/Plone/zinstance')
ERROR: virtualenv is not compatible with this system or executable

Change some of the documentation in buildout.cfg

Would anyone be against changing some of the documentation in buildout.cfg?

Painful points are:

  1. "After making changes in this configuration file, you should stop Plone and run bin/buildout to update the components." I personally never stop plone while running buildout and I don't think it's necessary.
  2. "Use "bin/buildout -n" to update many components here to the newest available releases." Since it's widely accepted that running buildout with -n can be potentially dangerous, I'd suggest removing this.

Plone 5.0.8 Unified Installer failed on building Zope/Plone

Originally posted: https://community.plone.org/t/plone-5-0-8-unified-installer-failed-on-building-zope-plone

On a Debian (8 and 9) system I installed these packages:

sudo apt-get install python2.7 python2.7-dev build-essential libssl-dev libxml2-dev libz-dev libjpeg-dev libreadline-dev libxslt-dev python-dev python-setuptools python-imaging poppler-utils wv patch make

I try to install Plone 5.0.8:

wget https://launchpad.net/plone/5.0/5.0.8/+download/Plone-5.0.8-UnifiedInstaller-r1.tgz
tar -zxvf Plone*.tgz
cd Plone*Installer
./install.sh

which fails on the following line:

Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue

I've also tried Plone 5.0.7 both on local VPS and server.

This is the log output:

Detailed installation log
Starting at Wed Apr 11 13:44:45 CEST 2018
Processing ./packages/zc.buildout-2.9.5.tar.gz
Requirement already satisfied: setuptools>=8.0 in /home/solydxk/Plone/zinstance/lib/python2.7/site-packages (from zc.buildout==2.9.5)
Building wheels for collected packages: zc.buildout
  Running setup.py bdist_wheel for zc.buildout: started
  Running setup.py bdist_wheel for zc.buildout: finished with status 'done'
  Stored in directory: /home/solydxk/.cache/pip/wheels/3d/55/8b/bffe9ef59e0219f44cca7c2bbeec37f9066304caf19e67bc30
Successfully built zc.buildout
Installing collected packages: zc.buildout
Successfully installed zc.buildout-2.9.5
Creating directory '/home/solydxk/Plone/zinstance/parts'.
Creating directory '/home/solydxk/Plone/zinstance/develop-eggs'.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ZODB3/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ZODB3/
Getting distribution for 'ZODB3==3.10.7'.
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
                 from src/BTrees/_IIBTree.c:34:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     int i, len;
            ^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
                 from src/BTrees/_IFBTree.c:34:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     int i, len;
            ^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
                 from src/BTrees/_fsBTree.c:83:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     int i, len;
            ^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
                 from src/BTrees/_LLBTree.c:36:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     int i, len;
            ^~~
In file included from src/BTrees/BTreeModuleTemplate.c:394:0,
                 from src/BTrees/_LFBTree.c:36:
src/BTrees/BucketTemplate.c: In function ‘bucket_traverse’:
src/BTrees/BucketTemplate.c:1627:12: warning: variable ‘len’ set but not used [-Wunused-but-set-variable]
     int i, len;
            ^~~
Got ZODB3 3.10.7.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.interface/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.interface/
Getting distribution for 'zope.interface==3.6.7'.
Got zope.interface 3.6.7.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Record/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Record/
Getting distribution for 'Record==2.13.0'.
Got Record 2.13.0.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Products.ZCTextIndex/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Products.ZCTextIndex/
Getting distribution for 'Products.ZCTextIndex==2.13.5'.
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
src/Products/ZCTextIndex/okascore.c: In function ‘initokascore’:
src/Products/ZCTextIndex/okascore.c:127:12: warning: variable ‘m’ set but not used [-Wunused-but-set-variable]
  PyObject *m;
            ^
Got Products.ZCTextIndex 2.13.5.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/initgroups/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/initgroups/
Getting distribution for 'initgroups==2.13.0'.
Got initgroups 2.13.0.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.security/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.security/
Getting distribution for 'zope.security==3.7.4'.
Got zope.security 3.7.4.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.proxy/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.proxy/
Getting distribution for 'zope.proxy==3.6.1'.
Got zope.proxy 3.6.1.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.i18nmessageid/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.i18nmessageid/
Getting distribution for 'zope.i18nmessageid==3.5.3'.
Got zope.i18nmessageid 3.5.3.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.container/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/zope.container/
Getting distribution for 'zope.container==3.11.2'.
Got zope.container 3.11.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Persistence/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Persistence/
Getting distribution for 'Persistence==2.13.2'.
Got Persistence 2.13.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/MultiMapping/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/MultiMapping/
Getting distribution for 'MultiMapping==2.13.0'.
src/MultiMapping/_MultiMapping.c:159:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  (inquiry)MM_length,  /*mp_length*/
  ^
src/MultiMapping/_MultiMapping.c:159:2: note: (near initialization for ‘MM_as_mapping.mp_length’)
Got MultiMapping 2.13.0.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Missing/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Missing/
Getting distribution for 'Missing==2.13.1'.
Got Missing 2.13.1.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ExtensionClass/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/ExtensionClass/
Getting distribution for 'ExtensionClass==4.1.2'.
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
Got ExtensionClass 4.1.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/DocumentTemplate/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/DocumentTemplate/
Getting distribution for 'DocumentTemplate==2.13.4'.
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
src/DocumentTemplate/cDocumentTemplate.c:169:3: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
   (inquiry)InstanceDict_length,  /*mp_length*/
   ^
src/DocumentTemplate/cDocumentTemplate.c:169:3: note: (near initialization for ‘InstanceDict_as_mapping.mp_length’)
src/DocumentTemplate/cDocumentTemplate.c:600:2: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
  (inquiry)MM_length,  /*mp_length*/
  ^
src/DocumentTemplate/cDocumentTemplate.c:600:2: note: (near initialization for ‘MM_as_mapping.mp_length’)
Got DocumentTemplate 2.13.4.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Acquisition/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/Acquisition/
Getting distribution for 'Acquisition==4.2.2'.
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
Got Acquisition 4.2.2.
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/AccessControl/
Not found: /home/solydxk/Plone/buildout-cache/downloads/dist/AccessControl/
Getting distribution for 'AccessControl==3.0.13'.
warning: no files found matching '*.rst'
warning: no previously-included files matching '*.dll' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.pyo' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
Got AccessControl 3.0.13.
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/solydxk/Plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2123, in main
    getattr(buildout, command)(args)
  File "/home/solydxk/Plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 796, in install
    installed_files = self[part]._call(recipe.install)
  File "/home/solydxk/Plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1553, in _call
    return f()
  File "/home/solydxk/Plone/buildout-cache/eggs/plone.recipe.zope2instance-4.2.22-py2.7.egg/plone/recipe/zope2instance/__init__.py", line 95, in install
    major, minor = parsed[0:2]
TypeError: 'Version' object has no attribute '__getitem__'

I advanced regardless the failed installation:

cd ~/Plone/z*
sed -i 's/http:/https:/g' buildout.cfg
sed -i '/\[buildout\]/a index = https:\/\/pypi.python.org\/simple' buildout.cfg

/bin/buildout fails as expected.

Then I found this thread: https://community.plone.org/t/problem-with-buildout-plone-5-08/6260/4

and decided to give it a go and downgrade setuptools:

bin/pip install setuptools==38.7.0
Collecting setuptools==38.7.0
  Using cached setuptools-38.7.0-py2.py3-none-any.whl
Installing collected packages: setuptools
  Found existing installation: setuptools 39.0.1
    Uninstalling setuptools-39.0.1:
      Successfully uninstalled setuptools-39.0.1
Successfully installed setuptools-38.7.0

bin/buildout now finishes correctly:

Uninstalling zeoserver.
Installing zeoserver.
Created directory /home/solydxk/Plone/zeocluster/parts/zeoserver
Created directory /home/solydxk/Plone/zeocluster/parts/zeoserver/etc
Created directory /home/solydxk/Plone/zeocluster/parts/zeoserver/var
Created directory /home/solydxk/Plone/zeocluster/parts/zeoserver/log
Created directory /home/solydxk/Plone/zeocluster/parts/zeoserver/bin
Wrote file /home/solydxk/Plone/zeocluster/parts/zeoserver/etc/zeo.conf
Wrote file /home/solydxk/Plone/zeocluster/parts/zeoserver/bin/zeoctl
Changed mode for /home/solydxk/Plone/zeocluster/parts/zeoserver/bin/zeoctl to 755
Wrote file /home/solydxk/Plone/zeocluster/parts/zeoserver/bin/runzeo
Changed mode for /home/solydxk/Plone/zeocluster/parts/zeoserver/bin/runzeo to 755
Installing client1.
/home/solydxk/Plone/zeocluster/local/lib/python2.7/site-packages/pkg_resources/__init__.py:208: RuntimeWarning: You have iterated over the result of pkg_resources.parse_version. This is a legacy behavior which is inconsistent with the new version class introduced in setuptools 8.0. In most cases, conversion to a tuple is unnecessary. For comparison of versions, sort the Version instances directly. If you have another use case requiring the tuple, please file a bug with the setuptools project describing that need.
  stacklevel=1,
Getting distribution for 'Pillow==3.4.2'.
Single threaded build, not installing mp_compile:1 processes
warning: no files found matching '*.sh'
no previously-included directories found matching 'docs/_static'
warning: no previously-included files found matching '.coveragerc'
warning: no previously-included files found matching '.editorconfig'
warning: no previously-included files found matching '.landscape.yaml'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching 'build_children.sh'
warning: no previously-included files found matching 'tox.ini'
warning: no previously-included files matching '.git*' found anywhere in distribution
warning: no previously-included files matching '*.pyc' found anywhere in distribution
warning: no previously-included files matching '*.so' found anywhere in distribution
--------------------------------------------------------------------
PIL SETUP SUMMARY
--------------------------------------------------------------------
version      Pillow 3.4.2
platform     linux2 2.7.13 (default, Nov 24 2017, 17:33:09)
             [GCC 6.3.0 20170516]
--------------------------------------------------------------------
--- JPEG support available
*** OPENJPEG (JPEG2000) support not available
--- ZLIB (PNG/ZIP) support available
*** LIBIMAGEQUANT support not available
*** LIBTIFF support not available
*** FREETYPE2 support not available
*** LITTLECMS2 support not available
*** WEBP support not available
*** WEBPMUX support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library and headers.
See https://pillow.readthedocs.io/en/latest/installation.html#building-from-source

To check the build, run the selftest.py script.

Got Pillow 3.4.2.
Getting distribution for 'lxml==3.5.0'.
Building lxml version 3.5.0.
Building without Cython.
Using build configuration of libxslt 1.1.29
Got lxml 3.5.0.
Generated script '/home/solydxk/Plone/zeocluster/bin/client1'.
Generated interpreter '/home/solydxk/Plone/zeocluster/parts/client1/bin/interpreter'.
Generated script '/home/solydxk/Plone/zeocluster/bin/gifmaker.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/enhancer.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/thresholder.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/pilfile.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/painter.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/viewer.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/explode.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/pildriver.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/pilconvert.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/pilfont.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/player.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/createfontdatachunk.py'.
Generated script '/home/solydxk/Plone/zeocluster/bin/pilprint.py'.
Installing backup.
Generated script '/home/solydxk/Plone/zeocluster/bin/backup'.
Generated script '/home/solydxk/Plone/zeocluster/bin/fullbackup'.
Generated script '/home/solydxk/Plone/zeocluster/bin/snapshotbackup'.
Generated script '/home/solydxk/Plone/zeocluster/bin/restore'.
Generated script '/home/solydxk/Plone/zeocluster/bin/snapshotrestore'.
Installing zopepy.
Generated interpreter '/home/solydxk/Plone/zeocluster/bin/zopepy'.
Installing unifiedinstaller.
Generated script '/home/solydxk/Plone/zeocluster/bin/plonectl'.

User gp54321 reaction to this issue:

Trying to add last zc.buildout but then it breaks a bit later in zope2instance and there it’s more hairy since installer can’t change code of distribution. There may be a way to pin the setuptools in the installer but I don’t know it. Maybe add setuptools directly in the installer and install it through pip. Ugly though.

update messages.sh

line 160 : in debian8 the name of the lib is updated : (Debian/Ubuntu zlibg-dev) becomes (Debian/Ubuntu zlib1g-dev)

Move to bobtemplates.plone?

Seeing #25, is there any plan about moving to bobtemplates.plone? Now that seems we are using it as the default way to create add-ons the next step for adoption would be to use it on the unified installer.

Has that been considered for Plone 5.x? (maybe for 5.0 we want to be conservative)

Error: Couldn't find a distribution for 'plone.recipe.precompiler'

I get the following error when installing with Plone-4.3.4-UnifiedInstaller.tgz:

Couldn't find index page for 'plone.recipe.precompiler' (maybe misspelled?)
Getting distribution for 'plone.recipe.precompiler'.
While:
  Installing.
  Getting section precompiler.
  Initializing section precompiler.
  Installing recipe plone.recipe.precompiler.
  Getting distribution for 'plone.recipe.precompiler'.
Error: Couldn't find a distribution for 'plone.recipe.precompiler'.

My install command params are the following:

./install.sh --clients=2 --target=/home/Plone-4.3.4 --instance=zeocluster --daemon-user=plone_daemon --owner=plone_buildout --group=plone_group --clients=2 --password=admin --libjpeg=yes --readline=no --build-python zeo

if running the buildout (after getting the error above), the buildout gets plone.recipe.precompiler and Plone-4.3.4 seems to work. Some hint?

Finished install, the theme css seem did not work

Dear all,

Finished install, started the plonectl

gecko@debian:/opt/plone/zinstance$ sudo bin/plonectl fg
instance: 2016-01-02 17:33:19 INFO ZServer HTTP server started at Sat Jan  2 17:33:19 2016
    Hostname: 0.0.0.0
    Port: 8080
2016-01-02 17:33:19 INFO Zope Set effective user to "plone_daemon"
2016-01-02 17:33:22 INFO DocFinderTab Applied patch version 1.0.5.
2016-01-02 17:33:22 WARNING ZODB.blob (10292) Blob dir /opt/plone/zinstance/var/blobstorage/ has insecure mode setting
/opt/plone/buildout-cache/eggs/plone.app.multilingual-3.0.12-py2.7.egg/plone/app/multilingual/browser/migrator.py:11: DeprecationWarning: LanguageRootFolder: LanguageRootFolders should be migrate to DexterityContainers
  from plone.app.multilingual.content.lrf import LanguageRootFolder
2016-01-02 17:33:27 INFO Plone OpenID system packages not installed, OpenID support not available
2016-01-02 17:33:31 INFO Zope Ready to handle requests
2016-01-02 17:34:08 INFO plone.app.theming.policy local cache invalidated on thread 140662742025984
2016-01-02 17:34:08 INFO plone.app.theming.policy initializing local cache on thread 140662742025984 for http://127.0.0.1:8080/test_2::barceloneta
/opt/plone/buildout-cache/eggs/five.pt-2.2.3-py2.7.egg/five/pt/expressions.py:161: DeprecationWarning: showEditableBorder is renamed to showToolbar
  return base()

I open the URL, the GUI shows below, the theme css seem didn't workt:
screenshot from 2016-01-02 17 51 12

Any sugguestions? Thanks.

When installing dev tools: The requirement ('Unidecode>=0.04.16') is not allowed by your [versions] constraint (0.04.1)

When following instructions here:
https://docs.plone.org/manage/installing/installation.html#installing-plone-using-the-unified-unix-installer

I tried installing dev tools:

cd ~/Plone/zinstance
bin/buildout -c develop.cfg

And got:

While:
  Installing mrbob.
Error: The requirement ('Unidecode>=0.04.16') is not allowed by your [versions] constraint (0.04.1)

I'm running Ubunto 18.04.

I don't need a solution myself, just reporting...

I get the following error when installing with Plone-5.1rc1-UnifiedInstaller.tgz:

Couldnt find index page for plone.recipe.precompiler (maybe misspelled?)
While:
Installing.
Getting section precompiler.
Initializing section precompiler.
Installing recipe plone.recipe.precompiler.
Getting distribution for plone.recipe.precompiler.
Error: Couldnt: command not found

Opening up a ticket for this version, let me know if i shouldn't have done this.

5.1-rc2: Error: Couldn't find a distribution for 'plone.recipe.precompiler'.

I see that others have reported this in previous builds, but am opening a new issue as I am getting this on 5/1-rc2, which I do not see reported: -

Not found: /opt/Plone-5.1-rc2/buildout-cache/downloads/dist/plone.recipe.precompiler/
Not found: /opt/Plone-5.1-rc2/buildout-cache/downloads/dist/plone.recipe.precompiler/
Couldn't find index page for 'plone.recipe.precompiler' (maybe misspelled?)
Getting distribution for 'plone.recipe.precompiler'.
Not found: /opt/Plone-5.1-rc2/buildout-cache/downloads/dist/plone.recipe.precompiler/
Not found: /opt/Plone-5.1-rc2/buildout-cache/downloads/dist/plone.recipe.precompiler/
Couldn't find index page for 'plone.recipe.precompiler' (maybe misspelled?)
While:
Installing.
Getting section precompiler.
Initializing section precompiler.
Installing recipe plone.recipe.precompiler.
Getting distribution for 'plone.recipe.precompiler'.
Error: Couldn't find a distribution for 'plone.recipe.precompiler'.

5.0b2 installer missing plone.recipes.precompiler

The installer would fail a sudo install due to a missing buildout cache package.

Workaround: change to instance directory and run "sudo -u plone_buildout bin/buildout". That will fetch the missing library.

Plone 4.3.4 - ImportError: No module named dexterity.localcommands.dexterity

On a vanilla Plone 4.3.4 site (Unified Installer on Ubuntu 14.04.1LTS), and after updating buildout.cfg with the zopeskel and paster boiler plate stuff and running buildout, I successfully created a dexterity package in my src folder:

$ cd src  
$ ../bin/zopeskel dexterity my.package

After updating buildout.cfg (adding my.package to the eggs section and src/my.package to the develop section) and running buildout, I tried to add content to my new package, like I have done so many times in Plone 4.3.3 and earlier versions:

$ cd my.package  
$ ../../bin/paster addcontent dexterity_content

This results in the following error message:

Traceback (most recent call last):  

 File "../../bin/paster", line 260, in <module>
   sys.exit(paste.script.command.run())  
 File "/home/Plone434_site/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 104, in run
   invoke(command, command_name, options, args[1:])
 File "/home/Plone434_site/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 143, in invoke exit_code = runner.run(args)
 File "/home/Plone434_site/buildout-cache/eggs/PasteScript-1.7.5-py2.7.egg/paste/script/command.py", line 238, in run
   result = self.command()
 File "/home/Plone434_site/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/localcommands/__init__.py", line 70, in command
   self._extend_templates(templates, args[0])
 File "/home/Plone434_site/buildout-cache/eggs/ZopeSkel-2.21.2-py2.7.egg/zopeskel/localcommands/__init__.py", line 204, in _extend_templates tmpl = entry.load()(entry.name)
 File "/home/Plone434_site/buildout-cache/eggs/setuptools-7.0-py2.7.egg/pkg_resources.py", line 2184, in load ['__name__'])

ImportError: No module named dexterity.localcommands.dexterity  

Doing exactly the same on a Plone 4.3.3 site works just fine.

When I run the following:

$ ../../bin/paster addcontent -l

I get the following warning messages:

Warning: could not load entry point dexterity_behavior (ImportError: No module named dexterity.localcommands.dexterity)  
Warning: could not load entry point dexterity_content (ImportError: No module named dexterity.localcommands.dexterity)
Available templates:
  No template

I am wondering if this is somehow related to Plone 4.3.4 using setuptools 7.0, while previous versions used 0.7.2

Any advice to resolve this issue would be much appreciated.

Thank you,

Eric R.

Error installing Plone-5.1rc1 on Debian 9

root@debian9-32:~/Plone-5.1rc1-UnifiedInstaller#

./install.sh --clients=2 zeo

Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.

/usr/bin/python2.7

Root install method chosen. Will install for use by users:
ZEO & Client Daemons: plone_daemon
Code Resources & buildout: plone_buildout

Detailed installation log being written to /root/Plone-5.1rc1-UnifiedInstaller/install.log
Installing Plone 5.0.9 at /opt/plone

helper_scripts/main_install_script.sh: línea 723: helper_scripts/user_group_utilities.sh: No existe el fichero o el directorio
helper_scripts/main_install_script.sh: línea 726: check_ug_ability: no se encontró la orden
helper_scripts/main_install_script.sh: línea 728: create_group: no se encontró la orden
helper_scripts/main_install_script.sh: línea 729: create_user: no se encontró la orden
helper_scripts/main_install_script.sh: línea 730: check_user: no se encontró la orden
helper_scripts/main_install_script.sh: línea 731: create_user: no se encontró la orden
helper_scripts/main_install_script.sh: línea 732: check_user: no se encontró la orden
chown: usuario inválido: «plone_buildout:plone_group»
Creating Python virtual environment.
New python executable in /opt/plone/zeocluster/bin/python2.7
Also creating executable in /opt/plone/zeocluster/bin/python
Installing setuptools, pip, wheel...done.
chown: usuario inválido: «plone_buildout:plone_group»
Installing zc.buildout in virtual environment.
Unpacking buildout cache to /opt/plone/buildout-cache
chown: usuario inválido: «plone_buildout:plone_group»
Copying Plone-docs
chown: usuario inválido: «plone_buildout:plone_group»
chown: usuario inválido: «plone_buildout:plone_group»
Buildout failed. Unable to continue

Installation has failed.
See the detailed installation log at /root/Plone-5.1rc1-UnifiedInstaller/install.log
to determine the cause.

The content of install.log file is:

Detailed installation log
Starting at mié oct 25 16:01:42 CEST 2017
Processing ./packages/zc.buildout-2.9.4.tar.gz
Requirement already satisfied: setuptools>=8.0 in /opt/plone/zeocluster/lib/python2.7/site-packages (from zc.buildout==2.9.4)
Building wheels for collected packages: zc.buildout
Running setup.py bdist_wheel for zc.buildout: started
Running setup.py bdist_wheel for zc.buildout: finished with status 'done'
Stored in directory: /root/.cache/pip/wheels/20/e0/f6/814537b9ae4df7ea0aa00e368bc5430acf72ceeb56949d3fd2
Successfully built zc.buildout
Installing collected packages: zc.buildout
Successfully installed zc.buildout-2.9.4
sudo: unknown user: plone_buildout
sudo: no se puede inicializar la política de plugin

The helper scripts not working.

Adjusting tag.gz content

Hi,

Would it an idea to adjust the content of the UI tar.gz we offer on Launchpad ?

Or should we split them into a production aka you use on your server and a all included one.

Do not get picky on the names for now :)

It is just the currently we have lots of stuff in the UI.tar.gz what is not needed on prod and even make it potentially less perfect to have these files lying around on prod machines.

These are of course are super cool and awesome if you use the UI on your desktop but these are less cool on prod machines where the included files should be only the minimal needed without any not for prod needed cruft :)

Besides that less content means also faster downloads and more :)

GettingcError: Couldn't find a distribution for 'plone.recipe.precompiler'.

Getting the following error while installing latest version on centos7

Got zodbpickle 0.7.0.
Not found: /opt/plone1/buildout-cache/downloads/dist/plone.recipe.precompiler/
Not found: /opt/plone1/buildout-cache/downloads/dist/plone.recipe.precompiler/
Couldn't find index page for 'plone.recipe.precompiler' (maybe misspelled?)
Getting distribution for 'plone.recipe.precompiler'.
Not found: /opt/plone1/buildout-cache/downloads/dist/plone.recipe.precompiler/
Not found: /opt/plone1/buildout-cache/downloads/dist/plone.recipe.precompiler/
Couldn't find index page for 'plone.recipe.precompiler' (maybe misspelled?)
While:
Installing.
Getting section precompiler.
Initializing section precompiler.
Installing recipe plone.recipe.precompiler.
Getting distribution for 'plone.recipe.precompiler'.
Error: Couldn't find a distribution for 'plone.recipe.precompiler'.

Update README

  • change links from developer.plone.org to docs.plone.org
  • rewrite readme, according to best practice [already wip in branch: https://github.com/plone/Installers-UnifiedInstaller/tree/docs_overhaul]
  • mention also homebrew not only mac ports
  • change links from dev.plone.org github issue tracker
  • update contact to community ?

Plone 5 UnifiedInstaller breaks if pip.conf in $HOME has user=true.

If you have pip.conf in your $HOME with:

[install]
user = true

You get the following error when running the UnifiedInstaller:

Detailed installation log
Starting at Ter Out  6 10:12:42 BRT 2015
Traceback (most recent call last):
  File "virtualenv.py", line 2363, in <module>
    main()
  File "virtualenv.py", line 832, in main
    symlink=options.symlink)
  File "virtualenv.py", line 1004, in create_environment
    install_wheel(to_install, py_executable, search_dirs)
  File "virtualenv.py", line 969, in install_wheel
    'PIP_NO_INDEX': '1'
  File "virtualenv.py", line 910, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /home//Pl...stance/bin/python2.7 -c "import sys, pip; sys...d\"] + sys.argv[1:]))" setuptools pip wheel failed with error code 1

You need to comment/remove the user=true line to make the UnifiedInstaller work.

Plone 5.1 Installation Abort: AttributeError: ‘module’ object has no attribute ‘SetuptoolsVersion’

The following traceback was from an installation attempt on Ubuntu 16.04.4. This was with the Plone 5.1 Unified Installer, with the following root install command:

$sudo -H ./install.sh zeocluster --target="/opt/plone" --clients=2

The result was a buildout that failed. Here is the traceback from the install.log file:

Detailed installation log
Starting at Sat Mar 17 19:48:16 UTC 2018
Processing ./zc.buildout-2.11.1.tar.gz
Requirement already satisfied: setuptools>=8.0 in /opt/plone/zinstance/lib/python2.7/site-packages (from zc.buildout==2.11.1)
Building wheels for collected packages: zc.buildout
Running setup.py bdist_wheel for zc.buildout: started
Running setup.py bdist_wheel for zc.buildout: finished with status 'done’
Stored in directory: /root/.cache/pip/wheels/81/0d/eb/3a2a35251f992f044241685d3e3cf24d058dd4e8d27bebd020
Successfully built zc.buildout
Installing collected packages: zc.buildout
Successfully installed zc.buildout-2.11.1
Traceback (most recent call last):
File “/opt/plone/zinstance/bin/buildout”, line 7, in
from zc.buildout.buildout import main
File “/opt/plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/buildout.py”, line 18, in
import zc.buildout.easy_install
File “/opt/plone/zinstance/local/lib/python2.7/site-packages/zc/buildout/easy_install.py”, line 45, in
pkg_resources.SetuptoolsVersion(setuptools_version) >=
AttributeError: ‘module’ object has no attribute ‘SetuptoolsVersion’

In this case, python-setuptools was the current (system) version for Ubuntu 16.04.4 (namely, version 20.7.0-1).

HOWEVER, I have it on good authority that there is a work-around. Run the install script (in this case with sudo rights) and, after the installer aborts, it will have left most of the files in /opt/plone, so you should then perform the following commands:

cd /opt/plone/zinstance
sudo bin/pip install setuptools==38.7.0
sudo -u plone_buildout bin/buildout

According to SteveM, "Folks who aren't using sudo may do the same fix by just changing to their install directory and using the same commands without 'sudo' or 'sudo -u plone_buildout'."

Install script "chown" breaks existing instances for root install

On Linux, when a new root instance is created the install script sets the entire target directory (PLONE_HOME) to ownership by the plone_buildout user. To run the instance you use the plone_daemon user. On the first start it appears that ownership of some existing directories (and files?) is changed to the plone_daemon user. Subsequent newly created directories and files (log files, Data.fs, etc.) are also owned by plone_daemon.

At this point when you create a second new Plone instance, the install script again changes ownership of the entire target directory to plone_buildout. After that the first Plone instance is unable to retrieve and serve files stored in blobstorage as their ownership has changed to plone_buildout. Also you are unable to stop and restart the first Plone instance because plone_daemon ownership of it's files (log files, Data.fs, etc.) prevents Plone from writing to them.

I first noticed this in Plone 4.3.4 and the installation script is essentially unchanged in 4.3.5 and 4.3.6. In the current (July 6, 2015) master branch the offending code has been moved to helper_scripts/main_install_script.sh at line 886, "chown -R ...".

Error installing 5.0.8-r1 on macOS 10.13

Hello!

I am new to the Open Source Community, so please forgive me and guide me if I'm not following standard guidelines while opening this issue.

I downloaded the UnifiedInstaller from here, unzipped the file and ran ./install.sh according to this.

I'm getting an error as follows

Continue with the command line:

install.sh standalone
--target="/Users/meshde/Plone" --password="*****..."

  1. Yes
  2. No
    #? 1

Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.

Rootless install method chosen. Will install for use by system user meshde

Detailed installation log being written to /Users/meshde/Plone-5.0.8-UnifiedInstaller-r1/install.log
Installing Plone 5.0.8 at /Users/meshde/Plone

Creating Python virtual environment.
New python executable in /Users/meshde/Plone/zinstance/bin/python
Installing setuptools, pip, wheel...done.
Installing zc.buildout in virtual environment.
Unpacking buildout cache to /Users/meshde/Plone/buildout-cache
Copying Plone-docs
Copying buildout skeleton
Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue

Installation has failed.
See the detailed installation log at /Users/meshde/Plone-5.0.8-UnifiedInstaller-r1/install.log
to determine the cause.

Just in case, I have also attached the install.log file.
install.log

The Traceback in the install.log file is as follows:

Exception in thread Thread-2:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 366, in _handle_tasks
debug('task handler got sentinel')
TypeError: 'NoneType' object is not callable

Exception in thread Thread-1:
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 330, in _handle_workers
debug('worker handler exiting')
TypeError: 'NoneType' object is not callable

Exception TypeError: TypeError("'NoneType' object does not support item deletion",) in <Finalize object, dead> ignored
Traceback (most recent call last):
File "", line 1, in
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 2310, in main
**kw
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 412, in run
self.easy_install(spec, not self.no_deps)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 654, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 699, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 882, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1150, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 1136, in run_setup
run_setup(setup_script, args)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 253, in run_setup
raise
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py", line 35, in exit
self.gen.throw(type, value, traceback)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 166, in save_modules
saved_exc.resume()
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 154, in save_modules
yield saved
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 195, in setup_context
yield
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "/var/folders/vw/wj88jg657616mx9tz9mgszsr0000gn/T/easy_install-2iu0Ez/Pillow-3.4.2/setup.py", line 753, in
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/init.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 170, in run
cmd = self.call_command('install_lib', warn_dir=0)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/bdist_egg.py", line 156, in call_command
self.run_command(cmdname)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/setuptools/command/install_lib.py", line 11, in run
self.build()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/install_lib.py", line 111, in build
self.run_command('build_ext')
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/command/build_ext.py", line 337, in run
self.build_extensions()
File "/var/folders/vw/wj88jg657616mx9tz9mgszsr0000gn/T/easy_install-2iu0Ez/Pillow-3.4.2/setup.py", line 521, in build_extensions
ValueError: zlib is required unless explicitly disabled using --disable-zlib, aborting
An error occurred when trying to install /Users/meshde/Plone/buildout-cache/downloads/dist/Pillow-3.4.2.zip. Look above this message for any errors that were output by easy_install.
While:
Installing instance.
Getting distribution for 'Pillow==3.4.2'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/buildout.py", line 2123, in main
getattr(buildout, command)(args)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/buildout.py", line 796, in install
installed_files = self[part]._call(recipe.install)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/buildout.py", line 1553, in _call
return f()
File "/Users/meshde/Plone/buildout-cache/eggs/plone.recipe.zope2instance-4.2.22-py2.7.egg/plone/recipe/zope2instance/init.py", line 113, in install
installed.extend(self.install_scripts())
File "/Users/meshde/Plone/buildout-cache/eggs/plone.recipe.zope2instance-4.2.22-py2.7.egg/plone/recipe/zope2instance/init.py", line 617, in install_scripts
requirements, ws = self.egg.working_set(['plone.recipe.zope2instance'])
File "/Users/meshde/Plone/buildout-cache/eggs/zc.recipe.egg-2.0.3-py2.7.egg/zc/recipe/egg/egg.py", line 84, in working_set
allow_hosts=self.allow_hosts)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 913, in install
return installer.install(specs, working_set)
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 665, in install
for dist in self._get_dist(requirement, ws):
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 563, in _get_dist
dists = [_move_to_eggs_dir_and_compile(dist, self._dest)]
File "/Users/meshde/Plone/zinstance/lib/python2.7/site-packages/zc/buildout/easy_install.py", line 1699, in _move_to_eggs_dir_and_compile
[tmp_loc] = glob.glob(os.path.join(tmp_dest, '*'))
ValueError: need more than 0 values to unpack

ImportError: No module named dexterity.localcommands.dexterity

Tried zopeskel.dexterity-1.5.4.1 with Plone 4.3.4 and 4.3.6 :

[example.conference]$ ../../bin/paster addcontent -l
Warning: could not load entry point dexterity_behavior (ImportError: No module named dexterity.localcommands.dexterity)
Warning: could not load entry point dexterity_content (ImportError: No module named dexterity.localcommands.dexterity)
Available templates:
browserlayer: A Plone browserlayer
form: A form skeleton
formfield: Schema field for a form
i18nlocale: An i18n locale directory structure
portlet: A Plone 3 portlet
view: A browser view skeleton
zcmlmeta: A ZCML meta directive skeleton

Thanks for your help

Remove SSLv2 requirement

SSLv2 has fallen into disgrace, so perhaps we should no longer check for its presence.

Moreover, if you try to build openssl from source, the latest release of the LTS version (1.0.2g) has v2 disabled by default and makes it really hard to enable. At least, I wasn't able to without some ugly hacks in .c and .h files.

https://www.openssl.org/source/

Insufficient privileges while reverting to previous version

OS: Ubuntu 16.04.4 LTS
Kernel: 4.4.0-121
Python: 2.7.12

Version Overview from plone instance

  • Plone 5.1.0.1 (5110)
  • CMF 2.2.12
  • Zope 2.13.26
  • Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609]
  • PIL 4.3.0 (Pillow)

steps to repeat ...

  1. download UnifiedInstaller v5.1.0-r2
  2. unpack UnifiedInstaller
  3. run ./install.sh standalone
  4. starting instance bin/plonectl start
  5. creating new plone site
  6. create a new folder & save it
  7. create a page into this folder & save it
  8. edit this page & save it
  9. open historyview & try to revert the revision to the first version
  10. insufficient privileges occurs

I forget to say, that I was always logged in as management user, which was created while installation

This issue does not occur in plone version 5.0.8 (tested with official docker image plone.docker).

Docs about 'dev' tools

We do have now mr.bob in the buildout, I would like to add 'readme' collective/collective.checkdocs#5

It seems I am not able to find docs about mr.bob in our current docs/readme in the repo, should we add to start this kind to documentation to /docs or /docs/develop.rst ?

5.0rc1 Unified Installer fails with static-lxml.

Running:

sudo ./install.sh zeocluster --target="/opt/plone/test5.0rc1" --clients=2 --build-python --static-lxml

results in the following error message:

Building lxml version 3.4.4.
Building without Cython.
Using build configuration of libxslt 1.1.17
Minimum required version of libxslt is 1.1.17, found 1.1.23
Building against libxml2/libxslt in the following directory: /usr/lib
error: Setup script exited with error: command 'gcc' failed with exit status 1
An error occurred when trying to install lxml 3.4.4. Look above this message for any errors that were output by easy_install.
While:
  Installing client1.
  Getting distribution for 'lxml==3.4.4'.
Error: Couldn't install: lxml 3.4.4

Changing lxml version in lxml_static.cfg to 3.4.4 fix the problem.

Thanks for your work

5.0b2 Unified Installer fails on OSX 10.10.3 with User/Group definitions

As noted here : http://article.gmane.org/gmane.comp.web.zope.plone.user/124713
See below for UPDATE...


After receiving the User/Group error shown below, I manually added the plone,
plone_buildout, and plone_daemon users and eponymous groups through the OS X
Users & Groups System Prefs panel (in fact, they were already there, so I
deleted and re-added). However, the same thing occurs regardless.

I'm not sure about the code, but doing some searching on the error brings up
"UNKNOWN_USER_ENV" and the code which raises this seems to simply give up
without even testing for the existence of the correct user and group, if it's
not under either linux or BSD.

https://github.com/plone/Installers-UnifiedInstaller/blob/master/helper_scripts/
user_group_utilities.sh

I have XCode and Command Line Tools installed

~/Downloads/Plone-5.0b2-UnifiedInstaller-r1 nealta-geala (peterf) | =>
xcode-select --install xcode-select: error: command line tools are already
installed, use "Software Update" to install updates


| ~/Downloads/Plone-5.0b2-UnifiedInstaller-r1 nealta-geala (peterf) | => gcc
--version Configured with:
--prefix=/Applications/Xcode.app/Contents/Developer/usr
--with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.1.0
(clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.3.0
Thread model: posix

The Installation Error here: | ~/Downloads/Plone-5.0b2-UnifiedInstaller-r1
nealta-geala (peterf) | => sudo ./install.sh zeo

Testing /usr/bin/python2.7 for Zope/Plone requirements.... /usr/bin/python2.7
looks OK. We will use it.

Root install method chosen. Will install for use by users: ZEO & Client Daemons:
plone_daemon Code Resources & buildout: plone_buildout

Detailed installation log being written to
/Users/peterf/Downloads/Plone-5.0b2-UnifiedInstaller-r1/install.log Installing
Plone 5.0b2 at /Applications/Plone

We do not know how to add users and groups in this environment. Please add users
and group manually, then try again. See README.txt for instructions on how to
proceed.


UPDATE:

Hmm. Of course, having written the above, I now find that indeed the version in
4.3.3 does support dscl under OSX...
/Applications/Plone-4.3.3-UnifiedInstaller/helper_scripts/user_group_utilities.sh

So, maybe it just got lost in the 5.0 beta?
I'll patch it from the 4.3.3 into my 5.0b installer
../helper_scripts/user_group_utilities.sh


copying the 4.3.3 file into the 5.0b helper_scripts/ solved the immediate User/Group concern, although there are still issues. In particular, if one reruns the install.sh (which I've been doing repeatedly, due to libjpeg problems - another issue) the script again complains about the User/Group configs it finds or doesn't find. However, if one then immediately reruns install.sh AGAIN, it proceeds to set up the user/group as it likes.

so:
Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.

Root install method chosen. Will install for use by users:
ZEO & Client Daemons: plone_daemon
Code Resources & buildout: plone_buildout

Detailed installation log being written to /Users/peterf/Downloads/Plone-5.0b2-UnifiedInstaller-r1/install.log
Installing Plone 5.0b2 at /Applications/Plone

Using dscl to create users and groups
Using dscl (Directory Service command line utility) to create group
plone_group with gid 57 in directory /Local/Default ...
Creating user ...
Using dscl (Directory Service command line utility) to create user
plone_daemon with uid 52 in directory /Local/Default ...
id for plone_daemon returned
uid=52(plone_daemon) gid=57 groups=57,12(everyone),61(localaccounts),403(com.apple.sharepoint.group.2),100(_lpoperator),402(com.apple.sharepoint.group.1)
Expected to find uid for plone_daemon and gid for plone_group but did not.
Please use your system tools to create/edit users and groups, then try again.


| ~/Downloads/Plone-5.0b2-UnifiedInstaller-r1 @ nealta-geala (peterf)
| => sudo rm -r /Applications/Plone/zeocluster


| ~/Downloads/Plone-5.0b2-UnifiedInstaller-r1 @ nealta-geala (peterf)
| => sudo ./install.sh zeo

Testing /usr/bin/python2.7 for Zope/Plone requirements....
/usr/bin/python2.7 looks OK. We will use it.

Root install method chosen. Will install for use by users:
ZEO & Client Daemons: plone_daemon
Code Resources & buildout: plone_buildout

Detailed installation log being written to /Users/peterf/Downloads/Plone-5.0b2-UnifiedInstaller-r1/install.log
Installing Plone 5.0b2 at /Applications/Plone

Using dscl to create users and groups
Using dscl (Directory Service command line utility) to create group
plone_group with gid 63 in directory /Local/Default ...
Creating user ...
Using dscl (Directory Service command line utility) to create user
plone_daemon with uid 50 in directory /Local/Default ...
Creating plone_daemon user ...
Using dscl (Directory Service command line utility) to create user
plone_buildout with uid 52 in directory /Local/Default ...

Incorrect quoting in helper_scripts/main_install_script.sh 5.0rc2

During the installing Plone 5.0rc2 by
Plone-5.0rc2-UnifiedInstaller in Scientific Linux 6 distro and got
such error:

===============================================================================
./install.sh --static-lxml=yes --target=/opt/Plone5.0
--daemon-user=plone --password=plone --group=plone
--with-python=/opt/Plone5.0/Python-2.7/bin/python zeo

We already have a Python environment for this target; ignoring --with-python.
Error: $PLONE_HOME/Python-${WANT_PYTHON}/bin/python is not an
executable. It should be the filename of a Python binary.

Please do one of the following:
1) Install python2.7 as a system dev package\;
2) Use --with-python=... option to point the installer to a useable python\; or
3) Use the --build-python option to tell the installer to build Python.
===============================================================================

The root of problem -- incorrect quoting in
helper_scripts/main_install_script.sh. After correcting of this issue
all installed successfully.

no JPEG support on OS X 10.11.3 (5.0.2 installer)

Getting distribution for 'Pillow==2.9.0'.
--- using frameworks at /System/Library/Frameworks
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]

warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
encode.c:57:43: warning: comparison of constant 0 with boolean expression is always false [-Wtautological-constant-out-of-range-compare]
    if(!PyType_Ready(&ImagingEncoderType) < 0)
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
2 warnings generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
1 warning generated.
Building using 4 processes
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
Building using 4 processes
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
1 warning generated.
Building using 4 processes
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
Building using 4 processes
warning: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Wunknown-warning-option]
1 warning generated.
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 366, in _handle_tasks
    debug('task handler got sentinel')
TypeError: 'NoneType' object is not callable
Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 801, in __bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 754, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/pool.py", line 330, in _handle_workers
    debug('worker handler exiting')
TypeError: 'NoneType' object is not callable


Building using 4 processes
--------------------------------------------------------------------
PIL SETUP SUMMARY
--------------------------------------------------------------------
version      Pillow 2.9.0
platform     darwin 2.7.11 (default, Jan 22 2016, 08:29:18)
             [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)]
--------------------------------------------------------------------
--- TKINTER support available
*** JPEG support not available
*** OPENJPEG (JPEG2000) support not available
--- ZLIB (PNG/ZIP) support available
*** LIBTIFF support not available
--- FREETYPE2 support available
*** LITTLECMS2 support not available
*** WEBP support not available
*** WEBPMUX support not available
--------------------------------------------------------------------
To add a missing option, make sure you have the required
library, and set the corresponding ROOT variable in the
setup.py script.

To check the build, run the selftest.py script.

Got Pillow 2.9.0.

Fix for broken unified installers 4.3.4 throughout 4.3.15 with --static-lxml enabled

I have just checked out the following versions from

https://launchpad.net/plone/+milestone/4.3.2
https://launchpad.net/plone/+milestone/4.3.4
https://launchpad.net/plone/+milestone/4.3.9
https://launchpad.net/plone/+milestone/4.3.10
https://launchpad.net/plone/+milestone/4.3.11
https://launchpad.net/plone/+milestone/4.3.12
https://launchpad.net/plone/+milestone/4.3.14
https://launchpad.net/plone/+milestone/4.3.15

With every unified installer since the 4.3.2 (which is the last one that works out of the box) every version up to the latest (i assume stable) 4.3.15 the install fails when enabling --static-lxml with the following error:

...
Building lxml with static libxml2/libxslt; this requires Internet access,
and takes a while...

lxml build failed.
See log file for details.

install.log

...
Develop: '/usr/local/Plone4.3.4/zeocluster/src/z3c.recipe.staticlxml'
Couldn't find index page for 'zc.recipe.cmmi' (maybe misspelled?)
Getting distribution for 'zc.recipe.cmmi==1.3.5'.
While:
  Installing.
  Getting section lxml.
  Initializing section lxml.
  Installing recipe z3c.recipe.staticlxml.
  Getting distribution for 'zc.recipe.cmmi==1.3.5'.
Error: Couldn't find a distribution for 'zc.recipe.cmmi==1.3.5'.

This can be solved (thx 1letter Jan for the solution on https://community.plone.org/t/plone-4-3-15-unifiedinstaller-error-in-building-libxml2-libxslt-system-libraries/5674) by adding

index = https://pypi.python.org/simple

to the buildout section of the lxml_static.cfg in the base_skeleton dir of the unified installer.

As the error messages are only helpful when someone knows the interna of all the involved tools, i suggest at least to fix the latest stable of the 4.3 tree.

OS X Unified Installer pyexpat Error

Mac OS X 10.10.3 (Yosemite)
Plone 4.3.5
The command I'm running is:
./install.sh zeo --target=/Users/jad52/MySites/testsite --build-python

Installer fails with the following message in the console:
Failed: Python must include xml.parsers.expat module.

A snippet from the log file shows this:
Python build finished, but the necessary bits to build these modules were not found:
bsddb185 dl gdbm
imageop linuxaudiodev ossaudiodev
spwd sunaudiodev
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

Failed to build these modules:
_elementtree pyexpat

running build_scripts
running install_lib

Update UPGRADE.txt

Currently UPGRADE.TXT is including all upgrade steps from Plone 2.x to Plone 4.

Should it be enough if we link to the current docs [later to Plone 5] and remove the old versions, since this is already explained on docs.plone.org where we link to ?

Error when installing Plone-5.1.4-UnifiedInstaller.tgz

In my server, running CentOS 6.9, my installation aborts at this point:

Building Zope/Plone; this takes a while...
Buildout returned an error code: 1; Aborting.
Buildout failed. Unable to continue

and at the end of the install.log:

Couldn't find index page for 'plone.recipe.precompiler' (maybe misspelled?)
While:
  Installing.
  Getting section precompiler.
  Initializing section precompiler.
  Installing recipe plone.recipe.precompiler.
  Getting distribution for 'plone.recipe.precompiler'.
Error: Couldn't find a distribution for 'plone.recipe.precompiler'.

Thanks!

Ginet

Unified Installer for plone 4 Not working

I am trying to create an instance using Plone 4 unified installer and I did the bootstrapping using python bootstrap.py under the virtual environment.

Now when I am trying to run the buildout using bin/buildout it is showing an error. Here is the error

While:
  Installing.
  Getting section instance.
  Initializing section instance.
  Installing recipe plone.recipe.zope2instance.

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/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/buildout.py", line 1992, in main
    getattr(buildout, command)(args)
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/buildout.py", line 550, in install
    [self[part]['recipe'] for part in install_parts]
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/buildout.py", line 1135, in __getitem__
    options._initialize()
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/buildout.py", line 1239, in _initialize
    self.initialize()
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/buildout.py", line 1245, in initialize
    recipe_class = _install_and_load(reqs, 'zc.buildout', entry, buildout)
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/buildout.py", line 1199, in _install_and_load
    allow_hosts=buildout._allow_hosts
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/easy_install.py", line 849, in install
    return installer.install(specs, working_set)
  File "/home/prakhar/PP/buildout-cache/eggs/zc.buildout-2.4.5-py2.7.egg/zc/buildout/easy_install.py", line 636, in install
    for_buildout_run=for_buildout_run):
TypeError: get_dist() got an unexpected keyword argument 'for_buildout_run'
*************** PICKED VERSIONS ****************
[versions]

*************** /PICKED VERSIONS ***************

5.0.8-r1 - Error: Wheels are not supported

In 5.0.08-r1 the installer runs, but any attempt to install further product fails with e.g.: -

Using unpack_wheel() shim over the deprecated wheel_to_egg() hook.
Please update your wheel extension implementation for one that installs a .whl
handler in zc.buildout.easy_install.UNPACKERS
While:
Installing client1.
Getting distribution for 'collective.themesitesetup'.
Error: Wheels are not supported

....which seems to be am issue with the version of buildout in the installer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.