Right now I get a blank page when localhost runs, but the deployed app is fine. The logs show the "database is locked". How do I "unlock" the database for localhost?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
I tried this and it worked, I noticed that when this happens, there are multiple pythonw.exe processes working in the process bar.
Go to command prompt, run the following
Restart your application from the app launcher
This can happen if you're running multiple instances of dev_appserver without giving them distinct datastore files/directories. If you need to be running multiple instances, see
dev_appserver.py --help
and look at the options for specifying paths/files.Dave W. Smith has the right idea. I had this same issue and looking into the docs you need to set the
--storage_path='some/path'
to be different for each instance of the localhost.From the Docs:
Also, different port and
admin_ports
have to be set to run the two instances.