ExtProd

buildPython


buildPyModules

Several errors installing modules. Most of them due versions of python modules not compatible with python 3.


buildOmniORB



buildSwig



Python executable


LGPL


acsBUILD


Tools


extpy


Kit

acs


acsutilPy


ALL


Module2to3pylintcompiles/installsTests passesComments
ExtProd     
BoostNOT DONENOT DONEOK Calling Boost's bootstrap with specific python version.
PythonOKNOT DONEOK Updated to 3.6.6, added python to python3 link in the Makefile, added symbolic link to include, so boost can pick it up
PyModulesOKNOT DONEOK Several libraries removed/updated/added
OmniORBOKNOT DONEOK Updated to 4.2.2. PYTHONPATH for omni ORB now includes python version.
TcltkOKNOT DONEOK Added seqSh and seqWish links in $TCLTK_ROOT/bin in the Makefile
Kit     
acsOKOKOKOKModified rules in acsMakefile for pycache. Severals scripts ported.
acsutilpyOKOKOKOKCorrected the tests
Tools     
extpyNOT DONENOT DONENOT DONEOKAll modules moves to Tools/PyModules
xsddocNOT DONENOT DONENOT DONEOK 
CommonSoftware     
xmlpybindOKOKOKOK 
acsstartupOKOKOKOKsubprocess returns bytes as stdout/err. https://stackoverflow.com/questions/606191/convert-bytes-to-a-string#606199 mock is included since python 3.3. Removing from dependencies.
loggingidlPENDINGPENDINGOKOK 
acserrOKOKOKOK 
acserrTypesOKOKOKOK 
baciidlPENDINGPENDINGOKOK 
loggingtsOKOKOKOKconfig had several code generator used only in testing. Python code generator needed porting to python3.
cdbPENDINGPENDINGOKOK 
cdb_rdbOKOKOKOKTest case had a python script.
recoveryOKOKOKOKTest script ported to python3 and fixed indentation.
acstimeNOT DONENOT DONEOKOKHad a swig generated python and c++ interface. Forced its regeneration.
acsncOKPENDINGOKNOT DONETest cases had python scripts. Ported to python3. Test cases failing to the same error as before.
acsdaemonPENDINGPENDINGPENDINGPENDING 
acstestcompcppPENDINGPENDINGPENDINGPENDING 
acspycommonOKOKOKOKXYZSeq has an increment method that was implemented through lambda. TEST.
acsalarmpyOKOKOKOK 
acspyOKOKOKOKIndentation issues in python code.
nsStatisticsServicePENDINGPENDINGPENDINGPENDING 
jbaciPENDINGPENDINGPENDINGPENDING 
monitoringPENDINGPENDINGPENDINGPENDING 
acssampPENDINGPENDINGPENDINGPENDING 
acspyexmplOKOKOKOK 
nctestPENDINGPENDINGPENDINGPENDING 
acssimOKOKOKOKTODO: FloatSeq should by in acspy
bulkDataNTPENDINGPENDINGPENDINGPENDING 
containerTestsOKOKOKOK 
* contLogTestOKOKOKOK 
* conNcTestsOKOKOKOK 
acscoursePENDINGPENDINGPENDINGPENDING 
ACSLaser (demo)OKOKOKOK 
acsncddsPENDINGPENDINGPENDINGPENDING 


List of files that could contain python code (and are not .py files)

