Traceback (most recent call last):


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\dispatcher.py", line 388, in _process_polling_updates

for responses in itertools.chain.from_iterable(await self.process_updates(updates, fast)):


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\dispatcher.py", line 225, in process_updates

return await asyncio.gather(*tasks)


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\handler.py", line 117, in notify

response = await handler_obj.handler(*args, **partial_data)


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\dispatcher.py", line 246, in process_update

return await self.message_handlers.notify(update.message)


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\dispatcher\handler.py", line 117, in notify

response = await handler_obj.handler(*args, **partial_data)


 "C:\test\aiogramtest.py", line 14, in test

await chat.update_chat()


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\chat.py", line 123, in update_chat

self[key] = value


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\base.py", line 226, in __setitem__

return self.props[key].set_value(self, value, self.conf.get('parent', None))


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\fields.py", line 57, in set_value

value = self.deserialize(value, parent)


 "C:\Users\jono\AppData\Roaming\Python\Python39\site-packages\aiogram\types\fields.py", line 114, in deserialize

parent = weakref.ref(parent)
TypeError: cannot create weak reference to 'NoneType' object

`Traceback (most recent call last):


 "recognize.py", line 32, in <module>

seq_len = tf.not_equal(x.sg_sum(axis=2), 0.).sg_int().sg_sum(axis=1)


 "/usr/local/lib/python2.7/site-packages/sugartensor/sg_main.py", line 170, in wrapper

out = func(tensor, tf.sg_opt(kwargs))


 "/usr/local/lib/python2.7/site-packages/sugartensor/sg_transform.py", line 334, in sg_sum

return tf.reduce_sum(tensor, axis=opt.axis, keep_dims=opt.keep_dims, name=opt.name)
TypeError: reduce_sum() got an unexpected keyword argument 'axis'`
