Questions tagged [google-app-engine]

Google App Engine is a cloud computing technology for hosting web applications in Google-managed data centers. Google App Engine is a Platform as a Service (PaaS) offering for Java, Python, Go, Node.js, and PHP in its standard environment. Runtimes for a few other languages as well as docker-based custom runtimes are supported in its flexible environment.

Filter by
Sorted by
Tagged with
540 votes
12 answers
167k views

What is the difference between Google App Engine and Google Compute Engine?

I was wondering what the difference between App Engine & Compute Engine are. Can anyone explain the difference to me?
Cameron Brown's user avatar
314 votes
19 answers
369k views

How can I use the variables from "views.py" in JavasScript, "<script></script>" in a Django template?

When I render a page using the Django template renderer, I can pass in a dictionary variable containing various values to manipulate them in the page using {{ myVar }}. Is there a way to access the ...
AlMcLean's user avatar
  • 3,499
304 votes
17 answers
284k views

How to use UTF-8 in resource properties with ResourceBundle

I need to use UTF-8 in my resource properties using Java's ResourceBundle. When I enter the text directly into the properties file, it displays as mojibake. My app runs on Google App Engine. Can ...
nacho's user avatar
  • 3,041
240 votes
14 answers
104k views

How to use Google App Engine with my own naked domain (not subdomain)?

After hours of reading about and experimenting with DNS records I can access my Google App Engine app via these URLs: myappid.appspot.com www.myappid.myowndomain.example What does not work: ...
Mark's user avatar
  • 5,331
238 votes
36 answers
600k views

Spring Boot - Cannot determine embedded database driver class for database type NONE

This is the error that is thrown when trying to run my web app: [INFO] WARNING: Nested in org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework....
quarks's user avatar
  • 34.4k
186 votes
8 answers
24k views

How to think in data stores instead of databases?

As an example, Google App Engine uses Google Datastore, not a standard database, to store data. Does anybody have any tips for using Google Datastore instead of databases? It seems I've trained my ...
Jim's user avatar
  • 11.3k
179 votes
22 answers
251k views

Why is my Python App Engine app using the Translate API getting an error of ImportError: No module named apiclient.discovery?

I got this error in Google App Engine's Python have used Google Translate API, But I don't know how to fix, <module> from apiclient.discovery import build ImportError: No module named apiclient....
Huy Tower's user avatar
  • 7,883
179 votes
16 answers
686k views

"Content is not allowed in prolog" when parsing perfectly valid XML on GAE

I've been beating my head against this absolutely infuriating bug for the last 48 hours, so I thought I'd finally throw in the towel and try asking here before I throw my laptop out the window. I'm ...
Adrian Petrescu's user avatar
162 votes
16 answers
72k views

Choosing Java vs Python on Google App Engine

Currently Google App Engine supports both Python & Java. Java support is less mature. However, Java seems to have a longer list of libraries and especially support for Java bytecode regardless of ...
Viet's user avatar
  • 18.1k
157 votes
9 answers
66k views

Google Cloud Bigtable vs Google Cloud Datastore

What is the difference between Google Cloud Bigtable and Google Cloud Datastore / App Engine datastore, and what are the main practical advantages/disadvantages? AFAIK Cloud Datastore is build on top ...
Andrei F's user avatar
  • 4,324
147 votes
8 answers
58k views

DistutilsOptionError: must supply either home or prefix/exec-prefix -- not both

I've been usually installed python packages through pip. For Google App Engine, I need to install packages to another target directory. I've tried: pip install -I flask-restful --target ./lib ...
Arthur Kim's user avatar
  • 1,791
140 votes
18 answers
149k views

How to delete a project from Google Cloud Console

It seems that, from Google Cloud Console there is no way to delete a project. Note: As of 2013-09-19 this is no longer an issue because Google had fixed it. - Now you can click on the check box ...
user7180's user avatar
  • 3,846
140 votes
2 answers
134k views

What does the 'u' symbol mean in front of string values? [duplicate]

Yes in short i would like to know why am I seeing a u in front of my keys and values. I am rendering a form. The form has check-box for the particular label and one text field for the ip address. I ...
user1488987's user avatar
  • 1,453
136 votes
12 answers
119k views

Deleting a Google App Engine application

Is it possible to delete an GAE application after it has been created? I made a mistake while typing the name and now have a dummy application that I haven't been able to remove.
Julio César's user avatar
  • 13.1k
134 votes
14 answers
323k views

Error parsing yaml file: mapping values are not allowed here

I want to upload an app to Google App Engine: I get this Error parsing yaml file: mapping values are not allowed here in "/home/antonio/Desktop/ATI/climate-change/app.yaml", line 2, column 8 ...
andandandand's user avatar
  • 22.2k
127 votes
11 answers
11k views

Feedback on using Google App Engine? [closed]

Looking to do a very small, quick 'n dirty side project. I like the fact that the Google App Engine is running on Python with Django built right in - gives me an excuse to try that platform... but my ...
agartzke's user avatar
  • 3,905
