When starting an older application I receive the following error while starting the application:
The logic hasn’t changed as far as I know. I do use WSL Ubuntu to run the Linux version on windows.
Any idea what could cause this problem?
EDIT: I think this happend due to a change in the requirements: pathlib~=1.0.1. It shouldn’t be part of the requirements, but it most likely caused the problem.
Hi Johan, did you re-install your app?
also, can you share your SDK and Connector version (logged in terminal under VIKTOR logo)
Using following requirements.txt
I removed some of the packages and now it works fine. So probably pathlib (as it is a default Python package)
I indeed think the outdated pathlib is the cause of this problem. Pathlib is a package that was not included in earlier version of Python 3. From the documentation of v1.0.1:
This module is best used with Python 3.2 or later, but it is also compatible with Python 2.6 and 2.7.
This module has been included in the Python 3.4 standard library after PEP 428 acceptance. You only need to install it for Python 3.3 or older.
(pathlib — pathlib 1.0.1 documentation)