Traceback (most recent call last):


 "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner

self.run()


 "/usr/local/lib/python3.8/threading.py", line 870, in run

self._target(*self._args, **self._kwargs)


 "/usr/local/lib/python3.8/site-packages/tweepy/streaming.py", line 320, in _run

six.reraise(*exc_info)


 "/usr/local/lib/python3.8/site-packages/six.py", line 703, in reraise

raise value


 "/usr/local/lib/python3.8/site-packages/tweepy/streaming.py", line 289, in _run

self._read_loop(resp)


 "/usr/local/lib/python3.8/site-packages/tweepy/streaming.py", line 339, in _read_loop

line = buf.read_line()


 "/usr/local/lib/python3.8/site-packages/tweepy/streaming.py", line 200, in read_line

self._buffer += self._stream.read(self._chunk_size)


 "/usr/local/lib/python3.8/site-packages/urllib3/response.py", line 540, in read

raise IncompleteRead(self._fp_bytes_read, self.length_remaining)


 "/usr/local/lib/python3.8/contextlib.py", line 131, in __exit__

self.gen.throw(type, value, traceback)


 "/usr/local/lib/python3.8/site-packages/urllib3/response.py", line 454, in _error_catcher

raise ProtocolError("Connection broken: %r" % e, e)
urllib3.exceptions.ProtocolError: ('Connection broken: IncompleteRead(2 bytes read)', IncompleteRead(2 bytes read))


Traceback (most recent call last):

 "/usr/local/lib/python3.2/doctest.py", line 1248, in __run
compileflags, 1), test.globs)

 "<doctest sympy.tensor.index_methods.get_contraction_structure[14]>", line 1, in <module>
d[x[i]*(A[i, j]*x[j] + y[i])]

 "/home/vperic/devel/sympy/sympy/interactive/printing.py", line 17, in displayhook
print(stringify_func(arg))

 "/home/vperic/devel/sympy/sympy/printing/str.py", line 503, in sstrrepr
s = p.doprint(expr)

 "/home/vperic/devel/sympy/sympy/printing/printer.py", line 224, in doprint
return self._str(self._print(expr))

 "/home/vperic/devel/sympy/sympy/printing/printer.py", line 248, in _print
return getattr(self, printmethod)(expr, *args)

 "/home/vperic/devel/sympy/sympy/printing/str.py", line 189, in _print_list
return "[%s]"%self.stringify(expr, ", ")

 "/home/vperic/devel/sympy/sympy/printing/str.py", line 30, in stringify
return sep.join([self.parenthesize(item, level) for item in args])

 "/home/vperic/devel/sympy/sympy/printing/str.py", line 30, in <listcomp>
return sep.join([self.parenthesize(item, level) for item in args])

 "/home/vperic/devel/sympy/sympy/printing/str.py", line 27, in parenthesize
return self._print(item)

 "/home/vperic/devel/sympy/sympy/printing/printer.py", line 248, in _print
return getattr(self, printmethod)(expr, *args)

 "/home/vperic/devel/sympy/sympy/printing/str.py", line 82, in _print_dict
keys.sort( key=cmp_to_key(Basic.compare_pretty) )

 "/home/vperic/devel/sympy/sympy/core/compatibility.py", line 119, in __lt__
return mycmp(self.obj, other.obj) < 0

 "/home/vperic/devel/sympy/sympy/core/basic.py", line 317, in compare_pretty
return cmp(a,b)

 "/home/vperic/devel/sympy/sympy/core/compatibility.py", line 137, in cmp
return (a > b) - (a < b)
TypeError: unorderable types: NoneType() > tuple()