acserr/ws/config/AES2Py.xslt:<xsl:text>#!/usr/bin/env python
acserr/ws/test/pythonTest.sh:python test_AES2Py.py
acserr/ws/test/Makefile:SCRIPTS_L       = acserrTestRun.sh startAcserrTest.sh testJUnitACSERRnoRuntime pythonTest
acsGUIs/alarmPanel/test/Makefile:# jagonzal: These are shell scripts not python scripts
ACSLaser/baciPropsTest/test/Makefile:# jagonzal: These are python scripts not shell scripts
ACSLaser/alarmTests/test/Makefile:# jagonzal: This is a shell script not a python script
ACSLaser/demo/test/Makefile:# jagonzal: These are shell scripts not python scripts
acsncdds/test/testCDB:#!/usr/bin/env python
acsncidl/ws/test/acsncidlPy:python -c 'from acsnc import EventDescription'
acspy/bin/acspyInteractiveContainer:exec python -i $PYBINARY $@ -interactive 
acspy/bin/ACSStartContainerPy:#!/usr/bin/env python
acspy/bin/ACSPyConsole:#!/usr/bin/env python
acspy/bin/ACSPyConsole:Starts an ACS interactive python console.
acspy/bin/acsLoggingMonitor:#!/usr/bin/env python
acspy/src/acspyInteractiveContainer:exec python -i $PYBINARY $@ -interactive 
acspy/src/acsLoggingMonitor:#!/usr/bin/env python
acspycommon/test/acspyTestLoggingStatistics.sh:LOCATION=TST-STE python ../bin/acspyTestLoggingStatistics 2>&1;
acspycommon/test/acspyTestLoggingStatistics.sh:python ../bin/acspyTestLoggingStatistics 2>&1;
acssim/config/CDB/schemas/SimulatedComponent.xsd:                               <xs:element name="pythonImports" type="imports" minOccurs="0"/>
acssim/src/recordEvents:#!/usr/bin/env python
acsstartup/bin/acsstartupCreateChannel:#! /usr/bin/env python
acsstartup/bin/acsstartupAcsPorts:    python -c "import socket; import os;  print str(socket.gethostbyname(os.environ['ACS_HOST']))"
acsstartup/bin/acsstartupAcsPorts:        python -c "import socket; print(str(socket.gethostbyname(socket.getfqdn())))"
acsstartup/bin/acsstartupAcsPorts:        python -c "import socket; print(str(socket.gethostbyname(socket.getfqdn().split('.')[0])))"
acsstartup/bin/acsdataClean:#!/usr/bin/env python
acsstartup/bin/killACS:#!/usr/bin/env python
acsstartup/bin/acsstartupRemovePID:#!/usr/bin/env python
acsstartup/bin/acsNotifysStatus:#!/usr/bin/env python
acsstartup/bin/acsstartupNotifyPort:#!/usr/bin/env python
acsstartup/bin/acsstartupContainerPort:#!/usr/bin/env python
acsstartup/bin/acsContainersStatus:#!/usr/bin/env python
acsstartup/src/acsstartupAcsPorts:    python -c "import socket; import os;  print(str(socket.gethostbyname(os.environ['ACS_HOST'])))"
acsstartup/src/acsstartupAcsPorts:        python -c "import socket; print(str(socket.gethostbyname(socket.getfqdn())))"
acsstartup/src/acsstartupAcsPorts:        python -c "import socket; print(str(socket.gethostbyname(socket.getfqdn().split('.')[0])))"
acstime/ws/src/acstimeSWIG_wrap.cpp:/* http://www.python.org/dev/peps/pep-0353/#conversion-guidelines */
acstime/ws/src/acstimeSWIG_wrap.cpp:/* The python void return value */
acstime/ws/src/acstimeSWIG_wrap.cpp:      printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name);
acstime/ws/src/acstimeSWIG_wrap.cpp:   is copied out of Python/modsupport.c in python version 2.3.4 */
acstime/ws/src/acstimeSWIG_wrap.cpp:/* The python cached type query */
acstime/ws/src/acstimeSWIG_wrap.cpp:#  error "This python version requires swig to be run with the '-classic' option"
acstime/ws/src/acstimeSWIG_wrap.cpp:       In python the user should not be able to modify the inner
acstime/ws/src/acstimeSWIG_wrap.cpp:       SWIG_PYTHON_SAFE_CSTRINGS, a new/copy of the python string
acstime/ws/src/Makefile:_acstimeSWIG_LIBS      = baci ACSTimeError maciErrType python2.7
acstime/ws/src/Makefile:        @$(RM) $(INSTALL_ROOT)/lib/python/site-packages/_acstimeSWIG.$(SHLIB_EXT)
acstime/ws/src/Makefile:        @cp ../lib/lib_acstimeSWIG.$(SHLIB_EXT) $(INSTALL_ROOT)/lib/python/site-packages/_acstimeSWIG.$(SHLIB_EXT)
acstime/ws/src/Makefile:        @swig -c++ -python ../config/acstimeSWIG.i
acsutil/ws/bin/acsutilProfiler: elapsed=`python -c "print $stop - $start"`
acsutil/ws/bin/acsutilProfiler: totalTime=`python -c "print $elapsed + $totalTime"`
acsutil/ws/bin/acsutilProfiler: minDuration="`python -c "print min($minDuration,$elapsed)"`"
acsutil/ws/bin/acsutilProfiler: maxDuration="`python -c "print max($maxDuration,$elapsed)"`"
acsutil/ws/bin/acsutilProfiler:averageTime=`python -c "print $totalTime / $CL_RUNS"`
acsutil/ws/src/python:  PYTHONSHELL="exec $PYTHON_ROOT/bin/python"
acsutil/ws/src/acsutilProfiler: elapsed=`python -c "print $stop - $start"`
acsutil/ws/src/acsutilProfiler: totalTime=`python -c "print $elapsed + $totalTime"`
acsutil/ws/src/acsutilProfiler: minDuration="`python -c "print min($minDuration,$elapsed)"`"
acsutil/ws/src/acsutilProfiler: maxDuration="`python -c "print max($maxDuration,$elapsed)"`"
acsutil/ws/src/acsutilProfiler:averageTime=`python -c "print $totalTime / $CL_RUNS"`
baciidl/ws/test/baciidlPy:python -c 'from maci import Container'
cdbChecker/test/testdata/defaultCDB/CDB/schemas/SimulatedComponent.xsd:                         <xs:element name="pythonImports" type="imports" minOccurs="0"/>
loggingts/ws/config/LTS2Py.xslt:<xsl:text>#! /usr/bin/env python
maciidl/ws/test/maciidlPy:python -c 'from maci import Container'
xmlpybind/bin/generateXsdPythonBinding:#! /usr/bin/env python


acserr


xmlpybind


acsstartup


Notes for migration from Python2 to Python3.