Traceback (most recent call last):


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 2328, in __call__

return self.wsgi_app(environ, start_response)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 2314, in wsgi_app

response = self.handle_exception(e)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 1760, in handle_exception

reraise(exc_type, exc_value, tb)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/_compat.py", line 36, in reraise

raise value


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 2311, in wsgi_app

response = self.full_dispatch_request()


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 1834, in full_dispatch_request

rv = self.handle_user_exception(e)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 1737, in handle_user_exception

reraise(exc_type, exc_value, tb)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/_compat.py", line 36, in reraise

raise value


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 1832, in full_dispatch_request

rv = self.dispatch_request()


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/flask/app.py", line 1818, in dispatch_request

return self.view_functions[rule.endpoint](**req.view_args)


 "/home/icmelon/virtual_environment/flask/flask/bin/ihome_project/ihome/api_1_0/verify_code.py", line 21, in get_image_codes

image_data = image.generate(text)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/captcha/image.py", line 47, in generate

im.save(out, format=format)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/PIL/Image.py", line 2007, in save

save_handler(self, fp, filename)


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/PIL/PngImagePlugin.py", line 896, in _save

[("zip", (0, 0)+im.size, 0, rawmode)])


 "/home/icmelon/virtual_environment/flask/flask/lib/python3.6/site-packages/PIL/Image
.py", line 502, in _save

l, s, d = e
TypeError: 'ImagingEncoder' object is not iterable

Traceback (most recent call last):


 "<stdin>", line 1, in <module>


 ".../google/cloud/pubsub_v1/_gapic.py", line 44, in <lambda>

fx = lambda self, *a, **kw: wrapped_fx(*a, **kw)
TypeError: topic_path() missing 1 required positional argument: 'topic'
