Problem with gitignore and env variable

AttributeError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you’re on Streamlit Cloud, click on ‘Manage app’ in the lower right of your app).

Traceback:

File "/home/adminuser/venv/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 589, in _run_script
    exec(code, module.__dict__)File "/mount/src/newsapp/newsapp.py", line 61, in <module>
    send_email(news_list, email_to)File "/mount/src/newsapp/newsapp.py", line 53, in send_email
    server.login(from_email, from_password)File "/usr/local/lib/python3.11/smtplib.py", line 739, in login
    (code, resp) = self.auth(
                   ^^^^^^^^^^File "/usr/local/lib/python3.11/smtplib.py", line 652, in auth
    authobject(challenge).encode('ascii'), eol='')
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Hi guys,
i am facing this issue, i have included env variable along with the gitignore in vs code and uploaded gitignore to github but still facing the logging issues, it would be great if you guys help me

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