Skip to content

[Icon cannot display] Couldn't find the requested file xxx.png in twemoji. #6116

@Mactarvish

Description

@Mactarvish

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

When running a steamlit server, the icon cannot fetch (404).

image

Reproducible Code Example

import streamlit as st


if __name__ == "__main__":
    st.set_page_config(
        page_title="wocao",
        page_icon="random",
        layout="wide",
        initial_sidebar_state="expanded",
    )
    
    x = st.slider("Select a value")
    st.write(x, "squared is", x * x)

Steps To Reproduce

streamlit run demo.py

Expected Behavior

Show the icon I selected or random

Current Behavior

Cannot show the icon but a blank icon
image

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.17.0
  • Python version: 3.7.12
  • Operating System: Ubuntu 20
  • Browser: Edge
  • Virtual environment: Conda

Additional Information

No response

Are you willing to submit a PR?

  • Yes, I am willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:bugSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions