AttributeError: 'NoneType' object has no attribute 'strip'
See original GitHub issuei’ve been getting this error for a while.
Traceback (most recent call last):
File "engine/twitter.py", line 139, in <module>
stream.filter(track=['#blood',], languages=['en'])
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 445, in filter
self._start(async)
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 361, in _start
self._run()
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 263, in _run
self._read_loop(resp)
File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 313, in _read_loop
line = buf.read_line().strip()
AttributeError: 'NoneType' object has no attribute 'strip'
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:10 (2 by maintainers)
Top Results From Across the Web
AttributeError: 'NoneType' object has no attribute 'strip'
string doesn't return anything, so you're calling the strip() method on something that doesn't exist. However, then you have another problem; ...
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 >AttributeError: 'NoneType' object has no attribute 'strip' - Reddit
AttributeError : 'NoneType' object has no attribute 'strip'. I was learning how to make a discord bot using discord.py with this freecodecamp ...
Read more >NoneType object has no attribute strip in session display - Indico
NoneType object has no attribute strip in session display. Reported by: arescope, Owned by: arescope. Priority: high, Milestone: v0.98.1.
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 Free
Top 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
it’s fixed in #694 , nobody is merging PR here
I just got this error. Somebody please give somebody access to this repo so they can PR and also post to PyPI