Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2019-05-31 10:07:46,406 - telegram.utils.webhookhandler - DEBUG - Webhook triggered
- 2019-05-31 10:07:46,406 - telegram.utils.webhookhandler - DEBUG - 172.21.0.1 - - "POST /836747777:AAFcMDBj8bQeANCqmTp7ix7-2B1dACtPSqw HTTP/1.0" 200 -
- 2019-05-31 10:07:46,407 - telegram.utils.webhookhandler - DEBUG - Webhook received data: {"update_id":27480289,
- "message":{"message_id":3638,"from":{"id":35667680,"is_bot":false,"first_name":"\u30ed\u30b8\u30e3\u30fc","last_name":"\u0669( \u141b )\u0648","username":"rogerleung","language_code":"en"},"chat":{"id":35667680,"first_name":"\u30ed\u30b8\u30e3\u30fc","last_name":"\u0669( \u141b )\u0648","username":"rogerleung","type":"private"},"date":1559297265,"passport_data":{"data":[{"type":"personal_details","data":"yNTkBdxxliGKYc6j6IxEOLGJT8yY7rGnyKLwsqn0hdJA6NX/ysb1Zs8kr+c8bp05N3p4CwuAqU6pMKqZfc+r9oG5r6Qt2YQq8GJyrm4IgBZftG06WBPlFwDQBgWOgrEKt3RaX0LYzjZ1SIbI5qqKbvCCcD9ESwTGMi8TVG80w/iIgZDcyLOAT4OEO28rc0+wZDpuasDvElS6IT3TjahQoijf/wPBbIhm1yIRjFmcZuXAMPhT1kYGFlwgp8wHN0r2TZcWvTcLdHUtZ6YZF1INImB8IXNLN3n6DmMG3f+aWLmLTQbP0UWmXlJto8Lw7pgrcEnHVmqGWFKA2MDPu407FRKId4lnXMk4Uu7HWwDuBHLboI9zpdoHpYEx8r4MKF2wN5+3eufFFWGeMP4j6KnK71B5LBAwDCBL13ANN85r1ZZ+8bnR9EiDRQTGCarwIAI1IS7bhQRv1ZScHq4Qp8D8HG0P/06GpaK4Nl2qsw5nkZg=","hash":"rw3nmG9dlW6NX8Ft2REq9Depdrw+kKHl9m7D+2K6Png="}],"credentials":{"data":"kZH6qse9PlqVd4an3d1q7RDAsdqk8MRgMZ66Gx5yafJtMwQ8q0eHhkRXKdlXFe0WryfbiIsZE7dNhyoCkvnkR1WblMupymHi6oeVVwoPugOzdMq7I5rKMuamIP/nAxLTXKkVgwqsoVWnnvAEIkTCy2UGBbe9CBOd7AwZYWUSsqfH5wkmYx6SBPby6dPBuup3Ll7/etRbeuwqsCCdVDtp3oVqIYnEj5t+hbE/Y9vfbKYLoe1Kmnw7erZJMpk1ESznrxxi6Q6ULdYSzt22VVGYIbtMp5zH+ihd5yFTfgIR3lS+SMQs6m4CFus3Nbv9m4tXACYWD3UbvFeMx6kwI6lcJ614yqCUmUPnhlLSuMTCIZYVpWq1pOvK2ORsVMQE2sMNkjDeHUQsyWDmiHzZr+O8hbJbPowU9CH1BTYCZ1n79Sc991cLnq5Qt01IHQDP+/PeUGs88pkqaOpxopBm1RqVPFz1mPxIf8nWKQuWjg4p47X2I2iAi6CG0fFomJssLQIqBnklEUAA8z5AVkt2M/jFmCznlkngKHVI2gMgj4/T7Tw=","hash":"lIT18cnYenpVjCeHQOfsw1hmljxA2PiAw0M+gmt5Tag=","secret":"EGZZ2LPUWAFF2l5VYYqjhgkIAkU5TqvN1CZfNmu+UjNBwWU9Sa35Q94tyvK8lwn+xJrstX2SjRUOYiPQvti6MM3g6SNgBIYDhsAUHV/xfVp6hpNAHpXNMgpz0tp2aP2fa13gde2zxevx4w4juXrwbHURlCByZsPN3MV/JBx2C7YxvV5hAWsbicPowIGHY77nLJXF1aAyLyALHeuUY9gXwLEz8zHTD7TB80lPvqvlJOZEQA5JGjRUwzQwSZTFG5bM3dI42WFpGXQiepr/ppBvTCqKBQQa7KQW6VY+1QS9M7Mf7CLGxYk9QBXa8vAZ9x3p33jbG0cTumayWd+ZlTIYbA=="}}}}
- 2019-05-31 10:07:46,408 - telegram.utils.webhookhandler - DEBUG - Received Update with ID 27480289 on Webhook
- 2019-05-31 10:07:46,409 - telegram.ext.dispatcher - DEBUG - Processing Update: {'update_id': 27480289, 'message': {'message_id': 3638, 'date': 1559297265, 'chat': {'id': 35667680, 'type': 'private', 'username': 'rogerleung', 'first_name': 'ロジャー', 'last_name': '٩( ᐛ )و'}, 'entities': [], 'caption_entities': [], 'photo': [], 'new_chat_members': [], 'new_chat_photo': [], 'delete_chat_photo': False, 'group_chat_created': False, 'supergroup_chat_created': False, 'channel_chat_created': False, 'passport_data': {'data': [{'type': 'personal_details', 'data': 'yNTkBdxxliGKYc6j6IxEOLGJT8yY7rGnyKLwsqn0hdJA6NX/ysb1Zs8kr+c8bp05N3p4CwuAqU6pMKqZfc+r9oG5r6Qt2YQq8GJyrm4IgBZftG06WBPlFwDQBgWOgrEKt3RaX0LYzjZ1SIbI5qqKbvCCcD9ESwTGMi8TVG80w/iIgZDcyLOAT4OEO28rc0+wZDpuasDvElS6IT3TjahQoijf/wPBbIhm1yIRjFmcZuXAMPhT1kYGFlwgp8wHN0r2TZcWvTcLdHUtZ6YZF1INImB8IXNLN3n6DmMG3f+aWLmLTQbP0UWmXlJto8Lw7pgrcEnHVmqGWFKA2MDPu407FRKId4lnXMk4Uu7HWwDuBHLboI9zpdoHpYEx8r4MKF2wN5+3eufFFWGeMP4j6KnK71B5LBAwDCBL13ANN85r1ZZ+8bnR9EiDRQTGCarwIAI1IS7bhQRv1ZScHq4Qp8D8HG0P/06GpaK4Nl2qsw5nkZg=', 'hash': 'rw3nmG9dlW6NX8Ft2REq9Depdrw+kKHl9m7D+2K6Png='}], 'credentials': {'data': 'kZH6qse9PlqVd4an3d1q7RDAsdqk8MRgMZ66Gx5yafJtMwQ8q0eHhkRXKdlXFe0WryfbiIsZE7dNhyoCkvnkR1WblMupymHi6oeVVwoPugOzdMq7I5rKMuamIP/nAxLTXKkVgwqsoVWnnvAEIkTCy2UGBbe9CBOd7AwZYWUSsqfH5wkmYx6SBPby6dPBuup3Ll7/etRbeuwqsCCdVDtp3oVqIYnEj5t+hbE/Y9vfbKYLoe1Kmnw7erZJMpk1ESznrxxi6Q6ULdYSzt22VVGYIbtMp5zH+ihd5yFTfgIR3lS+SMQs6m4CFus3Nbv9m4tXACYWD3UbvFeMx6kwI6lcJ614yqCUmUPnhlLSuMTCIZYVpWq1pOvK2ORsVMQE2sMNkjDeHUQsyWDmiHzZr+O8hbJbPowU9CH1BTYCZ1n79Sc991cLnq5Qt01IHQDP+/PeUGs88pkqaOpxopBm1RqVPFz1mPxIf8nWKQuWjg4p47X2I2iAi6CG0fFomJssLQIqBnklEUAA8z5AVkt2M/jFmCznlkngKHVI2gMgj4/T7Tw=', 'hash': 'lIT18cnYenpVjCeHQOfsw1hmljxA2PiAw0M+gmt5Tag=', 'secret': 'EGZZ2LPUWAFF2l5VYYqjhgkIAkU5TqvN1CZfNmu+UjNBwWU9Sa35Q94tyvK8lwn+xJrstX2SjRUOYiPQvti6MM3g6SNgBIYDhsAUHV/xfVp6hpNAHpXNMgpz0tp2aP2fa13gde2zxevx4w4juXrwbHURlCByZsPN3MV/JBx2C7YxvV5hAWsbicPowIGHY77nLJXF1aAyLyALHeuUY9gXwLEz8zHTD7TB80lPvqvlJOZEQA5JGjRUwzQwSZTFG5bM3dI42WFpGXQiepr/ppBvTCqKBQQa7KQW6VY+1QS9M7Mf7CLGxYk9QBXa8vAZ9x3p33jbG0cTumayWd+ZlTIYbA=='}}, 'from': {'id': 35667680, 'first_name': 'ロジャー', 'is_bot': False, 'last_name': '٩( ᐛ )و', 'username': 'rogerleung', 'language_code': 'en'}}}
- 2019-05-31 10:07:46,416 - telegram.ext.dispatcher - ERROR - An uncaught error was raised while processing the update
- Traceback (most recent call last):
- File "/usr/local/lib/python3.7/site-packages/telegram/ext/dispatcher.py", line 279, in process_update
- handler.handle_update(update, self)
- File "/usr/local/lib/python3.7/site-packages/telegram/ext/messagehandler.py", line 169, in handle_update
- return self.callback(dispatcher.bot, update, **optional_args)
- File "bot.py", line 1836, in passport_handler
- for data in passport_data.decrypted_data: # This is where the data gets decrypted
- File "/usr/local/lib/python3.7/site-packages/telegram/passport/passportdata.py", line 90, in decrypted_data
- for element in self.data
- File "/usr/local/lib/python3.7/site-packages/telegram/passport/passportdata.py", line 90, in <listcomp>
- for element in self.data
- File "/usr/local/lib/python3.7/site-packages/telegram/passport/encryptedpassportelement.py", line 168, in de_json_decrypted
- data['data'] = PersonalDetails.de_json(data['data'], bot=bot)
- File "/usr/local/lib/python3.7/site-packages/telegram/passport/data.py", line 63, in de_json
- return cls(bot=bot, **data)
- TypeError: __init__() missing 2 required positional arguments: 'first_name_native' and 'last_name_native'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement