| 1 | |
| 2 | ------------------------------------------------------------------------------- |
| 3 | 400 _pooled dispatcher.py |
| 4 | > self.dispatch_error(promise.update, promise.exception, promise=promise) |
| 5 | |
| 6 | --- |
| 7 | |
| 8 | 813 dispatch_error dispatcher.py |
| 9 | > callback(update, context) |
| 10 | |
| 11 | --- |
| 12 | |
| 13 | 258 error_callback __main__.py |
| 14 | > raise error |
| 15 | |
| 16 | --- |
| 17 | |
| 18 | 96 run promise.py |
| 19 | > self._result = self.pooled_function(*self.args, **self.kwargs) |
| 20 | |
| 21 | --- |
| 22 | |
| 23 | 240 is_not_admin chat_status.py |
| 24 | > return func(update, context, *args, **kwargs) |
| 25 | |
| 26 | --- |
| 27 | |
| 28 | 360 del_lockables locks.py |
| 29 | > if is_approved(chat.id, user.id): |
| 30 | |
| 31 | --- |
| 32 | |
| 33 | 36 is_approved approve_sql.py |
| 34 | > return SESSION.query(Approvals).get((str(chat_id), user_id)) |
| 35 | |
| 36 | --- |
| 37 | |
| 38 | 2 get <string> |
| 39 | > |
| 40 | |
| 41 | --- |
| 42 | |
| 43 | 468 warned deprecations.py |
| 44 | > return fn(*args, **kwargs) |
| 45 | |
| 46 | --- |
| 47 | |
| 48 | 947 get query.py |
| 49 | > return self._get_impl(ident, loading.load_on_pk_identity) |
| 50 | |
| 51 | --- |
| 52 | |
| 53 | 951 _get_impl query.py |
| 54 | > return self.session._get_impl( |
| 55 | |
| 56 | --- |
| 57 | |
| 58 | 2970 _get_impl session.py |
| 59 | > return db_load_fn( |
| 60 | |
| 61 | --- |
| 62 | |
| 63 | 530 load_on_pk_identity loading.py |
| 64 | > session.execute( |
| 65 | |
| 66 | --- |
| 67 | |
| 68 | 1713 execute session.py |
| 69 | > conn = self._connection_for_bind(bind) |
| 70 | |
| 71 | --- |
| 72 | |
| 73 | 1552 _connection_for_bind session.py |
| 74 | > return self._transaction._connection_for_bind( |
| 75 | |
| 76 | --- |
| 77 | |
| 78 | 721 _connection_for_bind session.py |
| 79 | > self._assert_active() |
| 80 | |
| 81 | --- |
| 82 | |
| 83 | 601 _assert_active session.py |
| 84 | > raise sa_exc.PendingRollbackError( |
| 85 | |
| 86 | sqlalchemy.exc.PendingRollbackError: |
| 87 | This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (psycopg2.errors.InsufficientPrivilege) permission denied for table users |
| 88 | |
| 89 | [SQL: INSERT INTO users (user_id, username) VALUES (%(user_id)s, %(username)s)] |
| 90 | [parameters: {'user_id': 6008173210, 'username': 'fnxuzz'}] |
| 91 | (Background on this error at: https://sqlalche.me/e/14/f405) |
| 92 | |
| 93 | ------------------------------------------------------------------------------- |
| 94 | An exception was raised while handling an update |
| 95 | User: 5138323194 |
| 96 | Chat: Β° π πππ πΉπΆππΎππ π Β° -1001554631680 |
| 97 | Callback data: None |
| 98 | Message: ααΌαα·αΊαα°αΈ |
| 99 | |
| 100 | Full Traceback: Traceback (most recent call last): |
| 101 | File "/app/.heroku/python/lib/python3.11/site-packages/telegram/ext/dispatcher.py", line 400, in _pooled |
| 102 | self.dispatch_error(promise.update, promise.exception, promise=promise) |
| 103 | File "/app/.heroku/python/lib/python3.11/site-packages/telegram/ext/dispatcher.py", line 813, in dispatch_error |
| 104 | callback(update, context) |
| 105 | File "/app/FallenRobot/__main__.py", line 258, in error_callback |
| 106 | raise error |
| 107 | File "/app/.heroku/python/lib/python3.11/site-packages/telegram/ext/utils/promise.py", line 96, in run |
| 108 | self._result = self.pooled_function(*self.args, **self.kwargs) |
| 109 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 110 | File "/app/FallenRobot/modules/helper_funcs/chat_status.py", line 240, in is_not_admin |
| 111 | return func(update, context, *args, **kwargs) |
| 112 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 113 | File "/app/FallenRobot/modules/locks.py", line 360, in del_lockables |
| 114 | if is_approved(chat.id, user.id): |
| 115 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 116 | File "/app/FallenRobot/modules/sql/approve_sql.py", line 36, in is_approved |
| 117 | return SESSION.query(Approvals).get((str(chat_id), user_id)) |
| 118 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 119 | File "<string>", line 2, in get |
| 120 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/util/deprecations.py", line 468, in warned |
| 121 | return fn(*args, **kwargs) |
| 122 | ^^^^^^^^^^^^^^^^^^^ |
| 123 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 947, in get |
| 124 | return self._get_impl(ident, loading.load_on_pk_identity) |
| 125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 126 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/query.py", line 951, in _get_impl |
| 127 | return self.session._get_impl( |
| 128 | ^^^^^^^^^^^^^^^^^^^^^^^ |
| 129 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 2970, in _get_impl |
| 130 | return db_load_fn( |
| 131 | ^^^^^^^^^^^ |
| 132 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/loading.py", line 530, in load_on_pk_identity |
| 133 | session.execute( |
| 134 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 1713, in execute |
| 135 | conn = self._connection_for_bind(bind) |
| 136 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 137 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 1552, in _connection_for_bind |
| 138 | return self._transaction._connection_for_bind( |
| 139 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 140 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 721, in _connection_for_bind |
| 141 | self._assert_active() |
| 142 | File "/app/.heroku/python/lib/python3.11/site-packages/sqlalchemy/orm/session.py", line 601, in _assert_active |
| 143 | raise sa_exc.PendingRollbackError( |
| 144 | sqlalchemy.exc.PendingRollbackError: This Session's transaction has been rolled back due to a previous exception during flush. To begin a new transaction with this Session, first issue Session.rollback(). Original exception was: (psycopg2.errors.InsufficientPrivilege) permission denied for table users |
| 145 | |
| 146 | [SQL: INSERT INTO users (user_id, username) VALUES (%(user_id)s, %(username)s)] |
| 147 | [parameters: {'user_id': 6008173210, 'username': 'fnxuzz'}] |
| 148 | (Background on this error at: https://sqlalche.me/e/14/f405) (Background on this error at: https://sqlalche.me/e/14/7s2a) |
| 149 | |
| 150 | |