Questions tagged [dev-appserver]
83 questions
0
votes
1 answer
Start datastore emulator and loading the older locally created datastore.db file
In the process of moving from python 2.7 to python 3 on GAE, we want to start moving the code with minimal risk. One approach that sounds good to us is to migrate our app pages and features in increments running along the Python 2.7 version until it…

Khaled
- 907
- 1
- 8
- 18
0
votes
1 answer
Minimal reproducible example of a django project using appengine task queue (dev_appserver.py)
I am trying to create a django project which uses AppEngine's task queue, and would like to test it locally before deploying (using gclouds dev_appserver.py`).
I can't seem to find resources that help in local development, and the closest thing was…

HitLuca
- 1,040
- 9
- 33
0
votes
1 answer
dev_appserver.py: Run init script from command line? (instead of interactive console)
After starting my app using dev_appserver.py --enable_console true my_app/, I go to localhost:8000, select the interactive console, and then run a Python script that initializes the datastore.
Is there a way to run this init script from the command…

feklee
- 7,555
- 9
- 54
- 72
0
votes
1 answer
local_db.bin not created. Data is stored in online Datastore
I am using the local GAE development server java_dev_appserver to debug my app. When using Datastore, it is suppose to store the data in a file called local_db.bin but instead it is storing the data in the Datastore of GAE online.
I'm not using a…

Johann
- 27,536
- 39
- 165
- 279
0
votes
1 answer
How can I fix Google App Engine dev_appserver.py: watcher_ignore_re flag "is not JSON serializable" error?
I wanna first point out that I tried every answers mentioned in this thread. None of these seem to fix the issue and the question already dates a while back.
Issue
I want to run the dev_appserver.py while adding certain files to the ignore list for…

Sebastien De Varennes
- 675
- 2
- 7
- 28
0
votes
0 answers
Local development with Google App Engine go111 using dev_appserver is slow
I am locally running a GAE go111 program using dev_appserver.py on a reasonably fast Windows10 desktop. I have to use dev_appserver as I'm running in classic compatibility mode by calling
appengine.Main()
I have an end point that I install…

AshF
- 205
- 2
- 6
0
votes
0 answers
dev_appserver.py is causing error while running python 2.7 project locally but working fine on GAE
Running dev_appserver.py is causing the error for Python 2.7 (Flask 1.1.1) project locally.
File "/Users/honeythakuria/Work/project/lib/pathlib2/__init__.py", line 5, in
import ctypes
File…

Honey Thakuria
- 223
- 3
- 16
0
votes
1 answer
Hosting project with dev_appserver.py gives different results to deploying to Google Cloud
The project is meant to take some user input and check the connected Google Datastore for a match. When hosted using dev_appserver.py everything works as intended.
This is not the case for the live version, uploaded with gcloud app deploy. The…

cdfizz7
- 3
- 1
0
votes
0 answers
Breakpoints don't work when running dev_appserver.py in local PyCharm
I'm building web application the following technologies.
PyCharm(2019.02)
Python(2.7)
Django
Google App Engine(for local development, I use dev_appserver.py)
And I would like to put breakpoints on my code on PyCharm to debug the application,…

Satoru Kikuchi
- 1,069
- 2
- 21
- 33
0
votes
1 answer
Bucket files still saved locally when using dev_appserver and --support_datastore_emulator=false
I'm running a local instance of a PHP app-engine project, I have got some buckets setup in GCP specifically for the local dev version, however instead of the data that I write to the bucket appearing online, they are being saved locally into the…

R0w13y
- 13
- 1
- 4
0
votes
2 answers
How to Run Wordpress Blog on Google App Engine Locally
Following the Wordpress on GAE tutorial, I have managed to successfully deploy my blog to App Engine.
However, I would like to be able to run my blog locally as I continue its development, so that I can inspect error logs, etc. Using the GAE dev…

kip2
- 6,473
- 4
- 55
- 72
0
votes
1 answer
ImportError: no module named wrapper_util
I am trying to test an a web app using google cloud sdk with python 2.7.
However, I get the error:
"C:\Users\Public\My_Project>dev_appserver.py app.yaml
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\Cloud…

Abu
- 1
0
votes
0 answers
dev_appserver.py fails to run when runtime is set to python37
I am running dev_appserver.py on runtime Python 3.7.1
My app.yaml is as follows.
runtime: python37
api_version: 1
threadsafe: true
handlers:
- url: /.*
script: main.app
builtins:
- appstats: on
When I run dev_appserver.py I get the…

Vinay Joseph
- 5,515
- 10
- 54
- 94
0
votes
1 answer
AppEngine's dev_appserver.py super slow to warm up
I updated AppEngine on my Mac (haven't done so in a while). dev_appserver used to start almost instantly (I have a very small website), but it now takes 30 seconds. After the first start, it is fast again if I turn it off then on. But if I switch to…

Thomas
- 8,306
- 8
- 53
- 92
0
votes
0 answers
GAE dev_appserver.py could not find search indexes on macOS Mojave
I've been trying to run a yaml file through dev_appserver.py, but it's giving me a few errors. I'm running this on the MacOS Mojave public beta and have tried a bunch of solutions such as running different hosts/ports and reinstalling the Google…