125 votes
12 answers
44k views

Google App Engine: Is it possible to do a Gql LIKE query?

Simple one really. In SQL, if I want to search a text field for a couple of characters, I can do: SELECT blah FROM blah WHERE blah LIKE '%text%' The documentation for App Engine makes no mention of ...
littlecharva's user avatar
  • 4,234
124 votes
15 answers
60k views

Securely storing environment variables in GAE with app.yaml

I need to store API keys and other sensitive information in app.yaml as environment variables for deployment on GAE. The issue with this is that if I push app.yaml to GitHub, this information becomes ...
Ben's user avatar
  • 5,304
124 votes
30 answers
84k views

How to delete all datastore in Google App Engine?

Does anyone know how to delete all datastore in Google App Engine?
user avatar
119 votes
6 answers
28k views

Project structure for Google App Engine

I started an application in Google App Engine right when it came out, to play with the technology and work on a pet project that I had been thinking about for a long time but never gotten around to ...
Chris Marasti-Georg's user avatar
119 votes
2 answers
120k views

Class JavaLaunchHelper is implemented in both. One of the two will be used. Which one is undefined [duplicate]

Have a simple Google App Engine Web Application Project on Eclipse Kepler on Mac OS X with java version "1.7.0_45" Running into the following : objc[5398]: Class JavaLaunchHelper is implemented in ...
Arunabh Das's user avatar
117 votes
5 answers
36k views

Flask vs webapp2 for Google App Engine

I'm starting new Google App Engine application and currently considering two frameworks: Flask and webapp2. I'm rather satisfied with built-in webapp framework that I've used for my previous App ...
Anton Moiseev's user avatar
109 votes
5 answers
263k views

HTTP Get with 204 No Content: Is that normal

Is it a normal occurrence for an HTTP GET Request to have a response with status code 204 - No Content? Like, is this semantically correct concerning what an HTTP GET is supposed to accomplish? I know ...
ecbrodie's user avatar
  • 11.6k
107 votes
12 answers
128k views

How do you validate a URL with a regular expression in Python?

I'm building an app on Google App Engine. I'm incredibly new to Python and have been beating my head against the following problem for the past 3 days. I have a class to represent an RSS Feed and in ...
Zee Spencer's user avatar
  • 3,488
102 votes
4 answers
30k views

When to choose App Engine over Cloud Functions?

Sorry, if this is a naive question, but i've watched bunch of talks from google's staff and still don't understand why on earth i would use AE instead of CF? If i understood it correctly, the whole ...
stkvtflw's user avatar
  • 12.9k
100 votes
3 answers
218k views

File path to resource in our war/WEB-INF folder?

I've got a file in my war/WEB-INF folder of my app engine project. I read in the FAQs that you can read a file from there in a servlet context. I don't know how to form the path to the resource though:...
user291701's user avatar
  • 39.1k
96 votes
8 answers
140k views

AmazonS3 putObject with InputStream length example

