Traceback (most recent call last):


 "/var/task/wdb/ui.py", line 193, in loop

stop = self.interact()


 "/var/task/wdb/ui.py", line 240, in interact

rv = fun(data)


 "/var/task/wdb/ui.py", line 469, in do_eval

self.db.hooked = self.handle_exc()


 "/var/lang/lib/python3.6/contextlib.py", line 89, in __exit__

next(self.gen)


 "/var/task/wdb/__init__.py", line 653, in capture_output

out.extend(sys.stdout.getvalue().splitlines())


 "/var/task/project/hooks.py", line 59, in __getattr__

return getattr(self._replaced, attr)


 "/var/runtime/awslambda/bootstrap.py", line 361, in __getattr__

return getattr(self._fd, attr)
AttributeError: '_io.TextIOWrapper' object has no attribute 'getvalue'

Traceback (most recent call last):


 "/Users/jdoe/anaconda3/lib/python3.6/site-packages/IPython/core/interactiveshell.py", line 2040, in showtraceback

stb = value._render_traceback_()
AttributeError: 'TypeError' object has no attribute '_render_traceback_'
