Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Another /logevent error #152

Open
munroebot opened this issue May 2, 2024 · 0 comments
Open

Another /logevent error #152

munroebot opened this issue May 2, 2024 · 0 comments

Comments

@munroebot
Copy link
Contributor

2024-05-01 18:50:52,292: Exception on /logevent [POST]
Traceback (most recent call last):
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 2529, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 1825, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 1823, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/flask/app.py", line 1799, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
  File "/home/ubuntu/ShopIdentifyer/identity/__init__.py", line 1190, in show_event_log
    insert_log_event(request)
  File "/home/ubuntu/ShopIdentifyer/identity/__init__.py", line 964, in insert_log_event
    cur.execute(sql_stmt, (stripe_id, rfid_token_hex, event_type, rfid_token_comment))
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/MySQLdb/cursors.py", line 206, in execute
    res = self._query(query)
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/MySQLdb/cursors.py", line 319, in _query
    db.query(q)
  File "/home/ubuntu/ShopIdentifyer/.venv/lib/python3.10/site-packages/MySQLdb/connections.py", line 254, in query
    _mysql.connection.query(self, query)
MySQLdb.OperationalError: (1048, "Column 'stripe_id' cannot be null")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant