Installation ERRORS

I am getting errors during installation SENAITE on ubuntu.

I followed all installation steps to install but used version 5.2 of plone. I got many errors after command “PYTHONHTTPSVERIFY=0 buildout”
Also got errors after command “bin/instance fg” and the last line of this command was “Products.validation.exceptions.FalseValidatorError: <Products.ATExtensions.validator.isPartialUrl.PartialUrlValidator instance at 0x7efdeef44050”

It is not displaying on webpage.

I don’t know what went wrong. please assist me to install SENAITE as I tried 2 times with each followed step and end up with an error.

Hi @modasser,

Please note that Senaite 1.3.x is only compatible with Plone 4.
See: https://www.senaite.com/docs/installation#a-note-about-versions

Please use Plone 4.3.19 and Python 2.7.18 and try again.

Best Regards
Ramon

hi @ramonski

Thank you so much for your help.

I tried again with the mentioned versions, All went well but the issue came on command “PYTHONHTTPSVERIFY=0 buildout”
and I got the following result:

modasser@modasser-VirtualBox:/home/senaite/senaitelims$ PYTHONHTTPSVERIFY=0 buildout
Uninstalling unifiedinstaller.
Uninstalling zopepy.
Uninstalling backup.
Uninstalling repozo.
Uninstalling instance.
Unused options for buildout: ‘show-picked-versions’.
Installing instance.
While:
Installing instance.
Getting distribution for ‘senaite.lims’.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py”, line 1866, in main
getattr(buildout, command)(args)
File “/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py”, line 625, in install
installed_files = self[part]._call(recipe.install)
File “/usr/lib/python2.7/dist-packages/zc/buildout/buildout.py”, line 1345, in _call
return f()
File “/home/senaite/buildout-cache/eggs/plone.recipe.zope2instance-4.4.1-py2.7.egg/plone/recipe/zope2instance/init.py”, line 169, in install
installed.extend(self.install_scripts())
File “/home/senaite/buildout-cache/eggs/plone.recipe.zope2instance-4.4.1-py2.7.egg/plone/recipe/zope2instance/init.py”, line 668, in install_scripts
requirements, ws = self.egg.working_set([‘plone.recipe.zope2instance’])
File “/home/senaite/buildout-cache/eggs/zc.recipe.egg-1.3.2-py2.7.egg/zc/recipe/egg/egg.py”, line 101, in working_set
**kw)
File “/usr/lib/python2.7/dist-packages/zc/buildout/easy_install.py”, line 1079, in install
return installer.install(specs, working_set)
File “/usr/lib/python2.7/dist-packages/zc/buildout/easy_install.py”, line 885, in install
for dist in self._get_dist(requirement, ws, self._always_unzip):
File “/usr/lib/python2.7/dist-packages/zc/buildout/easy_install.py”, line 720, in _get_dist
dist, avail = self._satisfied(requirement)
File “/usr/lib/python2.7/dist-packages/zc/buildout/easy_install.py”, line 437, in _satisfied
return None, self._obtain(req, source)
File “/usr/lib/python2.7/dist-packages/zc/buildout/easy_install.py”, line 662, in _obtain
if _final_version(dist.parsed_version)
File “/usr/lib/python2.7/dist-packages/zc/buildout/easy_install.py”, line 1874, in _final_version
for part in parsed_version:
TypeError: ‘Version’ object is not iterable

I already installed buildout with the command “sudo apt install python-zc.buildout”

Please assist so that I can move to the next step.

this is my buildout.cfg file at “/home/senaite/senaitelims/”

############################################
#
# Buildout Configuration File for Plone
# -------------------------------------
#
# ALWAYS back up all Plone/Zope data and components
# before changing configuration.
#
# Running "bin/buildout" will update your installation,
# installing missing components as necessary.
#
# This will update the add-on products you've added in the eggs= lines.
# This will not, however, upgrade Plone itself (or anything else you've
# pinned with a version specification). To upgrade Plone itself, see the
# comments in "Plone Component Versions".
#
# Tutorial instructions for using zc.buildout for
# configuration management are available at:
# http://plone.org/documentation/tutorial/buildout
# Full details at http://pypi.python.org/pypi/zc.buildout
#
############################################

