issue with run : 'button_style' is not defined

Open
#387 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python, streamlit
Domain
frontend

Research direction

Start in st.py around line 112, where st.markdown uses button_style, and inspect the surrounding definitions and references to find why the name is unavailable. Run the Streamlit app to reproduce the traceback. Done means the app starts without this NameError and the affected page renders as intended.

Written by the indexing model from the issue text.

Description

NameError: name 'button_style' is not defined
Traceback:
File "C:\ProgramData\anaconda3\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 85, in exec_func_with_error_handling
result = func()
^^^^^^
File "C:\ProgramData\anaconda3\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 576, in code_to_exec
exec(code, module.dict)
File "C:\Users\SaeID\Desktop\VideoLingo\st.py", line 123, in
main()
File "C:\Users\SaeID\Desktop\VideoLingo\st.py", line 112, in main
st.markdown(button_style, unsafe_allow_html=True)
^^^^^^^^^^^^

Dominant language
Python
Stars
18.5k
Forks
2k
Avg merge
7h 41m
Merged PRs (30d)
12

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Huanshere/VideoLingo

All issues in Huanshere/VideoLingo

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.