Windows 7 x64 upgrade from 4.3.1 vanilla to 4.3.15 ... trying variations

I am trying all combinations to upgrade to 4.3.15
I installed a vanilla version using the 4.3.1 windows replaced the buildout.cfg from 4.3.1 with the buildout from 4.3.15 tar.gz
Ran c:\plone43\bin\buildout -n -vvvvvvvvv

File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_inst", line 655, in install_eggs
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_inst", line 930, in build_and_install
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_inst", line 919, in run_setup
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\", line
62, in run_setup
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\", line
105, in run
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\", line
64, in
File "", line 69, in
File "C:\Plone43\python\lib\distutils\", line 113, in setup
_setup_distribution = dist = klass(attrs)
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\", line 26
0, in init
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\", line 28
4, in fetch_build_eggs
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\", line 563,
in resolve
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\", line 799,
in best_match
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\", line 811,
in obtain
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\", line 32
7, in fetch_build_egg
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\command\easy_inst", line 434, in easy_install
File "c:\plone43\eggs\setuptools-0.6c11-py2.6.egg\setuptools\"
, line 475, in fetch_distribution
AttributeError: 'NoneType' object has no attribute 'clone'
An error occurred when trying to install Products.CMFCore 2.2.10. Look above thi
s message for any errors that were output by easy_install.
Installing instance.
Getting distribution for 'Products.CMFCore==2.2.10'.
Error: Couldn't install: Products.CMFCore 2.2.10
*************** PICKED VERSIONS ****************
products.plonehotfix20130618 = 1.1

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


My question relates to the change from Py26 (4.3.1-4.3.12) to Py27 (4.3.15) and

Also manually upgrading setuptools and zc.buildout to start with.

This would be to get a vanilla copy of 4.3.15 with the database being upgraded later

Any assistance is appreciated

I don't understand your question: Plone 4.3 should run in both Python 2.6 and 2.7.

on the other side, my recommendation is:

  • enable your virtualenv
  • update your setuptools to the version used in Plone 4.3.15 (pip install -U setuptools==26.1.1)
  • run buildout again

Hi hvelarde
That worked for me, a little tweeking on a couple of .cfg files and it compiled.

localhost:8080 came back with unable to connect

c:\plone43\bin\buildout -D indicated python-gettext needed an upgrade.

Tried the following and got the following error
IndentationError: unexpected error

C:\Python27\Scripts>pip install -U python_gettext==3.0
Collecting python_gettext==3.0
Traceback (most recent call last):
File "c:\python27\lib\site-packages\pip\", line 215, in main
status =, args)
File "c:\python27\lib\site-packages\pip\commands\", line 324, in run


File "c:\python27\lib\site-packages\pip\req\", line 380, in prepare_
File "c:\python27\lib\site-packages\pip\req\", line 634, in _prepare
File "c:\python27\lib\site-packages\pip\req\", line 129, in prep_for
File "c:\python27\lib\site-packages\pip\req\", line 412, in run

File "c:\python27\lib\site-packages\pip\req\", line 387, in setu
import setuptools # noqa
File "c:\python27\lib\site-packages\setuptools_init
.py", line 14, in
from setuptools.extension import Extension
File "c:\python27\lib\site-packages\setuptools\", line 11, in
from . import msvc
File "c:\python27\lib\site-packages\setuptools\", line 30, in
import distutils.msvc9compiler as msvc9compiler
File "c:\python27\lib\distutils\", line 257
vcvarsall = os.path.join(productdir, "vcvarsall.bat")
IndentationError: unexpected indent


Any suggestions

I did have earlier problems vcvarsall.bat
Followed Youtube clip
and addded the following to

vcvarsall = "c:/Users/Michael/Appdata/Local/Programs/Common/Microsoft/Visual C++ for Python" + "/vcvarsall.bat"

Fixed the vcvarsall indent problem by removing the line I added
vcvarsall = “c:/Users/Michael/Appdata/Local/Programs/Common/Microsoft/Visual C++ for Python” + “/vcvarsall.bat”
Using Debug I get the following after what appears to be a successful compile.

C:\Plone43>c:\plone43\bin\buildout -D
Unused options for buildout: 'buildout-user' 'need-sudo'.
Updating instance.
Updating repozo.
Updating backup.
Updating zopepy.
Updating precompiler.
Compiling Python files.
SyntaxError: ('invalid syntax', ('c:\plone43\eggs\restrictedpython-3.6.0-py2.
6.egg\RestrictedPython\tests\', 30, 17, ' x = {y: y f
or y in whatever if y}\n'))

SyntaxError: ('invalid syntax', ('c:\plone43\eggs\restrictedpython-3.6.0-py2.
6.egg\RestrictedPython\tests\', 6, 13, ' {y: y for
_restricted_name in x}\n'))

Compiling locale files.
Error while compiling c:\plone43\eggs\python_gettext-1.2-py2.6.egg\pythongettext
Error while compiling c:\plone43\eggs\python_gettext-1.2-py2.6.egg\pythongettext
Updating run-instance.
Updating service.
*************** PICKED VERSIONS ****************

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


Is there a problem here ?
The error messages you see are generated by the precompiler. It's a piece of code that aims at avoiding that your Plone instance has to compile files on the fly, because in a properly protected installation the code directories are read-only. The downside is that the precompiler sometimes tries to compile files that are not really meant to be compiled. It could be avoided but it happens, and it does not necessarily imply that your installation can't work.
These specific error messages are popping up on the net for ages. Why exactly is a mystery. The test5.po file is obviously wrong, but maybe it is intentional to generate an error in a test suite.

Many thanks gp54321
In reality I am an enduser, and NOT a poweruser

I have a functional 4.3.12 version
BUT wanted to upgrade as they (4.3.xx) became available

The upgrade process "for me" beyond 4.3.12 has been tedious and frustrating to say the least. Because of my lack of programming knowledge, I can only work with what I see.

Any suggestions from you or the Plone Community have been and will be appreciated. TIA

my suggestion is to try to start the new Plone instance and see if it works (bin/instance fg)
The upgrade process for Plone could be better, yes. However the issues that you have so far are more related to a generic python setup on a Windows computer (not a much used platform for Plone these days)

Thx gp54321 ... again I've come to a dead end (bin/instance fg - did not help)

Will hold at 4.3.12 on the windows platform
and begin the "long" learning curve of moving to Linux/Ubuntu

Buggah :o)

Wishing you and the Plone community all the best for 2018

Hi Michael :slight_smile: What method are you using to install Plone 4.3.1 on Windows?

Hi Kim
Best wishes for the New Year
I used the original 4.3.1 windows installer for 64bit

Ooops sent before I finished

On another matter I have an appointment to Flinders University to see what Computer undergraduate course might suit me to further my Plone experience
Any suggestions on your part would be appreciated.
Already looking at Linux/Unix/Ubuntu, Python, database structures including faceted navigation - if you have a link to a US style tertiary course, I would appreciate a URL. TIA

We no longer have binary installers like that for Plone on Windows but we do have a new type of installer that works nicely if you're on a newish version of Windows. It installs the Linux subsystem then uses the unified installer. For older versions of Windows, it installs prereqs then runs the "simple buildout" method. Mind you, if you need to have those install Plone 4 you will have to modify the innards.

Those classes seem good!