Advertisement
Rybalka

Untitled

Sep 27th, 2023
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.96 KB | None | 0 0
  1. return sq.get()
  2. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 6884, in get
  3. return clone.execute(database)[0]
  4. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 1907, in inner
  5. return method(self, database, *args, **kwargs)
  6. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 1978, in execute
  7. return self._execute(database)
  8. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 2150, in _execute
  9. cursor = database.execute(self)
  10. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3157, in execute
  11. return self.execute_sql(sql, params, commit=commit)
  12. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3151, in execute_sql
  13. self.commit()
  14. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 2917, in __exit__
  15. reraise(new_type, new_type(exc_value, *exc_args), traceback)
  16. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 190, in reraise
  17. raise value.with_traceback(tb)
  18. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3151, in execute_sql
  19. self.commit()
  20. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3297, in commit
  21. return self._state.conn.commit()
  22. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 2917, in __exit__
  23. reraise(new_type, new_type(exc_value, *exc_args), traceback)
  24. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 190, in reraise
  25. raise value.with_traceback(tb)
  26. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3297, in commit
  27. return self._state.conn.commit()
  28. peewee.DatabaseError: error with status PGRES_TUPLES_OK and no message from the libpq
  29. 2023-09-27 07:45:27,658 | DEBUG | a3.a3jail.jail_blueprint | jail_blueprint.py:46 | 5239 | 5239 | CALL /trouble
  30. 2023-09-27 07:45:27,658 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:117 | 5239 | 5239 | Connecting to the Postgres
  31. 2023-09-27 07:45:27,658 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:117 | 5239 | 5239 | Connecting to the Postgres
  32. 2023-09-27 07:45:27,658 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:166 | 5239 | 5239 | Getting Event by : {Expression <<<UUIDField: EventPostgresModel.id> = 0df90da0-daae-4843-b2e8-5946d0ad1f0e>>}
  33. 2023-09-27 07:45:27,666 | ERROR | a3jail | app.py:1891 | 5267 | 5267 | Exception on /a3/welcome [GET]
  34. Traceback (most recent call last):
  35. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3144, in execute_sql
  36. cursor.execute(sql, params or ())
  37. psycopg2.DatabaseError: error with status PGRES_TUPLES_OK and no message from the libpq
  38. During handling of the above exception, another exception occurred:
  39. Traceback (most recent call last):
  40. File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2446, in wsgi_app
  41. response = self.full_dispatch_request()
  42. File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1951, in full_dispatch_request
  43. rv = self.handle_user_exception(e)
  44. File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1820, in handle_user_exception
  45. reraise(exc_type, exc_value, tb)
  46. File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
  47. raise value
  48. File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1949, in full_dispatch_request
  49. rv = self.dispatch_request()
  50. File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1935, in dispatch_request
  51. return self.view_functions[rule.endpoint](**req.view_args)
  52. File "<boltons.funcutils.FunctionBuilder-0>", line 2, in welcome
  53. File "/usr/local/lib/python3.7/site-packages/a3jail/device_middleware.py", line 60, in read_headers_and_set_requests_props
  54. return api_method(*args, **kwargs)
  55. File "/usr/local/lib/python3.7/site-packages/a3jail/jail_blueprint.py", line 31, in welcome
  56. event = jail_config.event
  57. File "/usr/local/lib/python3.7/site-packages/a3backbone/models/base_model.py", line 570, in __get__
  58. return get_model_by_name(self.model_klass_name).db_get_by_id(getattr(obj, self.linking_field_name))
  59. File "/usr/local/lib/python3.7/site-packages/a3backbone/models/base_model.py", line 172, in db_get_by_id
  60. return cls.db_get((cls.db_model.id == _id))
  61. File "/usr/local/lib/python3.7/site-packages/a3backbone/models/base_model.py", line 167, in db_get
  62. return cls.to_instance(cls.db_model.get(*query))
  63. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 6438, in get
  64. return sq.get()
  65. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 6884, in get
  66. return clone.execute(database)[0]
  67. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 1907, in inner
  68. return method(self, database, *args, **kwargs)
  69. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 1978, in execute
  70. return self._execute(database)
  71. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 2150, in _execute
  72. cursor = database.execute(self)
  73. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3157, in execute
  74. return self.execute_sql(sql, params, commit=commit)
  75. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3151, in execute_sql
  76. self.commit()
  77. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 2917, in __exit__
  78. reraise(new_type, new_type(exc_value, *exc_args), traceback)
  79. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 190, in reraise
  80. raise value.with_traceback(tb)
  81. File "/usr/local/lib/python3.7/site-packages/peewee.py", line 3144, in execute_sql
  82. cursor.execute(sql, params or ())
  83. peewee.DatabaseError: error with status PGRES_TUPLES_OK and no message from the libpq
  84. 2023-09-27 07:45:27,737 | DEBUG | urllib3.connectionpool | connectionpool.py:461 | 5249 | 5249 | http://sentry.flexline.ru:80 "POST /api/9/store/ HTTP/1.1" 200 41
  85. 2023-09-27 07:45:27,778 | DEBUG | a3.a3jail.jail_blueprint | jail_blueprint.py:46 | 5267 | 5267 | CALL /trouble
  86. 2023-09-27 07:45:27,778 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:117 | 5267 | 5267 | Connecting to the Postgres
  87. 2023-09-27 07:45:27,778 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:117 | 5267 | 5267 | Connecting to the Postgres
  88. 2023-09-27 07:45:27,779 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:166 | 5267 | 5267 | Getting Event by : {Expression <<<UUIDField: EventPostgresModel.id> = 0df90da0-daae-4843-b2e8-5946d0ad1f0e>>}
  89. 2023-09-27 07:45:27,873 | DEBUG | urllib3.connectionpool | connectionpool.py:461 | 5249 | 5249 | http://sentry.flexline.ru:80 "POST /api/9/store/ HTTP/1.1" 200 41
  90. 2023-09-27 07:45:28,026 | DEBUG | urllib3.connectionpool | connectionpool.py:461 | 5267 | 5267 | http://sentry.flexline.ru:80 "POST /api/9/store/ HTTP/1.1" 200 41
  91. 2023-09-27 07:45:28,194 | DEBUG | urllib3.connectionpool | connectionpool.py:461 | 5267 | 5267 | http://sentry.flexline.ru:80 "POST /api/9/store/ HTTP/1.1" 200 41
  92. 2023-09-27 07:45:41,807 | DEBUG | a3.a3jail.device_middleware | device_middleware.py:52 | 5263 | 5263 | Looking up a Device with MAC address 80:8a:bd:27:63:7e
  93. 2023-09-27 07:45:41,807 | DEBUG | a3.a3backbone.models.base_model.Device | base_model.py:117 | 5263 | 5263 | Connecting to the Postgres
  94. 2023-09-27 07:45:41,807 | DEBUG | a3.a3backbone.models.base_model.Device | base_model.py:166 | 5263 | 5263 | Getting Device by : {Expression <<<MACAddressField: DevicePostgresModel.mac_address> = 80:8a:bd:27:63:7e>>}
  95. 2023-09-27 07:45:41,812 | DEBUG | a3.a3jail.jail_blueprint | jail_blueprint.py:29 | 5263 | 5263 | CALL /welcome
  96. 2023-09-27 07:45:41,813 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:117 | 5263 | 5263 | Connecting to the Postgres
  97. 2023-09-27 07:45:41,813 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:117 | 5263 | 5263 | Connecting to the Postgres
  98. 2023-09-27 07:45:41,814 | DEBUG | a3.a3backbone.models.base_model.Event | base_model.py:166 | 5263 | 5263 | Getting Event by : {Expression <<<UUIDField: EventPostgresModel.id> = 0df90da0-daae-4843-b2e8-5946d0ad1f0e>>}
  99.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement