I create and use apps with "Page" and "navigation", often with set_page_config errors

It has roughly this structure.

And I’m running “set_page_config” for every callback function.

The reason is that doing that doesn’t cause errors.

If all you’re doing is setting the page to wide mode, just call it one as the first command in your entrypoint file. If you are doing something else, can you explain more about how and where you are calling it?

1 Like


Thank you, it looks like there’s no intermittent error as I declare it immediately at the starting point!
If there is anything wrong afterwards, I will leave a comment again.

1 Like

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