Pastebin
API
tools
faq
paste
Login
Sign up
Please fix the following errors:
New Paste
Syntax Highlighting
2020-11-02 15:51:44.396 | ERROR | logging:exception:1469 - Error handling request Traceback (most recent call last): File "/app/app/handlers/base/start_command.py", line 50, in issue_headcategories await msg.edit_text(text=title, reply_markup=categories_markup) │ │ │ └ <aiogram.types.inline_keyboard.InlineKeyboardMarkup object at 0x7f9f99953bb0> │ │ └ 'Ищешь бота с крутыми новостями и интересными фактами о футболе и спорте? Давай к нам на @NewsSports_bot! \n\nНаш бот в теме ... │ └ <function Message.edit_text at 0x7f9f9922e700> └ <aiogram.types.message.Message object at 0x7f9f954d1670> File "/usr/local/lib/python3.8/site-packages/aiogram/types/message.py", line 1898, in edit_text return await self.bot.edit_message_text( │ └ <property object at 0x7f9f994db540> └ <aiogram.types.message.Message object at 0x7f9f954d1670> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/bot.py", line 1617, in edit_message_text result = await self.request(api.Methods.EDIT_MESSAGE_TEXT, payload) │ │ │ │ │ └ {'text': 'Ищешь бота с крутыми новостями и интересными фактами о футболе и спорте? Давай к нам на @NewsSports_bot! \n\nНаш бо... │ │ │ │ └ <aiogram.utils.helper.Item object at 0x7f9f99254520> │ │ │ └ <class 'aiogram.bot.api.Methods'> │ │ └ <module 'aiogram.bot.api' from '/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py'> │ └ <function BaseBot.request at 0x7f9f9925d790> └ <aiogram.bot.bot.Bot object at 0x7f9f98db4f40> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/base.py", line 200, in request return await api.make_request(self.session, self.__token, method, data, files, │ │ │ │ │ │ │ └ None │ │ │ │ │ │ └ {'text': 'Ищешь бота с крутыми новостями и интересными фактами о футболе и спорте? Давай к нам на @NewsSports_bot! \n\nНаш бо... │ │ │ │ │ └ 'editMessageText' │ │ │ │ └ <aiogram.bot.bot.Bot object at 0x7f9f98db4f40> │ │ │ └ <property object at 0x7f9f9982fb80> │ │ └ <aiogram.bot.bot.Bot object at 0x7f9f98db4f40> │ └ <function make_request at 0x7f9f99647d30> └ <module 'aiogram.bot.api' from '/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py'> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py", line 104, in make_request return check_result(method, response.content_type, response.status, await response.text()) │ │ │ │ │ │ │ └ <function ClientResponse.text at 0x7f9f993cb9d0> │ │ │ │ │ │ └ <ClientResponse(https://api.telegram.org/bot1319995825:AAGWmNtxpqhg1tg2AUpQzMANifnuo6K879s/editMessageText) [400 Bad Request]... │ │ │ │ │ └ 400 │ │ │ │ └ <ClientResponse(https://api.telegram.org/bot1319995825:AAGWmNtxpqhg1tg2AUpQzMANifnuo6K879s/editMessageText) [400 Bad Request]... │ │ │ └ <property object at 0x7f9f99740f40> │ │ └ <ClientResponse(https://api.telegram.org/bot1319995825:AAGWmNtxpqhg1tg2AUpQzMANifnuo6K879s/editMessageText) [400 Bad Request]... │ └ 'editMessageText' └ <function check_result at 0x7f9f99647790> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py", line 78, in check_result exceptions.BadRequest.detect(description) │ │ │ └ "Bad Request: message can't be edited" │ │ └ <classmethod object at 0x7f9f992546a0> │ └ <class 'aiogram.utils.exceptions.BadRequest'> └ <module 'aiogram.utils.exceptions' from '/usr/local/lib/python3.8/site-packages/aiogram/utils/exceptions.py'> File "/usr/local/lib/python3.8/site-packages/aiogram/utils/exceptions.py", line 137, in detect raise err(cls.text or description) │ │ │ └ "bad request: message can't be edited" │ │ └ None │ └ <class 'aiogram.utils.exceptions.BadRequest'> └ <class 'aiogram.utils.exceptions.MessageCantBeEdited'> aiogram.utils.exceptions.MessageCantBeEdited: Message can't be edited During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main return _run_code(code, main_globals, None, │ │ └ {'__name__': '__main__', '__doc__': None, '__package__': 'app', '__loader__': <_frozen_importlib_external.SourceFileLoader ob... │ └ <code object <module> at 0x7f9f9a9863a0, file "/app/app/__main__.py", line 1> └ <function _run_code at 0x7f9f9a9d1160> File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code exec(code, run_globals) │ └ {'__name__': '__main__', '__doc__': None, '__package__': 'app', '__loader__': <_frozen_importlib_external.SourceFileLoader ob... └ <code object <module> at 0x7f9f9a9863a0, file "/app/app/__main__.py", line 1> File "/app/app/__main__.py", line 32, in <module> web.run_app(app_factory(misc.app), port=config.BOT_PUBLIC_PORT) │ │ │ │ │ │ └ 80 │ │ │ │ │ └ <module 'app.config' from '/app/app/config.py'> │ │ │ │ └ <Application 0x7f9f9a8734c0> │ │ │ └ <module 'app.misc' from '/app/app/misc.py'> │ │ └ <function app_factory at 0x7f9f9a937790> │ └ <function run_app at 0x7f9f9a86f160> └ <module 'aiohttp.web' from '/usr/local/lib/python3.8/site-packages/aiohttp/web.py'> File "/usr/local/lib/python3.8/site-packages/aiohttp/web.py", line 508, in run_app loop.run_until_complete(main_task) │ │ └ <Task pending name='Task-1' coro=<_run_app() running at /usr/local/lib/python3.8/site-packages/aiohttp/web.py:429> wait_for=<... │ └ <method 'run_until_complete' of 'uvloop.loop.Loop' objects> └ <uvloop.Loop running=True closed=False debug=False> > File "/usr/local/lib/python3.8/site-packages/aiohttp/web_protocol.py", line 422, in _handle_request resp = await self._request_handler(request) │ │ └ <Request POST /webhook/_8xt4HRhG-8uRMYBs__loPgJtRJOxJx5LwKpce0YH2k-bZhpuxl3rH7wtcW8Yeru/1319995825:AAGWmNtxpqhg1tg2AUpQzMANif... │ └ <member '_request_handler' of 'RequestHandler' objects> └ <RequestHandler connected> File "/usr/local/lib/python3.8/site-packages/aiohttp/web_app.py", line 499, in _handle resp = await handler(request) │ └ <Request POST /webhook/_8xt4HRhG-8uRMYBs__loPgJtRJOxJx5LwKpce0YH2k-bZhpuxl3rH7wtcW8Yeru/1319995825:AAGWmNtxpqhg1tg2AUpQzMANif... └ <class 'app.web_handlers.tg_updates.WebhookRequestHandler'> File "/usr/local/lib/python3.8/site-packages/aiohttp/web_urldispatcher.py", line 948, in _iter resp = await method() └ <bound method WebhookRequestHandler.post of <app.web_handlers.tg_updates.WebhookRequestHandler object at 0x7f9f98280490>> File "/app/app/web_handlers/tg_updates.py", line 39, in post results = await self.process_update(update) │ │ └ <aiogram.types.update.Update object at 0x7f9f954d14c0> │ └ <function WebhookRequestHandler.process_update at 0x7f9f999b6790> └ <app.web_handlers.tg_updates.WebhookRequestHandler object at 0x7f9f98280490> File "/app/app/web_handlers/tg_updates.py", line 85, in process_update return fut.result() │ └ <method 'result' of '_asyncio.Task' objects> └ <Task finished name='Task-27331' coro=<Handler.notify() done, defined at /usr/local/lib/python3.8/site-packages/aiogram/dispa... File "/usr/local/lib/python3.8/site-packages/aiogram/dispatcher/handler.py", line 117, in notify response = await handler_obj.handler(*args, **partial_data) │ │ │ └ {} │ │ └ (<aiogram.types.update.Update object at 0x7f9f954d14c0>,) │ └ <bound method Dispatcher.process_update of <aiogram.dispatcher.dispatcher.Dispatcher object at 0x7f9f98daf490>> └ Handler.HandlerObj(handler=<bound method Dispatcher.process_update of <aiogram.dispatcher.dispatcher.Dispatcher object at 0x7... File "/usr/local/lib/python3.8/site-packages/aiogram/dispatcher/dispatcher.py", line 246, in process_update return await self.message_handlers.notify(update.message) │ │ │ │ └ <aiogram.types.fields.Field object at 0x7f9f99640be0> │ │ │ └ <aiogram.types.update.Update object at 0x7f9f954d14c0> │ │ └ <function Handler.notify at 0x7f9f998345e0> │ └ <aiogram.dispatcher.handler.Handler object at 0x7f9f97e02580> └ <aiogram.dispatcher.dispatcher.Dispatcher object at 0x7f9f98daf490> File "/usr/local/lib/python3.8/site-packages/aiogram/dispatcher/handler.py", line 117, in notify response = await handler_obj.handler(*args, **partial_data) │ │ │ └ {} │ │ └ (<aiogram.types.message.Message object at 0x7f9f954d1670>,) │ └ <function cmd_start at 0x7f9f999a48b0> └ Handler.HandlerObj(handler=<function cmd_start at 0x7f9f999a48b0>, spec=FullArgSpec(args=['msg'], varargs=None, varkw=None, d... File "/app/app/handlers/base/start_command.py", line 24, in cmd_start await issue_headcategories(msg) │ └ <aiogram.types.message.Message object at 0x7f9f954d1670> └ <function issue_headcategories at 0x7f9f999a4940> File "/app/app/handlers/base/start_command.py", line 52, in issue_headcategories await msg.answer(text=title, reply_markup=categories_markup) │ │ │ └ <aiogram.types.inline_keyboard.InlineKeyboardMarkup object at 0x7f9f99953bb0> │ │ └ 'Ищешь бота с крутыми новостями и интересными фактами о футболе и спорте? Давай к нам на @NewsSports_bot! \n\nНаш бот в теме ... │ └ <function Message.answer at 0x7f9f9921c550> └ <aiogram.types.message.Message object at 0x7f9f954d1670> File "/usr/local/lib/python3.8/site-packages/aiogram/types/message.py", line 316, in answer return await self.bot.send_message( │ └ <property object at 0x7f9f994db540> └ <aiogram.types.message.Message object at 0x7f9f954d1670> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/bot.py", line 219, in send_message result = await self.request(api.Methods.SEND_MESSAGE, payload) │ │ │ │ │ └ {'chat_id': 537574720, 'text': 'Ищешь бота с крутыми новостями и интересными фактами о футболе и спорте? Давай к нам на @News... │ │ │ │ └ <aiogram.utils.helper.Item object at 0x7f9f996484f0> │ │ │ └ <class 'aiogram.bot.api.Methods'> │ │ └ <module 'aiogram.bot.api' from '/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py'> │ └ <function BaseBot.request at 0x7f9f9925d790> └ <aiogram.bot.bot.Bot object at 0x7f9f98db4f40> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/base.py", line 200, in request return await api.make_request(self.session, self.__token, method, data, files, │ │ │ │ │ │ │ └ None │ │ │ │ │ │ └ {'chat_id': 537574720, 'text': 'Ищешь бота с крутыми новостями и интересными фактами о футболе и спорте? Давай к нам на @News... │ │ │ │ │ └ 'sendMessage' │ │ │ │ └ <aiogram.bot.bot.Bot object at 0x7f9f98db4f40> │ │ │ └ <property object at 0x7f9f9982fb80> │ │ └ <aiogram.bot.bot.Bot object at 0x7f9f98db4f40> │ └ <function make_request at 0x7f9f99647d30> └ <module 'aiogram.bot.api' from '/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py'> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py", line 104, in make_request return check_result(method, response.content_type, response.status, await response.text()) │ │ │ │ │ │ │ └ <function ClientResponse.text at 0x7f9f993cb9d0> │ │ │ │ │ │ └ <ClientResponse(https://api.telegram.org/bot1319995825:AAGWmNtxpqhg1tg2AUpQzMANifnuo6K879s/sendMessage) [403 Forbidden]> │ │ │ │ │ │ <CIM... │ │ │ │ │ └ 403 │ │ │ │ └ <ClientResponse(https://api.telegram.org/bot1319995825:AAGWmNtxpqhg1tg2AUpQzMANifnuo6K879s/sendMessage) [403 Forbidden]> │ │ │ │ <CIM... │ │ │ └ <property object at 0x7f9f99740f40> │ │ └ <ClientResponse(https://api.telegram.org/bot1319995825:AAGWmNtxpqhg1tg2AUpQzMANifnuo6K879s/sendMessage) [403 Forbidden]> │ │ <CIM... │ └ 'sendMessage' └ <function check_result at 0x7f9f99647790> File "/usr/local/lib/python3.8/site-packages/aiogram/bot/api.py", line 84, in check_result exceptions.Unauthorized.detect(description) │ │ │ └ 'Forbidden: bot was blocked by the user' │ │ └ <classmethod object at 0x7f9f992546a0> │ └ <class 'aiogram.utils.exceptions.Unauthorized'> └ <module 'aiogram.utils.exceptions' from '/usr/local/lib/python3.8/site-packages/aiogram/utils/exceptions.py'> File "/usr/local/lib/python3.8/site-packages/aiogram/utils/exceptions.py", line 137, in detect raise err(cls.text or description) │ │ │ └ 'forbidden: bot was blocked by the user' │ │ └ None │ └ <class 'aiogram.utils.exceptions.Unauthorized'> └ <class 'aiogram.utils.exceptions.BotBlocked'>
Optional Paste Settings
Category:
None
Cryptocurrency
Cybersecurity
Fixit
Food
Gaming
Haiku
Help
History
Housing
Jokes
Legal
Money
Movies
Music
Pets
Photo
Science
Software
Source Code
Spirit
Sports
Travel
TV
Writing
Tags:
Syntax Highlighting:
None
Bash
C
C#
C++
CSS
HTML
JSON
Java
JavaScript
Lua
Markdown (PRO members only)
Objective C
PHP
Perl
Python
Ruby
Swift
4CS
6502 ACME Cross Assembler
6502 Kick Assembler
6502 TASM/64TASS
ABAP
AIMMS
ALGOL 68
APT Sources
ARM
ASM (NASM)
ASP
ActionScript
ActionScript 3
Ada
Apache Log
AppleScript
Arduino
Asymptote
AutoIt
Autohotkey
Avisynth
Awk
BASCOM AVR
BNF
BOO
Bash
Basic4GL
Batch
BibTeX
Blitz Basic
Blitz3D
BlitzMax
BrainFuck
C
C (WinAPI)
C Intermediate Language
C for Macs
C#
C++
C++ (WinAPI)
C++ (with Qt extensions)
C: Loadrunner
CAD DCL
CAD Lisp
CFDG
CMake
COBOL
CSS
Ceylon
ChaiScript
Chapel
Clojure
Clone C
Clone C++
CoffeeScript
ColdFusion
Cuesheet
D
DCL
DCPU-16
DCS
DIV
DOT
Dart
Delphi
Delphi Prism (Oxygene)
Diff
E
ECMAScript
EPC
Easytrieve
Eiffel
Email
Erlang
Euphoria
F#
FO Language
Falcon
Filemaker
Formula One
Fortran
FreeBasic
FreeSWITCH
GAMBAS
GDB
GDScript
Game Maker
Genero
Genie
GetText
Go
Godot GLSL
Groovy
GwBasic
HQ9 Plus
HTML
HTML 5
Haskell
Haxe
HicEst
IDL
INI file
INTERCAL
IO
ISPF Panel Definition
Icon
Inno Script
J
JCL
JSON
Java
Java 5
JavaScript
Julia
KSP (Kontakt Script)
KiXtart
Kotlin
LDIF
LLVM
LOL Code
LScript
Latex
Liberty BASIC
Linden Scripting
Lisp
Loco Basic
Logtalk
Lotus Formulas
Lotus Script
Lua
M68000 Assembler
MIX Assembler
MK-61/52
MPASM
MXML
MagikSF
Make
MapBasic
Markdown (PRO members only)
MatLab
Mercury
MetaPost
Modula 2
Modula 3
Motorola 68000 HiSoft Dev
MySQL
Nagios
NetRexx
Nginx
Nim
NullSoft Installer
OCaml
OCaml Brief
Oberon 2
Objeck Programming Langua
Objective C
Octave
Open Object Rexx
OpenBSD PACKET FILTER
OpenGL Shading
Openoffice BASIC
Oracle 11
Oracle 8
Oz
PARI/GP
PCRE
PHP
PHP Brief
PL/I
PL/SQL
POV-Ray
ParaSail
Pascal
Pawn
Per
Perl
Perl 6
Phix
Pic 16
Pike
Pixel Bender
PostScript
PostgreSQL
PowerBuilder
PowerShell
ProFTPd
Progress
Prolog
Properties
ProvideX
Puppet
PureBasic
PyCon
Python
Python for S60
QBasic
QML
R
RBScript
REBOL
REG
RPM Spec
Racket
Rails
Rexx
Robots
Roff Manpage
Ruby
Ruby Gnuplot
Rust
SAS
SCL
SPARK
SPARQL
SQF
SQL
SSH Config
Scala
Scheme
Scilab
SdlBasic
Smalltalk
Smarty
StandardML
StoneScript
SuperCollider
Swift
SystemVerilog
T-SQL
TCL
TeXgraph
Tera Term
TypeScript
TypoScript
UPC
Unicon
UnrealScript
Urbi
VB.NET
VBScript
VHDL
VIM
Vala
Vedit
VeriLog
Visual Pro Log
VisualBasic
VisualFoxPro
WHOIS
WhiteSpace
Winbatch
XBasic
XML
XPP
Xojo
Xorg Config
YAML
YARA
Z80 Assembler
ZXBasic
autoconf
jQuery
mIRC
newLISP
q/kdb+
thinBasic
Paste Expiration:
Never
Burn after read
10 Minutes
1 Hour
1 Day
1 Week
2 Weeks
1 Month
6 Months
1 Year
Paste Exposure:
Public
Unlisted
Private
Folder:
(members only)
Password
NEW
Enabled
Disabled
Burn after read
NEW
Paste Name / Title:
Create New Paste
Hello
Guest
Sign Up
or
Login
Sign in with Facebook
Sign in with Twitter
Sign in with Google
You are currently not logged in, this means you can not edit or delete anything you paste.
Sign Up
or
Login
Public Pastes
Untitled
13 hours ago | 0.16 KB
settings
13 hours ago | 0.10 KB
IT & AI
22 hours ago | 1.62 KB
Stationeers - Sign Tags from Power Distributi...
HTML | 1 day ago | 2.00 KB
PM: Shopify Client Edits
1 day ago | 0.19 KB
PM: Shopify Assigning Design Task 2
1 day ago | 0.14 KB
PM: Shopify Assigning Design Task 1
1 day ago | 0.32 KB
Commodore Callback 8020
1 day ago | 0.18 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!