EXCEPTION! 'NoneType' object has no attribute 'strip'
See original GitHub issueSummary
Fail to run streamlit on Python3.6.3 with anaconda and docker
Steps to reproduce
Just Type streamlit hello
Expected behavior:
Try to run streamlit according to the document
Actual behavior:
Make an exception as EXCEPTION! ‘NoneType’ object has no attribute ‘strip’
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top Results From Across the Web
AttributeError: 'NoneType' object has no attribute 'strip'
The string attribute of a is None . You need to look over the documentation for BeautifulSoup and see what .find_all() returns. –...
Read more >AttributeError: 'NoneType' object has no attribute 'strip' #70
The error is because the python str method .strip() is trying to operate on a None, rather than the expected string. The only...
Read more >Error: 'NoneType' object has no attribute 'strip' - Google Groups
When I save the record in database I get this error: Error: 'NoneType' object has no attribute 'strip'. My model is: from django.db...
Read more >10765 (AttributeError: 'NoneType' object has no attribute 'strip')
When he fills out the form and posts it he receives the following error message: AttributeError: 'NoneType' object has no attribute 'strip'.
Read more >AttributeError: 'NoneType' object has no attribute 'strip' - Reddit
AttributeError : 'NoneType' object has no attribute 'strip' ; u/AIManiak avatar. AIManiak · 5 · Oh by <> I meant by placing the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
For me this error is raised when I start the streamlit script with
--server.headless True
But sometimes it runs and gives a very strange message:Note that I run it as a service so it has never run with a headless=False, so there are no credentials created.
I found that if I add the option
--browser.serverAddress "0.0.0.0"
, it seems to workNote that I am with
I deploy app in heroku and before this I try run app locally.
$ heroku local
My app starts as expected but I include shell script which must run in server. This script create file ~/.streamlit/config.toml [server] headless = true enableCORS=false port = 5000
After that a had this exception. I had same EXCEPTION! ‘NoneType’ object has no attribute ‘strip’
Yes. I can run app like suggest @hcoohb
$ streamlit hello --browser.serverAddress “0.0.0.0”
But I just remove config.toml 😃