[buildout]
############################################
# Plone Component Versions
# ------------------------
# This version of the Unified Installer has the components of Plone 4
# preloaded so that it can install without an Internet connection.
# If you want to update, uncomment the "http://..." line below,
# edit it to point to the current version URL, comment out the
# "versions.cfg" line and run "bin/buildout" while attached to the
# Internet. Generally, you only want to do that as part of a planned migration.
# Note that if you are updating components, you should also check the versions
# section at the end of this file, since recipes or components other than
# those of Zope and Plone may need updating at the same time.
#
extends =
    base.cfg
    versions.cfg
#    http://dist.plone.org/release/4.3.19/versions.cfg

# If you change your Plone version, you'll also need to update
# the repository link below.
find-links +=
    http://dist.plone.org/release/4.3.19

# If you try to start Zope as root, it will change user id to run as
# the effective user specified here. This user id must own the var directory
# of your buildout.
effective-user = modasser
# This user will own the rest of the installation, and should be used to
# run buildout.
buildout-user = modasser
# A flag to tell the Unified Installer whether or not to document sudo use.
need-sudo = no

############################################
# Eggs
# ----
# Add an indented line to the eggs section for any Python
# eggs or packages you wish to include in your Plone instance.
#
# Note that versions may be specified here or in the [versions]
# section below. You should always specify versions that you know
# are compatible with the Plone release and at an acceptable
# development level.
#
# If you update to a later version of Plone, remove the hotfix.
#
eggs =
    Plone
    Pillow
    senaite.lims
    simplejson
############################################
# ZCML Slugs
# ----------
# Some eggs need ZCML slugs to tell Zope to
# use them. This is increasingly rare.
zcml =
#    plone.reload

############################################
# Development Eggs
# ----------------
# You can use paster to create "development eggs" to
# develop new products/themes. Put these in the src/
# directory.
# You will also need to add the egg names in the
# eggs section above, and may also need to add them
# to the zcml section.
#
# Provide the *paths* to the eggs you are developing here:
develop =
#    src/my.package

############################################
# var Directory
# -------------
# Sets the target directory for the "var" components of the install such as
# database and log files.
#
var-dir=${buildout:directory}/var

############################################
# Backup Directory
# ----------------
# Sets the target directory for the bin/backup and bin/snapshotbackup
# commands. Default is inside this project's var directory, but ideally
# this should be on a separate volume or backup server.
#
backups-dir=${buildout:var-dir}

############################################
# Initial User
# ------------
# This is the user id and password that will be used to create the initial
# user id that will allow you to log in and create a Plone site. This only
# sets the initial password; it will not allow you to change an already
# existing password. If you change the admin password via the web interface,
# the one below will no longer be valid.
# If you find yourself locked out of your Zope/Python installation, you may
# add an emergency user via "bin/plonectl adduser".
user=admin:admin

############################################
# Debug Options
# -------------
# Start Zope/Plone instances in "fg" mode to turn on debug mode;
# this will dramatically slow Plone.
#
# Add-on developers should turn deprecation warnings on
deprecation-warnings = off
# change verbose-security to "on" for useful security errors while developing
verbose-security = off

############################################
# Parts Specification
#--------------------
# Specifies the components that should be included in the buildout.
# Most are defined in the base.cfg extension; you may add your
# own if you need them at the end of this file.
parts =
    instance
    repozo
    backup
    zopepy
    unifiedinstaller

############################################
# Major Parts
# ----------------------
# These common parts make use of sane base settings from
# base.cfg. To customize a part, just add whatever options
# you need. Read base.cfg for common settings.

[instance]
<= instance_base
recipe = plone.recipe.zope2instance
http-address = 8080


############################################
# Versions Specification
# ----------------------
# Version information supplied here will "pin" Python packages to a particular
# version number, even when you use the "newest" flag running buildout.
# Specifying versions for all packages is a good idea and can prevent
# accidental changes when you add new packages to your buildout.
# Note that versions specified here will override those specified earlier
# in the configuration, including those from the Plone and Zope version
# config files.
#
[versions]
zc.buildout = 
setuptools = 
Pillow = 5.1.0
cssselect2 = 0.2.2
soupsieve = 1.9.5

buildout.sanitycheck = 1.0.2
collective.recipe.backup = 4.0
plone.recipe.unifiedinstaller = 4.3.2

@Espurna can you please help me in this issue.

Thanks in advance