-
Bug
-
Resolution: Done
-
Medium
-
Honolulu Release
-
Windriver lab
With recent change for upgrade to python 3.9 - https://gerrit.onap.org/r/c/dcaegen2/platform/policy-handler/+/116900
the new container (5.1.1) is failing to start.
Following error noted on startup (container does come up eventually)
[26/Feb/2021:23:01:50] ENGINE Serving on http://0.0.0.0:25577 [26/Feb/2021:23:01:50] ENGINE Bus STARTED [26/Feb/2021:23:01:51] ENGINE Error in background task thread function <bound method Autoreloader.run of <cherrypy.process.plugins.Autoreloader object at 0x7f5dfbfbf040>>. Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/cherrypy/process/plugins.py", line 636, in sysfiles f = m.__loader__.archive AttributeError: '_NamespaceLoader' object has no attribute 'archive'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/cherrypy/process/plugins.py", line 518, in run self.function(*self.args, **self.kwargs) File "/usr/local/lib/python3.9/site-packages/cherrypy/process/plugins.py", line 653, in run for filename in self.sysfiles() | self.files: File "/usr/local/lib/python3.9/site-packages/cherrypy/process/plugins.py", line 640, in sysfiles if not os.path.isabs(f): File "/usr/local/lib/python3.9/posixpath.py", line 62, in isabs s = os.fspath(s) TypeError: expected str, bytes or os.PathLike object, not NoneType
- relates to
-
DCAEGEN2-2494 REQ-437 ONAP must complete update of the Python language (from 2.7 -> 3.8)
- Closed