Questions tagged [dev-appserver]

83 questions
1
vote
1 answer

Google App Engine, dev_appserver.py: WindowsError: [Error 2] The system cannot find the file specified

I'm trying to run the Google App Engine local development server (dev_appserver.py), using the following command: python3 "C:\Users\myusername\AppData\Local\Google\Cloud SDK\google-cloud-sdk\bin\dev_appserver.py"…
1
vote
2 answers

Unable to Debug Dev Appserver using pycharm, but able to run fine

Attempting to run a python 2.7 app engine app locally using PyCharm (which uses dev_appserver) my machine is python 3.7 but I have a python 2.7 virtual env setup as the project interpreter, which works fine when running the project. However when…
Jack Tidbury
  • 183
  • 1
  • 1
  • 12
1
vote
2 answers

AppIdentityService::getApplicationId return "None"

I am trying to setup local development on my computer and have had some success. I can start the local server with dev_appserver.py and can access my local MySQL server through my php app. I'm a noob with gcp, but have many years of…
1
vote
1 answer

How to set-up Visual Code to debug GAE apps that use dev_appserver.py

Over the years there have been various approaches to getting GAE dev_appserver.py to run/debug under MSVC. Running is easy enough but any breakpoints set are ignored unless workarounds/configuration files are added. In 2019, how does one get Visual…
Carl
  • 2,896
  • 2
  • 32
  • 50
1
vote
1 answer

Google Cloud: dev_appserver.py doesn't reflect live changes

I'm developing a web app to deploy on Google Cloud's App Engine. When I make some changes dev_appserver.py sees them (console says Detected file changes) but those change don't go live, i.e. even if I refresh the page I still see the old code. For…
1
vote
0 answers

dev_appserver.py issue with cloud endpoints framework and grpcio

When attempting to pull in the grpcio library along with Cloud Endpoints Framework, it causes an error when running it through dev_appserver.py. When these changes are pushed to Google Cloud Platform App Engine the error does not present itself. I…
1
vote
1 answer

Python submodule import error (Google App Engine dev_appserver.py)

I have the following code in appengine_config.py: ... import six print six.__version__ print six.moves import six.moves The output is as follows: 1.11.0 ERROR 2018-04-17 10:51:19,875 wsgi.py:263] Traceback (most…
1
vote
2 answers

Appengine multiple modules local dev - Java

I have 3 java modules using Google Appengine Standard: The first one module uses Java 7 with Servlet 2.5 + web.xml + Spring 4 The second module uses Java 8 with Servlet 3.1 without web.xml + Spring 5 using WebApplicationInitializer. The third module…
javaTry
  • 1,085
  • 2
  • 18
  • 30
1
vote
0 answers

App Engine no output in browser

Running app engine local server with a Wordpress for App Engine build and using a Sage theme. Installed all dependencies and gulp build task seems to run ok. Then run dev_appserver.py and check browser (Chrome) at localhost:8080. Browser shows blank…
TimothyAURA
  • 1,329
  • 5
  • 21
  • 44
1
vote
1 answer

NDB Query builder doesn't work as expected

I have the following query in my application query = cls.query().filter(cls.taskgroup_id == taskgroup_id, cls.availability == True, cls.task_id > min_task_id).order(cls.task_id) query.fetch(1) Above works fine as expected. (Fetches only those…
1
vote
1 answer

Delete local data generated by Google App Engine's dev_appserver.py

I run my application locally using dev_appserver.py using the following command dev_appserver.py mydir --port=xxxx Is there a way to delete all the local data generated by app engine server. Currently, I go to localhost:8000/datastore, and delete…
user462455
  • 12,838
  • 18
  • 65
  • 96
1
vote
1 answer

MySQLdb installation troubles

*My larger problem is that I cannot launch a web application using dev_apperver.py from my command line* However, I also cannot install MySQLdb as well. Joes-MacBook-Pro:MySQL-python-1.2.3 MoeJancini$ python setup.py build sh: mysql_config:…
Moe Jan
  • 369
  • 1
  • 4
  • 16
0
votes
2 answers

Migrating App Engine project to Cloud NDB: local dev_appserver accessing production cloud rather than local datastore

I am trying to migrate a Python 2.7 App Engine project from NDB to Cloud NDB as part of the migration process to Python 3. After following the Cloud NDB migration instructions, just running the dev_appserver as before now results in accessing the…
Dev93
  • 668
  • 1
  • 6
  • 18
0
votes
0 answers

Lost Global python variable in Google Cloud

This all works locally, but fails in the dev_appserver.py. I have a global variable to keep track of run status in a Flask app. The variable and all the function below are in the same file. # Global Variable to keep track of when each run is…
0
votes
1 answer

How do I force dev_appserver to reference local data?

I've been using dev_appserver for years for local Python 2.7 development. The datastore is created locally and just works as expected. I'm now migrating to Cloud Datastore and the default behavior appears to be that it accesses my production…
motoaddict
  • 17
  • 7