question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v0.52.0: Bad message format - Tried to use SessionInfo before it was initialized

See original GitHub issue

Summary

On first page load, I get a message dialog: “Bad message format - Tried to use SessionInfo before it was initialized”. I can then click on the OK button and I can proceed as normal.

Steps to reproduce

On Windows 10 - installed clean separate Python virtual environment. Then installed using pip install streamlit

Then launched hello demo app: streamlit hello
Then I immediately get the dialog message.

Is this a regression?

yes

Debug info

  • Streamlit version: 0.52.0
  • Python version: 3.7
  • Using Conda
  • OS version: Windows 10
  • Browser version: Chrome 79

pip freeze output:

altair==4.0.0               
argh==0.26.2                
astor==0.8.1                
attrs==19.3.0               
base58==1.0.3               
blinker==1.4                
boto3==1.10.43              
botocore==1.13.43           
certifi==2019.11.28         
chardet==3.0.4              
Click==7.0                  
decorator==4.4.1            
docutils==0.15.2            
entrypoints==0.3            
enum-compat==0.0.3          
future==0.18.2              
idna==2.8                   
importlib-metadata==1.3.0   
Jinja2==2.10.3              
jmespath==0.9.4             
jsonschema==3.2.0           
MarkupSafe==1.1.1           
more-itertools==8.0.2       
numpy==1.17.4               
pandas==0.25.3              
pathtools==0.1.2            
Pillow==6.2.1               
protobuf==3.11.1            
pyrsistent==0.15.6          
python-dateutil==2.8.0      
pytz==2019.3                
PyYAML==5.2                 
requests==2.22.0            
s3transfer==0.2.1           
six==1.13.0                 
streamlit==0.52.0           
toml==0.10.0                
toolz==0.10.0               
tornado==5.1.1              
tzlocal==2.0.0              
urllib3==1.25.7             
validators==0.14.1          
watchdog==0.9.0             
wincertstore==0.2           
zipp==0.6.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
MarcSkovMadsencommented, Dec 21, 2019

I have the same problem with the awesome-streamlit.org repo after upgrading from 0.51 to 0.52 via a pip install streamlit==0.52 -u command.

image

Fixed for now by reverting back to 0.51 via a pip install streamlit==0.51 command.

5reactions
tvstcommented, Dec 23, 2019

The fix has been pushed as 0.52.1

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bad message format, Tried to use SessionInfo before it was ...
In some cases, my streamlit can not be access by some users. the webpage will return “Bad message format, Tried to use SessionInfo...
Read more >
streamlit Twitter પર: " Streamlit Release: 0.52.0 st ...
v0.52.0: Bad message format - Tried to use SessionInfo before it was initialized · Issue #879 ·... Summary On first page load, ...
Read more >
Google Chrome 108.0.5359.125 - Chocolatey
Organizational Use. If you are an organization using Chocolatey, we want your experience to be fully reliable. Due to the nature of this...
Read more >
Search OpenShift CI - OKD
oc get co/monitoring -oyaml message: 'Failed to rollout the stack. ... I can manually create the secret before deploying the operator to work...
Read more >
Debian packages on transit
app ii fop-doc 1:2.5-3 all XML formatter driven by XSL Formatting Objects (doc) - doc ii forkstat 0.02.16-1 amd64 process fork/exec/exit monitoring tool...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found