Questions tagged [dev-appserver]

83 questions
0
votes
1 answer

Google App Engine dispatch.yaml Unexpected attribute 'service'

I am having some trouble getting my dispatch.yaml file to run on the local devappserver. I have had two errors one seems to be related to indentation expecting , but found ? I can fix this by removing the indentation as shown below in my…
bobthemac
  • 1,172
  • 6
  • 26
  • 59
0
votes
1 answer

Execution of dev_appserver.py for google cloud platform does not finish execution

I'm following the quickstart tutorial at this page, listed as "Go to app engine" to set up a sever where I can execute php scripts With execution of the line dev_appserver.py…
Sam
  • 1,765
  • 11
  • 82
  • 176
0
votes
1 answer

Python 2.7.12 + dev_appserver.py does not suports java8

I'm trying to run an appengine module with the command below: $ python /usr/lib/google-cloud-sdk/platform/google_appengine/dev_appserver.py --max_module_instances = 1 --jvm_flag = "- agentlib: jdwp = transport = dt_socket, server = y, suspend = n,…
Thiago
  • 21
  • 4
0
votes
0 answers

CloudStorageTools::serve unable to find file

I'm using the dev_appserver.py to test out my application (it's still far from being ready to deploy). My application allows users to upload files which is working fine. However, when I go to serve those files, I'm running into problems. I'm serving…
cjc
  • 731
  • 3
  • 13
0
votes
1 answer

dev_appserver on cloud shell still runs after termination

I'm running a dev server using dev_appserver.py on google app engine via cloud shell. I'm doing so just like the tutorial for a first app says. But with my own Flask app that delivers static files (index.html + some js and css). It runs fine, but…
0
votes
1 answer

Prevent App Engine hot reload on change in PyCharm .idea folder

The App Engine local dev server reloads every time there's a change to files - which is cool. What's uncool is that it also reloads on changes in .idea folder of the PyCharm editor, cluttering the logs. Tried adding this to app.yaml: skip_files: -…
MeLight
  • 5,454
  • 4
  • 43
  • 67
0
votes
2 answers

Importing application models from Google cloud shell

I am very, very new to Google App Engine, but I need to administer a WebApp2 (so, Python) -based website that uses it. Specifically I need to filter a queryset and delete certain model instances. Building the site locally is fine. Locally I can get…
0
votes
1 answer

GAE datastore cached entities under Python objects

I have this code here: http://sprunge.us/TAjH?py Why am I getting 10 instead of 1 (or what is in the DB)? Also, any new retrieved python object (as entity) has the very same ID (and maybe even memory address). Why that? How should I proceed in order…
0
votes
1 answer

Launching dev_appserver.py from windows powershell gives me "too few arguments" error

I'm trying to run the dev_appserver.py command from windows powershell (I'm doing it inside the folder where I have a appl.yaml and main.py file). I'm running it with the following command: python "C:\Users\Dachshund\AppData\Local\Google\Cloud…
0
votes
1 answer

How to use Bpython with GAE remote_api_shell.py?

Basically I'm trying to get the Google App Engine remote_api_shell.py to look like this: Instead of looking like this: For some reason this works: $ python /usr/local/bin/remote_api_shell.py banded-advice-96618 but this does not work: $ bpython…
Alex Cory
  • 10,635
  • 10
  • 52
  • 62
0
votes
1 answer

Debug application on Jetty on Google App Engine (localhost)

I am trying to run a localhost Dev App Engine running my application via Jetty. As seen the Dev App Engine starts: [INFO] Sep 20, 2016 9:43:39 AM com.google.appengine.tools.development.AbstractModule startup [INFO] INFO: Module instance default is…
basickarl
  • 37,187
  • 64
  • 214
  • 335
0
votes
1 answer

Google datastore backup to local dev_appserver

I'm trying to follow those instructions: https://gist.github.com/jehna/3b258f5287fcc181aacf I've downloaded my backup, made the script go to the path but it seems like the code won't get into the loop "for record in reader:" on windows. I read about…
0
votes
1 answer

Where does App Engine dev_appserver store the datastore?

Google App Engine dev_appserver.py has an argument --datastore_path to specify where the datastore is saved. If you don't specify this, where is it saved by default? I would like to make a backup. I am running windows 8, but a similar question for…
0
votes
1 answer

AppEngine PHP environment in developement Error

I have got an error. using my "php.ini" in application root. as below... [php.ini] html_errors = "Off" display_errors = "Off" error_reporting = E_ALL ^ E_WARNING ^ E_NOTICE auto_prepend_file = "configure.php" [error] ERROR 2014-08-25…
codama
  • 27
  • 1
  • 6
0
votes
1 answer

Google App Engine Devserver + dispatch.yaml (gcloud)

I am trying to start my app using the new cloud SDK preview (gcloud preview app run DIRNAME) and the response is: INFO: Starting API server at: http://localhost:51695 INFO: Starting module "api" running at: http://localhost:8080 INFO: Starting…
noamcohen97
  • 453
  • 3
  • 13