Skip to content

TomlDecodeError: Key group not on a line by itself. (line 1 column 1 char 0) #1

@3togo

Description

@3togo

Below is output after running
python app.py

Traceback (most recent call last):
File "/home/eli/git/deep_learning_project/app.py", line 15, in
col1, col2, col3= st.beta_columns([2,4,8])
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/beta_util.py", line 47, in wrapped_func
_show_beta_warning(func.name, date)
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/beta_util.py", line 21, in _show_beta_warning
streamlit.warning(
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/elements/alert.py", line 59, in warning
return self.dg._enqueue("alert", alert_proto)
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/delta_generator.py", line 473, in _enqueue
st._maybe_print_use_warning()
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/init.py", line 481, in _maybe_print_use_warning
elif not _is_running_with_streamlit and _config.get_option(
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/config.py", line 102, in get_option
config_options = get_config_options()
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/config.py", line 1057, in get_config_options
_update_config_with_toml(file_contents, filename)
File "/home/eli/.local/lib/python3.10/site-packages/streamlit/config.py", line 934, in _update_config_with_toml
parsed_config_file = toml.loads(raw_toml)
File "/usr/lib/python3/dist-packages/toml/decoder.py", line 433, in loads
raise TomlDecodeError("Key group not on a line by itself.",
toml.decoder.TomlDecodeError: Key group not on a line by itself. (line 1 column 1 char 0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions