How to unlock application engine database when running localhost?

Now I get a blank page when starting localhost, but the deployed application is fine. Logs show that "database is locked." How to "unlock" a database for localhost?

+4
source share
3 answers

This can happen if you run multiple instances of dev_appserver without providing them with different data store files / directories. If you need to run multiple instances, see dev_appserver.py --helpand see the options for specifying paths / files.

+8
source

. . , , --storage_path='some/path' localhost.

:

 --storage_path PATH      path to the data (datastore, blobstore, etc.)

, admin_ports .

+5

I tried this and it worked, I noticed that when this happens, several pythonw.exe processes work in the process panel.

Go to command prompt, run the following command

taskkill /f /im pythonw.exe 

Reload application from application

+2
source

All Articles