You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and i keep getting this error, can anyone help with this please? :)
`Traceback (most recent call last):
File "/home/pi/Pimoroni/gScrollPhatHD.py", line 60, in
myStream.filter(track=['hug'], async=False)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 450, in filter
self._start(async)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 364, in _start
self._run()
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 297, in _run
six.reraise(*exc_info)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 266, in _run
self._read_loop(resp)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 316, in _read_loop
line = buf.read_line().strip()
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 181, in read_line
self._buffer += self._stream.read(self._chunk_size)
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 214, in read
raise ProtocolError('Connection broken: %r' % e, e)
ProtocolError: ('Connection broken: IncompleteRead(0 bytes read, 512 more expected)', IncompleteRead(0 bytes read, 512 more expected))
`
#!/usr/bin/env python
import sys
import time
import tweepy
import scrollphathd
from scrollphathd.fonts import font5x7smoothed
scrollphathd.clear()
while True:
try:
class MyStreamListener(tweepy.StreamListener):
def on_status(self, status):
if not status.text.startswith('RT'):
scroll_tweet(status)
def on_error(self, status_code):
if status_code == 420:
return False
hi i have a rpizerow scrolling tweets to a scrollphat hd show here http://forums.pimoroni.com/t/twitter-hashtag-to-scroll-phat/1609
and i keep getting this error, can anyone help with this please? :)
`Traceback (most recent call last):
File "/home/pi/Pimoroni/gScrollPhatHD.py", line 60, in
myStream.filter(track=['hug'], async=False)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 450, in filter
self._start(async)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 364, in _start
self._run()
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 297, in _run
six.reraise(*exc_info)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 266, in _run
self._read_loop(resp)
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 316, in _read_loop
line = buf.read_line().strip()
File "build/bdist.linux-armv6l/egg/tweepy/streaming.py", line 181, in read_line
self._buffer += self._stream.read(self._chunk_size)
File "/usr/lib/python2.7/dist-packages/urllib3/response.py", line 214, in read
raise ProtocolError('Connection broken: %r' % e, e)
ProtocolError: ('Connection broken: IncompleteRead(0 bytes read, 512 more expected)', IncompleteRead(0 bytes read, 512 more expected))
`
#!/usr/bin/env python
import sys
import time
import tweepy
import scrollphathd
from scrollphathd.fonts import font5x7smoothed
scrollphathd.clear()
while True:
try:
class MyStreamListener(tweepy.StreamListener):
def on_status(self, status):
if not status.text.startswith('RT'):
scroll_tweet(status)
def on_error(self, status_code):
if status_code == 420:
return False
`
The text was updated successfully, but these errors were encountered: