Page 1 of 1

Wapt 1.5 post-configuration script problem

Published: February 23, 2018 - 10:56 AM
by ybrossard
I followed all the WAPT 1.5 installation documentation.
I had to add several Python libraries and now I'm stuck.

When I run the script: `/opt/wapt/bin/python /opt/wapt/waptserver/scripts/postconf.py --force-https`, I get the following error: `

Traceback (most recent call last):
File "/opt/wapt/waptserver/scripts/postconf.py", line 57, in`
from waptpackage import WaptLocalRepo
ImportError: No module named waptpackage

Thank you for your help.
Regards.

Re: Problem with Wapt 1.5 post-configuration script

Published: February 23, 2018 - 5:19 PM
by htouvet
This is a problem with the path to the Wapt Python libraries.
The documentation needs to be modified.

In the latest builds, the script to run is

Code: Select all

/opt/wapt/waptserver/scripts/postconf.sh
or you can also launch (in a single line)

Code: Select all

PYTHONHOME=/opt/wapt PYTHONPATH=/opt/wapt /opt/wapt/bin/python /opt/wapt/waptserver/scripts/postconf.py
(nighttime build of the 1.5 documentation:) https://wapt.tranquil.it/wapt/nightly/d ... figuration )