Streamlit and Rstudio Connect

Hi, I guies successfully deploy my app on Rstudio Connect - that I get message in terminal. But when I run my app on Rstudio Connect I get this errors:

INFO matplotlib.font_manager: generated new fontManager
Unexpected error while running Streamlit app: run() missing 1 required positional argument: ‘flag_options’
Traceback (most recent call last):
File “/opt/rstudio-connect/python/connect_streamlit_runtime.py”, line 119, in
bootstrap.run(filename, “”, args)
TypeError: run() missing 1 required positional argument: ‘flag_options’

Any Ideas? Thanks.

Hi @TeodorGottfried, welcome to the Streamlit community!

Unfortunately, Streamlit didn’t have any input into how they are launching apps on the RStudio platform, so I think they’ll be the only people able to answer the question. If I’m not mistaken, their support for Streamlit is several versions behind the current Streamlit version, so it might be the case that if you downgrade your version of Streamlit on RStudio Connect that it would work.

I don’t have an account there, so unfortunately I can’t try it out myself.

Best,
Randy

1 Like

Thanks, for answer. You are right, i find same problem in this topic and kind of solution.

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.