Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'str' object has no attribute 'get' #287

Closed
galleon opened this issue Jul 2, 2021 · 5 comments
Closed

AttributeError: 'str' object has no attribute 'get' #287

galleon opened this issue Jul 2, 2021 · 5 comments
Labels
bug Something isn't working

Comments

@galleon
Copy link

galleon commented Jul 2, 2021

When launching the DeepSpeech demo I get this error.

image

Here is the full error:

File "/Users/alleon_g/.pyenv/versions/3.8.6/envs/lewagon/lib/python3.8/site-packages/streamlit/script_runner.py", line 349, in _run_script
    exec(code, module.__dict__)
File "/Users/alleon_g/code/galleon/refactored-octo-tribble/app.py", line 303, in <module>
    main()
File "/Users/alleon_g/code/galleon/refactored-octo-tribble/app.py", line 111, in main
    app_sst_with_video(
File "/Users/alleon_g/code/galleon/refactored-octo-tribble/app.py", line 212, in app_sst_with_video
    webrtc_ctx = webrtc_streamer(
File "/Users/alleon_g/.pyenv/versions/3.8.6/envs/lewagon/lib/python3.8/site-packages/streamlit_webrtc/__init__.py", line 289, in webrtc_streamer
    playing = component_value.get("playing", False)
@trisgelar
Copy link

I got same error message, i changed streamlit and streamlit-webrtc back to older version

streamlit==0.83.0
streamlit-webrtc==0.23.2

@whitphx
Copy link
Owner

whitphx commented Jul 2, 2021

Thank you for the report! I will fix it.

@whitphx whitphx added the bug Something isn't working label Jul 2, 2021
@whitphx
Copy link
Owner

whitphx commented Jul 2, 2021

It looks like a bug of streamlit==0.84.0.
I created a bug report: streamlit/streamlit#3507

@whitphx
Copy link
Owner

whitphx commented Jul 2, 2021

I published a new version of streamlit-webrtc, including a hotfix for this problem.
However, I think this is derived from streamlit core and will keep this issue opened until the fundamental error is resolved.

@whitphx
Copy link
Owner

whitphx commented Jul 14, 2021

The upstream is fixed in 0.84.1.

@whitphx whitphx closed this as completed Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants