You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I run your program, I had some problem that below.
Can you help me?
Error:
Traceback (most recent call last):
File "C:\startcoding\k-trains-main\reserve.py", line 68, in get_trains
email_sender = st.secrets.get("email_sender")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 774, in get
File "C:\Users\anhur\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\secrets.py", line 305, in getitem
value = self._parse(True)[key]
^^^^^^^^^^^^^^^^^
File "C:\Users\anhur\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\secrets.py", line 214, in _parse
raise FileNotFoundError(err_msg)
FileNotFoundError: No secrets files found. Valid paths for a secrets.toml file are: C:\Users\anhur.streamlit\secrets.toml, C:\startcoding\k-trains-main.streamlit\secrets.toml
The text was updated successfully, but these errors were encountered:
Hi @readingbook78 , thanks for dropping by. That is correct, you need a secrets.toml file containing some info like user and password of your email account. Otherwise, you may want to modify the app to your needs (especially the notification function).
when I run your program, I had some problem that below.
Can you help me?
Error:
Traceback (most recent call last):
File "C:\startcoding\k-trains-main\reserve.py", line 68, in get_trains
email_sender = st.secrets.get("email_sender")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 774, in get
File "C:\Users\anhur\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\secrets.py", line 305, in getitem
value = self._parse(True)[key]
^^^^^^^^^^^^^^^^^
File "C:\Users\anhur\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\secrets.py", line 214, in _parse
raise FileNotFoundError(err_msg)
FileNotFoundError: No secrets files found. Valid paths for a secrets.toml file are: C:\Users\anhur.streamlit\secrets.toml, C:\startcoding\k-trains-main.streamlit\secrets.toml
The text was updated successfully, but these errors were encountered: