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

使用uwsgi部署时有且仅有创建会议室接口报错 #26

Open
charliezhang6 opened this issue May 8, 2023 · 0 comments
Open

Comments

@charliezhang6
Copy link

使用django自带的runserver一切正常,uwsgi只有这个接口报错
TransactionManagementError at /api/meeting/room/create
An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.

Request Method: POST
https://zjupolymer.top/api/meeting/room/create
3.2.18
TransactionManagementError
An error occurred in the current transaction. You can't execute queries until the end of the 'atomic' block.
/usr/local/lib/python3.6/site-packages/django/db/backends/base/base.py, line 448, in validate_no_broken_transaction
/usr/local/bin/uwsgi
3.6.8
['.', '', '/usr/lib64/python36.zip', '/usr/lib64/python3.6', '/usr/lib64/python3.6/lib-dynload', '/usr/local/lib64/python3.6/site-packages', '/usr/local/lib/python3.6/site-packages', '/usr/lib64/python3.6/site-packages', '/usr/lib/python3.6/site-packages']
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