Traceback (most recent call last):


 "attributeerror.py", line 29, in <module>

main()


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 764, in __call__

return self.main(*args, **kwargs)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 716, in main

with self.make_context(prog_name, args, **extra) as ctx:


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 641, in make_context

self.parse_args(ctx, args)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 940, in parse_args

value, args = param.handle_parse_result(ctx, opts, args)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 1469, in handle_parse_result

value = self.full_process_value(ctx, value)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 1790, in full_process_value

return Parameter.full_process_value(self, ctx, value)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 1438, in full_process_value

value = self.process_value(ctx, value)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 1428, in process_value

return self.type_cast_value(ctx, value)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 1417, in type_cast_value

return _convert(value, (self.nargs != 1) + bool(self.multiple))


 "/home/richard-26/.local/lib/python3.8/site-packages/click/core.py", line 1415, in _convert

return self.type(value, self, ctx)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/types.py", line 39, in __call__

return self.convert(value, param, ctx)


 "/home/richard-26/.local/lib/python3.8/site-packages/click/types.py", line 350, in convert

value = value.lower()
AttributeError: 'int' object has no attribute 'lower'

Traceback (most recent call last):


 "/usr/local/google/home/ehudm/virtualenvs/beamenv/local/lib/python2.7/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/helper_threads.py", line 112, in __call__

self._callback(items)


 "/usr/local/google/home/ehudm/virtualenvs/beamenv/local/lib/python2.7/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py", line 101, in dispatch_callback

self.ack(batched_commands.pop(requests.AckRequest))


 "/usr/local/google/home/ehudm/virtualenvs/beamenv/local/lib/python2.7/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py", line 124, in ack

self.drop(items)


 "/usr/local/google/home/ehudm/virtualenvs/beamenv/local/lib/python2.7/site-packages/google/cloud/pubsub_v1/subscriber/_protocol/dispatcher.py", line 132, in drop

self._manager.leaser.remove(items)
AttributeError: 'NoneType' object has no attribute 'remove'