I am uploading a file to S3 using Java - this is what I got so far: AmazonS3 s3 = new AmazonS3Client(new BasicAWSCredentials("XX","YY")); List<Bucket> buckets = s3.listBuckets(); s3.putObject(...
JohnIdol's user avatar
  • 49.6k
95 votes
5 answers
58k views

How to transfer Google Cloud project ownership?

I would like to transfer ownership of Google Cloud project completely. By completely I mean rather than sharing ownership between multiple users, removing my account from project. Is there any way to ...
Gökhan Barış Aker's user avatar
92 votes
1 answer
52k views

Google app engine or amazon web services [closed]

I am a newbie to us cloud hosting. I want to know which is better to start with, either Google app engine or Amazon web service. My questions are: My application is based on java, Database is MySQL. ...
Shruti Basu's user avatar
  • 1,085
91 votes
19 answers
271k views

java.lang.ClassNotFoundException: com.sun.jersey.spi.container.servlet.ServletContainer

I am trying to build a simple hello world application for two days using Jersey + Google app engine. For simple AppEngine project I followed these tutorials and both works just fine https://developers....
M-Wajeeh's user avatar
  • 17.3k
91 votes
7 answers
12k views

When should one use the following: Amazon EC2, Google App Engine, Microsoft Azure and Salesforce.com? [closed]

I am asking this in very general sense. Both from cloud provider and cloud consumer's perspective. Also the question is not for any specific kind of application (in fact the intention is to know which ...
user32262's user avatar
  • 8,750
90 votes
8 answers
25k views

Why use Django on Google App Engine?

When researching Google App Engine (GAE), it's clear that using Django is wildly popular for developing in Python on GAE. I've been scouring the web to find information on the costs and benefits of ...
Travis Bradshaw's user avatar
89 votes
5 answers
41k views

Is there possibility to host multiple applications with Google App Engine?

Do I need to create for each new Google App Engine app new project? Or is there other way to have multiple apps in one project? EDIT: removed "extra question"
Maksim Luzik's user avatar
  • 6,283
87 votes
4 answers
212k views

Get root password for Google Cloud Engine VM

I just finished installing cPanel in a CentOS VM in Google Cloud Engine and cPanel said the default username is root and the default password is the server's root password. 2016-01-26 12:02:52 958 ( ...
Melvin M.'s user avatar
  • 3,410
87 votes
7 answers
226k views

Converting byte array to String (Java)

I'm writing a web application in Google app Engine. It allows people to basically edit html code that gets stored as an .html file in the blobstore. I'm using fetchData to return a byte[] of all the ...
Josh's user avatar
  • 871
87 votes
7 answers
42k views

How to browse local Java App Engine datastore?

It seems there is no equivalent of Python App Engine's _ah/admin for the Java implementation of Google App Engine. Is there a manual way I can browse the datastore? Where are the files to be found on ...
Jim Blackler's user avatar
  • 23.1k
86 votes
20 answers
185k views

Visual Studio Code pylint: Unable to import 'protorpc'

I'm using pylint in Visual Studio Code to develop a Google App Engine (GAE) Cloud Endpoint API in Python. I'm unable to resolve a lint error. I don't know what's causing the error, but at a guess, ...
Jack's user avatar
  • 10.5k
86 votes
10 answers
109k views

Built in Python hash() function

Windows XP, Python 2.5: hash('http://stackoverflow.com') Result: 1934711907 Google App Engine (http://shell.appspot.com/): hash('http://stackoverflow.com') Result: -5768830964305142685 Why is that?...
user avatar
86 votes
14 answers
36k views

JSON serialization of Google App Engine models

I've been searching for quite a while with no success. My project isn't using Django, is there a simple way to serialize App Engine models (google.appengine.ext.db.Model) into JSON or do I need to ...
user111677's user avatar
84 votes
10 answers
44k views

RESTful application on Google App Engine Java?

I would like to create a RESTful app on Google App Engine. I would like to provide XML and JSON services. I have briefly experimented with Restlet, Resteasy, and Jersey. I haven't had much success ...
JP Richardson's user avatar
83 votes
12 answers
29k views

JDO vs JPA for Java on Google App Engine

I want to develop my project on Google App Engine with Struts2. For the database I have two options JPA and JDO. Will you guys please suggest me on it? Both are new for me and I need to learn them. So ...
Tahir's user avatar
  • 3,464
82 votes
6 answers
32k views

How can I parse JSON in Google App Engine?

I'd like to parse a JSON string into an object under Google App Engine (python). What do you recommend? Something to encode/stringify would be nice too. Is what you recommend built in, or a library ...
Nogwater's user avatar
  • 2,797
82 votes
7 answers
27k views

When to use Google App Engine Flex vs Google Cloud Run

I want to deploy containerized code using one of Google's serverless options. From what I understand Google has two options for this: Google App Engine Flexible Environment Google Cloud Run (in beta)...
hlp's user avatar
  • 1,047
81 votes
11 answers
84k views

Upload files in Google App Engine

I am planning to create a web app that allows users to downgrade their visual studio project files. However, It seems Google App Engine accepts files uploading and flat file storing on the Google ...
Graviton's user avatar
  • 82.7k
78 votes
18 answers
76k views

Cannot set Java breakpoint in Intellij IDEA

I'm trying to put breakpoints into the GoogleAppEngine sources (SDK 1.7.0) but IDEA Ultimate (11.0.2) just keeps telling me Warning: No executable code found at line 482 in class com.google.appengine....
Alma Alma's user avatar
  • 1,691
76 votes
7 answers
205k views

UnicodeEncodeError: 'ascii' codec can't encode character u'\xef' in position 0: ordinal not in range(128)

I want to parse my XML document. So I have stored my XML document as below class XMLdocs(db.Expando): id = db.IntegerProperty() name=db.StringProperty() content=db.BlobProperty() ...
mahesh's user avatar
  • 4,713
75 votes
5 answers
37k views

How do I query in GQL using the entity key

How do I write a query against the entity key using GQL in the Google App Engine Data Viewer ? In the viewer, the first column (Id/Name) displays as name=_1, in the detail view it shows the key as ...
Thilo's user avatar
  • 260k
73 votes
8 answers
41k views

PyCharm logging output colours

I'm using PyCharm to develop a GAE app in Mac OS X. Is there any way to display colours in the run console of PyCharm? I've set a handler to output colours in ansi format. Then, I've added the ...
dablak's user avatar
  • 1,466
73 votes
8 answers
86k views

Spring - Redirect after POST (even with validation errors)

I'm trying to figure out how to "preserve" the BindingResult so it can be used in a subsequent GET via the Spring <form:errors> tag. The reason I want to do this is because of Google App Engine'...
Taylor Leese's user avatar
  • 51.6k

1
2 3 4 5
957