-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Nothing display on app when using st.graphviz_chart() #3887
Comments
Hi @usuixingyili , Thanks for submitting an issue. Can you share more information? I tried reproducing it on my local system with streamlit 1.0 and streamlit 1.1.0 and I could not reproduce it. I am getting the above image displaying for me. I also have graphviz .17 so I am a little confused what is the difference in environment to cause this.Let me know! |
Closing due to inactivity. |
For me, chrome was not rendering Graphviz graphs, worked properly with Edge. |
Does not work for me on streamlit 1.11.0 on python 3.9.1 on Windows - I do not think it is a browser issue though, as online examples (such as Streamlit documentation of @kmcgrady Can you re-open the issue, or should I open a new one? |
Confirming, so you are saying you cannot see any of these? These come from our e2e tests that work, so I want to see if these work. We will have to figure out the root cause (we work on Mac/Linux), but some questions that could help. If you open the Chrome Developer tools, do any logs indicate an error occurred? I have doubts this is a problem on the Python side.
|
I can confirm that the example does not render anything at all on my computer. I
tried Firefox and Chrome.
The Chrome debug console shows a lot of errors (log attached).
Looking at them, it looks like the problem is in wrong MIME type of .js files -
is it something that is set system-wide, since it fails on two different
browsers with different engines?
I am on Windows 10.
Best regards,
Michal
On 20/07/2022 18:20, Ken McGrady wrote:
Hey @ayhaidar <https://github.com/ayhaidar> and @mkaut
<https://github.com/mkaut> .
Confirming, so you are saying you cannot see any of these? These come from our
e2e tests that work, so I want to see if these work. We will have to figure
out the root cause (we work on Mac/Linux), but some questions that could help.
If you open the Chrome Developer tools
<https://support.airtable.com/hc/en-us/articles/232313848-How-to-open-the-developer-console>,
do any logs indicate an error occurred? I have doubts this is a problem on the
Python side.
|import streamlit as st import graphviz as graphviz # basic graph hello =
graphviz.Digraph("Hello World") hello.edge("Hello", "World") # styled graph
styled = graphviz.Graph("G", filename="g_c_n.gv")
styled.attr(bgcolor="purple:pink", label="agraph", fontcolor="white") with
styled.subgraph(name="cluster1") as c: c.attr( fillcolor="blue:cyan",
label="acluster", fontcolor="white", style="filled", gradientangle="270", )
c.attr( "node", shape="box", fillcolor="red:yellow", style="filled",
gradientangle="90" ) c.node("anode") # complex graph finite =
graphviz.Digraph("finite_state_machine", filename="fsm.gv")
finite.attr(rankdir="LR", size="8,5") finite.attr("node",
shape="doublecircle") finite.node("LR_0") finite.node("LR_3")
finite.node("LR_4") finite.node("LR_8") finite.attr("node", shape="circle")
finite.edge("LR_0", "LR_2", label="SS(B)") finite.edge("LR_0", "LR_1",
label="SS(S)") finite.edge("LR_1", "LR_3", label="S($end)")
finite.edge("LR_2", "LR_6", label="SS(b)") finite.edge("LR_2", "LR_5",
label="SS(a)") finite.edge("LR_2", "LR_4", label="S(A)") finite.edge("LR_5",
"LR_7", label="S(b)") finite.edge("LR_5", "LR_5", label="S(a)")
finite.edge("LR_6", "LR_6", label="S(b)") finite.edge("LR_6", "LR_5",
label="S(a)") finite.edge("LR_7", "LR_8", label="S(b)") finite.edge("LR_7",
"LR_5", label="S(a)") finite.edge("LR_8", "LR_6", label="S(b)")
finite.edge("LR_8", "LR_5", label="S(a)") # draw graphs
st.graphviz_chart(hello) st.graphviz_chart(styled) st.graphviz_chart(finite) #
draw graphs in columns left_graph = graphviz.Digraph("Left")
left_graph.edge("Left", "Graph") right_graph = graphviz.Digraph("Right")
right_graph.edge("Right", "Graph") col1, col2 = st.columns([1, 1]) with col1:
st.graphviz_chart(left_graph) with col2: st.graphviz_chart(right_graph) |
—
Reply to this email directly, view it on GitHub
<#3887 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACMDCZPH3LAYSDIUKYZASMTVVARM5ANCNFSM5FS3OLOA>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
main.a8683c40.chunk.js:2 Gather usage stats: true
Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable.
Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable.
Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable.
Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable.
Refused to execute script from '<URL>' because its MIME type ('text/plain') is not executable.
66886a2b-667f-4ec8-bda1-9b28c6b9c281:4 Refused to execute script from 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' because its MIME type ('text/plain') is not executable.
onmessage @ 66886a2b-667f-4ec8-bda1-9b28c6b9c281:4
ffeaf06c-e1f8-494b-869c-610ccca77596:4 Refused to execute script from 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' because its MIME type ('text/plain') is not executable.
onmessage @ ffeaf06c-e1f8-494b-869c-610ccca77596:4
315379fa-08e7-49b1-8ff1-9313fcf83151:4 Refused to execute script from 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' because its MIME type ('text/plain') is not executable.
onmessage @ 315379fa-08e7-49b1-8ff1-9313fcf83151:4
86b86745-c4d0-426a-a0c6-a5e10205f8eb:4 Refused to execute script from 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' because its MIME type ('text/plain') is not executable.
onmessage @ 86b86745-c4d0-426a-a0c6-a5e10205f8eb:4
9c12170c-be31-4cd0-90b0-a4a33fe94e71:4 Refused to execute script from 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' because its MIME type ('text/plain') is not executable.
onmessage @ 9c12170c-be31-4cd0-90b0-a4a33fe94e71:4
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
66886a2b-667f-4ec8-bda1-9b28c6b9c281:4 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' failed to load.
at onmessage (blob:http://localhost:8502/66886a2b-667f-4ec8-bda1-9b28c6b9c281:4:21)
onmessage @ 66886a2b-667f-4ec8-bda1-9b28c6b9c281:4
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
ffeaf06c-e1f8-494b-869c-610ccca77596:4 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' failed to load.
at onmessage (blob:http://localhost:8502/ffeaf06c-e1f8-494b-869c-610ccca77596:4:21)
onmessage @ ffeaf06c-e1f8-494b-869c-610ccca77596:4
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
315379fa-08e7-49b1-8ff1-9313fcf83151:4 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' failed to load.
at onmessage (blob:http://localhost:8502/315379fa-08e7-49b1-8ff1-9313fcf83151:4:21)
onmessage @ 315379fa-08e7-49b1-8ff1-9313fcf83151:4
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
86b86745-c4d0-426a-a0c6-a5e10205f8eb:4 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' failed to load.
at onmessage (blob:http://localhost:8502/86b86745-c4d0-426a-a0c6-a5e10205f8eb:4:21)
onmessage @ 86b86745-c4d0-426a-a0c6-a5e10205f8eb:4
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9c12170c-be31-4cd0-90b0-a4a33fe94e71:4 Uncaught DOMException: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'http://localhost:8502/vendor/viz/viz-1.8.0.min.js' failed to load.
at onmessage (blob:http://localhost:8502/9c12170c-be31-4cd0-90b0-a4a33fe94e71:4:21)
onmessage @ 9c12170c-be31-4cd0-90b0-a4a33fe94e71:4
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
9.940ce842.chunk.js:1 Uncaught Viz is not defined
a.onmessage @ 9.940ce842.chunk.js:1
|
@mkaut This is super helpful. The good news is this helps with diagnosis. The bad news is that we will likely have to diagnose it on your computer. It looks like, it's refusing to run the script I see This comment has a suggestion here. Try running: Based on this, this seems like a Python challenge for Windows. See this bug. It seems like Python is inferring a mimetype of the javascript file, but it relies on its setting in the Windows registry. The issue above has a suggestion that involves registry entries. I wish I could offer more guidance here. This seems like an annoying bug. |
Thanks, that's what I was afraid of. I can confirm that fixing the registry entry |
I'm glad @mkaut that helps you solve the problem if that's not the ideal solution. I should note that the problem manifests on the client side, BUT the problem is on the server side. Essentially, the Python server, Tornado, is using mimetypes (which is looking at the Windows Registry) and informing the browser the wrong mimetype, which leads to the browser failures. This means that it should not be a problem for users accessing the streamlit app from a different computer as long as the server the app is running on has the correct info set. Perhaps that might handle this issue. :-( This would be true to developers as well. Anyone developing the streamlit app would need to correct the registry, and the deployed host would need the correct registry. Hope that helps! |
After changing registry entry HKEY_LOCAL_MACHINE\Software\Classes.js Content Type to |
@trevorsweeney I believe it should be I'm not an expert in Windows so if someone knows how to solve it. Please do! :-) |
@trevorsweeney I found (in different fora online) two additional registry keys that could have an effect: |
streamlit version 1.0.0
graphviz version 0.17
steps to reproduce the bug:
import streamlit as st
from graphviz import Digraph
graph = Digraph()
graph.edge('run', 'intr')
graph.edge('intr', 'runbl')
graph.edge('runbl', 'run')
graph.view()
st.graphviz_chart(graph)
or:
st.graphviz_chart('''
digraph {
run -> intr
intr -> runbl
runbl -> run
}
''')
The text was updated successfully, but these errors were encountered: