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?
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.
dev_appserver.py --help
. . , , --storage_path='some/path' localhost.
--storage_path='some/path'
:
--storage_path PATH path to the data (datastore, blobstore, etc.)
, admin_ports .
admin_ports
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