+1 vote
1 view

Hi, I'm testing locally the new Python widget but when I try to select a python environment from the widget I get the following error from the Python service logs:

I'm running the Python service on development mode. The Knowage Environment is running on a Windows 10 system, while the Knowage Python service is running on a Ubuntu 20 virtual machine, any suggestion will be appreciated, thank you.

Environment Knowage 7.2 Windows 10 Ubuntu 20
asked Dec 3, 2020 in Cockpit, Dashboard and Console by giordano (350 points) | 1 view

1 Answer

0 votes

For anyone having the same problem, I've managed to get it working moving also the knowage platform to the linux vm and explicitly define the http protocol in the config.xml file. Here are my configurations:

Config.xml

<data>
        <environment name="knowage-python">
                <hmackey><MY_HMACKEY></hmackey>
                <knowageaddress>http://localhost:8080</knowageaddress>
                <pythonaddress>http://localhost:5000</pythonaddress>
                <bokehportsrange>57000-58000</bokehportsrange>
        </environment>
</data>

Knowage variables:

answered Dec 10, 2020 by giordano (350 points)
Hello Giordano,

Do you have an idea how to fix this without moving Knowage to Linux as both my Knowage and knowage-python are running on Windows.

Thank you!
1,554 questions
1,017 answers
2,037 comments
2,568 users