Hello,
We are trying to integrate Flexmonster with our private server using Streamlit for data analytics, but we are facing several issues.
Problem with static files in Streamlit
Streamlit does not support static files, so we cannot properly access the uploaded libraries. When we try to load the scripts, we get errors.
We attempted to use the library directly from localhost by referencing the source in local files. The main script runs, but since it calls other scripts internally, those secondary scripts fail to load, which causes errors.
Trying Flask as a workaround
As a workaround, we tried using Flask to serve the libraries. This works partially, but some features (for example, the Share option) do not work correctly.
Could you help us solve this issue while using a local license?
Thank you.
Hi Marc,
Thank you for contacting us.
We recommend using the flexmonster.full.js
file instead of flexmonster.js
. It is a main file that includes flexmonster.js
and other files necessary for Flexmonster.
Please let us know if it works for you. Looking forward to hearing from you.
Kind regards,
Nadia
Hi Nadia,
Thank you for your suggestion. I’ve just tried using flexmonster.full.js
, and for now it’s working well — all the tests that were failing earlier are now passing.
I’ll continue monitoring, but it looks good so far.
Best regards,
Marc
Hi Marc,
Thank you for the feedback!
We are glad to hear that it works for you.
You are welcome to contact us if other questions arise.
Kind regards,
Nadia