Open FlorianJacta opened 3 months ago
Indeed, the internal Taipy data (.taipy
folder) is not designed to be shared across multiple applications (multiple main scripts).
The data stores some user code locations relative to the main script. Switching from one application to another is not guaranteed to work properly. This would depend on where the user code is located and how it is imported and declared to Taipy objects.
I keep the ticket open to investigate if we can do something to make it work in more cases or at least to document the use cases that don't work.
Description An error is created when I am trying to use Taipy SDM (Scenario and Data Management) from another script. The issue only arises when my tasks use functions inside my main.py (main).
How to reproduce main.py
This is working fine:
test.py:
This throws an error.
Error:![image (11)](https://github.com/Avaiga/taipy/assets/98709993/9a90cea2-815f-490d-8517-d9c3176d4c4d)
Expected behavior At a minimum, better logs should appear.
Runtime environment Please specify relevant indications.