[Django]-Uwsgi: RuntimeError: cannot release un-acquired lock

3👍

Try removing py-call-osafterfork uwsgi config option.

Source: uwsgi github issue.

12👍

If you are using PyCharm, the issue might be solved by enabling Gevent compatibility. You can do this by navigating to Settings/Preferences > Build, Execution, Deployment > Python Debugger and then ticking the checkbox Gevent compatible.

Leave a comment