Hi Everyone,
I have an app that is executing in local and yet to deploy it to cloud.
I’m facing the below issue once i execute the app:
Traceback (most recent call last):
File “C:\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py”, line 589, in run_script
exec(code, module.dict)
File “C:\Users\Desktop\Certification Website\CertReq\app_sections.py”, line 5, in
show_pages(
File “C:\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\metrics_util.py”, line 408, in wrapped_func
result = non_optional_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\st_pages_init.py", line 252, in _show_pages
rt._sources_watcher = LocalSourcesWatcher(rt._main_script_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\watcher\local_sources_watcher.py”, line 51, in init
self._main_script_path = os.path.abspath(self._pages_manager.main_script_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: ‘str’ object has no attribute ‘main_script_path’