[google-appengine] Lost access to Google Cloud groups?

2022-05-12 Thread Sam G
*Could a Googler drop me a line 1:1?* We switched email services and I've 
now lost access to my previous Google Groups :(

I was in a few insiders programs and I owe some feedback, and am hoping to 
get support especially with I/O 2022 coming to a close :). Congrats on all 
the launches, as well!!

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/78860332-5cec-4dcc-8405-c944a42a19den%40googlegroups.com.


[google-appengine] Custom Domain Latency

2020-07-14 Thread Sam Bender
Hi,

I initialized my project with App Engine in the us-west2 region. I did not 
know "Using custom domains might add noticeable latency to responses" 
<https://cloud.google.com/appengine/docs/standard/python/mapping-custom-domains>.
 
Anyone know how much latency this will be? If it is significant I guess I'm 
going to have to create a new project because I can't change the region of 
App Engine once it's set.

Thanks,
Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/144dbbf8-0dee-462b-a55d-1792699be634n%40googlegroups.com.


[google-appengine] Re: setting headers - X-Frame-Options

2019-09-04 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi,

As far as I know, our public doc doesn't make any reference for 
X-Frame-Options [1]. Also this might not be something App Engine allows on 
thee client side per this StackExchange answer [2]. But from my research I 
see that this is the syntax for setting the header in the 
`appengine-web.xml` file:





For further concerns like adding the headers in the response for the case 
'http://localhost:' I would recommend seeking coding assistance on 
www.stackoverflow.com or any other similar forum.

[1] https://cloud.google.com/appengine/docs/standard/java/config/appref
[2] https://security.stackexchange.com/a/167082

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/51f24de9-558a-4cc8-8b28-087a61580d99%40googlegroups.com.


[google-appengine] Re: flex env concurrent requests

2019-07-12 Thread 'Sam (Google Cloud Support)' via Google App Engine
Note that you are only using "manual_scaling: instances: 1". Therefore you 
only have one instance to accept requests.

The web server (Nginx) in front of your application code accepts the 
request from the load balancer and attempts to route it to your proper 
service in your code. If your code is too busy to respond (meaning it is 
blocking on an older request) the Nginx proxy will timeout (after retires) 
and tell the Load Balancer "502 Bad Gateway". It is then up to the client 
to retry sending requests until your application code is free to accept new 
requests.

- Therefore it is recommended to ensure that your application never blocks 
on a single request and is able to handle concurrent requests. As per the 
documentations [1], the default Python Gunicorn config only uses one worker 
which is only able to handle a single request (aka no concurrent requests). 
It is therefore recommended to increases the number of workers as explained 
in [1] and to use ASYNC workers to allow your single instance to accept 
concurrent requests.

- Once your single instance is able to handle more requests it may then 
become over-worked (depending on your amount of incoming traffic) and 
bottleneck on the CPU. It is then recommended to either increase the 
instance resources and/or use more than one instance (normally automatic 
scaling is recommended for high traffic applications). 

[1] 
https://cloud.google.com/appengine/docs/flexible/python/runtime#recommended_gunicorn_configuration
[2] http://docs.gunicorn.org/en/latest/design.html#async-workers 


-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/28f55723-9b42-4b59-b6d8-64d31e5e7ba0%40googlegroups.com.


[google-appengine] Re: Cloud Build for Google App Engine - Flexible is failing with a generic 'exit status 1' - debug output shows issue in python files

2019-06-19 Thread 'Sam (Google Cloud Support)' via Google App Engine
I've posted a comment on your StackOverflow question requesting more 
information. Kindly refer to that forum for further support. Thanks for 
your patience.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d22bc2ab-fbb6-47fd-b718-ee27d169537c%40googlegroups.com.


[google-appengine] Re: Problem deploying Django on flexible environment

2019-06-10 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi, did you specify the path to your app.yaml configuration file? Check to 
see that you are either executing the deploy command from the directory 
containing the app.yaml, or retry the command specifying the path to the 
app.yaml file adding the '--verbosity' flag set to 'debug' to output a 
debugging log like so:

gcloud app deploy ~/[FILE-PATH]/[TO-YOUR]/app.yaml --verbosity=debug

If that still fails, provide your app.yaml here making sure you've redacted 
any sensitive information. Also provide reproduction steps or any workflow 
(public documentation) you are following.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/a4e5f764-db0a-4c8d-9e2c-f16e855134bc%40googlegroups.com.


[google-appengine] Re: Can I deploy and App Engine App inside App Engine without needing another VM

2019-06-07 Thread 'Sam (Google Cloud Support)' via Google App Engine
Oh, I think I understand your request now. First of all, you cannot run 
commands from within App Engine VMs as these are Google-managed instances. 
You simply don't have access to download the Cloud SDK inside the VMs for 
running glcoud or gsutil commands from within them, not even from App 
Engine Flex which offers some level of access to the VM instance.

But if you looking for a way to script/automate App Engine app deployments? 
I can recommend two options for that:

1) Google Cloud Functions:
This is an event-driven serverless-compute platform that will allow you to 
deploy lightweight scripts to abstract out your app deployments for your 
prepackaged deployment files [1]. You won't be spinning up a VM instance 
for this so you can save a lot of cost this way, also as GCF has a 
free-tier for compute resource usage [2]. 

I'm not sure if you misspoke about using Datastore (which is a NoSQL 
database - not a viable option) but you can definitely use Google Cloud 
Storage (object storage) as a repository for your app files for which you 
can deploy a function that runs gsutil cp to upload packaged files to your 
GCS repo, and a function that listens to changes to this GCS repo and then 
runs gcloud app deploy to deploy the new app version with the --no-promote 
and --version flags configured the way that suits. Take a look at this 
tutorial for more on GCS and GCF integration [3].

2) Google Cloud Repository integrating with Google Cloud Build and App 
Engine. This uses the Google's cloud-native source code repo [4] (which can 
connect with other hosted repos) to supply new commits to Cloud Build which 
automates new builds of your app in a customizable (scripted) fashion [5] 
and then deploys new builds to App Engine.

Below is a walkthrough on how to automatically deploy an application stored 
in Cloud Source Repositories to App Engine when there is a new commit [6].

Consider these two options for a method to abstract away the computing 
resources. There are other Continuous Delivery options you could consider 
if you want to get even fancier (or not) [7].

[1] Google Cloud Functions: https://cloud.google.com/functions/
[2] Cloud Functions pricing: 
https://cloud.google.com/functions/pricing#cloud_functions_pricing
[3] Cloud Storage trigger function: 
https://cloud.google.com/functions/docs/tutorials/storage
[4] Cloud Source Repositories: https://cloud.google.com/source-repositories/
[5] Cloud Build: https://cloud.google.com/cloud-build/
[6] Automating App 
Deployments: 
https://cloud.google.com/source-repositories/docs/quickstart-triggering-builds-with-source-repositories
[7] Other CD options: 
https://cloud.google.com/solutions/continuous-delivery/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/46dd0977-29d9-4cf4-b426-64512d5147cf%40googlegroups.com.


[google-appengine] Re: Can I deploy and App Engine App inside App Engine without needing another VM

2019-06-06 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi, I'm not quite sure what you mean by deploying an App Engine app without 
needing another VM, but what I understand about your idea for testing new 
versions of your app's source code is that you would benefit from A/B 
testing. App Engine allows you to split traffic or migrate traffic between 
versions of your application [1][2]. One way would be to indicate the 
version name/number for the new version of the app with the '--version' 
flag and also indicate that you wouldn't like it to start serving traffic 
yet with the '--no-promote' flag. This way you can incrementally migrate 
traffic from the old version to the new version to test its behavior before 
finally migrating or rolling back depending on the results. Here's an 
article in our official docs to help get you started with testing your app 
[3]. Note that there won't be an additional instance being used as long as 
the new version is not serving traffic, but you can set minTotalInstances 
for the new version to the number needed to handle expected traffic. More 
options on configuring your app.yaml file here [4]. 

Hope this helps to answer your questions.

[1] https://cloud.google.com/appengine/docs/flexible/go/splitting-traffic
[2] https://cloud.google.com/appengine/docs/flexible/go/migrating-traffic
[3] 
https://cloud.google.com/appengine/docs/flexible/python/testing-and-deploying-your-app
[4] https://cloud.google.com/appengine/docs/flexible/go/reference/app-yaml

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/94d94a80-6690-431a-9d65-7921788e92a9%40googlegroups.com.


[google-appengine] Re: Firebase Cloud functions express ip location

2019-05-28 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi, as already noted, 'fastly-client-ip' is the header to use. According to 
this Stackoverflow post [1], the Firebase Cloud Functions docs points to 
using 'fastly-client-ip' [2]. 

Google Cloud Platform is a different platform for Cloud Functions which 
runs in App Engine, see this Stackoverflow post [3]. So if you are using a 
Firebase Cloud Function then using the 'x-forwarded-for' or 'fastly-client-ip' 
should be the headers to use.

[1] https://stackoverflow.com/a/51850187
[2] https://www.npmjs.com/package/request-ip#how-it-works
[3] https://stackoverflow.com/a/37530362

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/03153ef0-f986-4785-bf6d-ac05b0ae1a98%40googlegroups.com.


[google-appengine] Re: Are Allocated IDs for child entities guaranteed to be unique?

2019-05-22 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi, each System-allocated ID values are guaranteed unique to the entity 
group. As our docs state here [1]: "Each entity in a Datastore mode 
database has a key that uniquely identifies it."

If you copy an entity from one entity group or namespace to another and 
wish to preserve the ID part of the key, be sure to allocate the ID first 
to prevent Datastore from selecting that ID for a future assignment [2]. 
This might be applicable to the issue you are facing.

Note that you can create an entity without specifying an ID, in which case 
datastore automatically generates a numeric ID. If you choose to specify 
some IDs and then let Cloud Datastore automatically generate some IDs, you 
could violate the requirement for unique keys. Is this what's happening in 
your case? To avoid this, reserve a range of numbers to use to choose IDs 
or use string IDs to avoid this issue entirely as our docs suggests [3].

I hope this answers your question and helps you to resolve the issue.

[1] https://cloud.google.com/datastore/docs/concepts/entities
[2] https://cloud.google.com/datastore/docs/concepts/entities#entity_groups
[3] 
https://cloud.google.com/appengine/docs/standard/python/ndb/creating-entity-keys#numeric_keys

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c18022f2-44fe-4991-835b-831ab9b09c63%40googlegroups.com.


[google-appengine] Re: operational error - attempt to write a readonly database

2019-05-15 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hello Rahul,

Thank you for reporting this issue. Do you mean that the app deployment 
command fails with that error or something else? You might have encountered 
a known permissions/file path issue, but to validate that you may have to 
provide a stack trace or debugging log from your deployment command. 

Here is a similar issue and how it was resolved in our Public Issues 
Tracker tool [1]. Kindly have a look and give that a try and see if that 
resolution helps. If not, please provide more details on your method, 
workflow, documentation followed and debugging logs and we can help to 
troubleshoot or create an Issue Tracker in our PIT tool.

Thank you! 

[1] https://issuetracker.google.com/68329274

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fc2996b7-1b85-4a4f-b654-6e9b819a3559%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine old instances still running

2019-05-14 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi Dimitry,

A workaround was found for this issue.

The problem was that the "old versioned" instances were still running, so 
upon deploying a new version of your app, specifying the version ID as the 
"old version" like so [1]:

gcloud app deploy --project PROJECT_ID --version VERSION_ID


the old version will be moved to "stopping" state as the new version takes 
on "starting" state with the previously used version ID. Try the following 
to resolve the issue:

1. Filter version IDs of the "zombie" instances from the logs
2. Then deploy the new version with the version ID of "zombie" instance. 
3. If you have a script for automating deployments, reconfigure it to use 
fixed "version ID" to prevent same issue in future.

Once deploy, you should notice in the dashboard's "instances" view the 
result of the recent changes. If this doesn't resolve your issue, then 
provide more details on your method and description of the behavior in our 
Public Issues Tracker tool and we will investigate the issue further there 
[2].

I hope this helps.

[1] specifying version: 
https://cloud.google.com/sdk/gcloud/reference/app/deploy#--version
[2] public issue tracker tool: https://issuetracker.google.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/40f3b39d-b364-4e2f-b1a5-cd74d859881f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Error 302 running cron and login:admin in app.yaml in google app engine

2018-10-31 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi,

Notice that the URL you run in chrome  (
https://myappname.appspot.com/hellocron) is SSL protected. It could be that 
the URL which cron is using is 'http' which outputs the 302. So the request 
to 'http' is being redirected 'https'.

As you have set 'login: admin' for your cron job handler in the app.yaml to 
secure this particular URL from unauthorized third parities, you will have 
to disable the HTTPS requirements specifically for the cron URL in your 
application's SSL configuration [1][2]. This article also discusses a 
similar issue from a GAE Java app perspective [3].

[1] 
https://cloud.google.com/appengine/docs/standard/python/config/appref#handlers_secure
 
[2] 
https://cloud.google.com/appengine/docs/standard/python/securing-custom-domains-with-ssl
[3] http://dlinsin.blogspot.com/2009/08/cron-jobs-on-google-app-engine.html

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9fa6269f-5e9b-42ba-8e24-b8cfd14cd346%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: What are the steps for creating new SSL Certificate and deploy on app engine - java

2018-10-15 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hello,

The third comment (by @LouisLC) on the answer to the Stackoverflow question 
you linked addresses how the user generated the Certificate Signing 
Request, and the steps that followed afterward to upload it to Google App 
Engine. If you require further clarification on this, I suggest you follow 
the steps outlined in our public documentations [1][2]. Alternatively you 
could post a follow up comment on that Stackoverflow thread [3].

[1] 
https://cloud.google.com/load-balancing/docs/ssl-certificates#working-self-managed
[2] 
https://cloud.google.com/appengine/docs/standard/go/securing-custom-domains-with-ssl#obtaining_a_certificate
[3] https://stackoverflow.com/a/11321367

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/e8a7902a-0a4c-444c-b258-a5d900cd1d05%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Static cache not expiring since yesterdays outage

2018-10-14 Thread Sam Edge
Follow up:

Wasn't anything to do with the outage - just a coincidence. Found this in 
the docs:

The expiration time will be sent in the Cache-Control and Expires HTTP 
response headers, and therefore, the files are likely to be cached by the 
user's browser, as well as by intermediate caching proxy servers such as 
Internet Service Providers. After a file is transmitted with a given 
expiration time, there is generally *no way* to clear it out of 
intermediate caches, even if the user clears their own browser cache. 
Re-deploying a new version of the app will *not* reset any caches. 
Therefore, if you ever plan to modify a static file, it should have a short 
(less than one hour) expiration time. In most cases, the default 10-minute 
expiration time is appropriate.

So I accidentally set some static files I wanted to redeploy with a long 
expiration -- not sure to expire until November 10th.

I was planning to release my project this week but this is a blocker. 
Anyone been in this spot before?

On Saturday, October 13, 2018 at 2:47:59 PM UTC+10:30, Sam Edge wrote:
>
> Since yesterdays outage (
> https://status.cloud.google.com/incident/cloud-networking/18016), the 
> static files on my AppEngine Standard PHP55 deploys are stale. 
>
> For instance:
>
>
> runtime: php55
> api_version: 1
>
>
> default_expiration: "28d"
>
>
> handlers:
> - url: /build
> static_dir: build
>
>
> Usually when this sort of thing happen you can deploy a new version of 
> your service and it busts any cache issue but I must have tried a dozen 
> times and nothing happening. And yes I've definitely been cleaning my local 
> caches ;)
>
> I also changed the bucket used when deploying for a clean upload but no 
> difference.
>
> *gcloud app deploy --version next --bucket gs://test-bucket-empty*
>
> Overnight my application started serving the right files again but when I 
> deployed it reverted back to the stale cache it was serving yesterday.
>
> I note that in the outage that Google Storage was affected, so I assume 
> they are still mitigating the issue. 
>
> Just putting this out there - is anyone else experiencing this or am I 
> going mad?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c47ca344-033f-4cc5-a526-a8fe7eaa9c6d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Static cache not expiring since yesterdays outage

2018-10-12 Thread Sam Edge
Since yesterdays outage 
(https://status.cloud.google.com/incident/cloud-networking/18016), the 
static files on my AppEngine Standard PHP55 deploys are stale. 

For instance:


runtime: php55
api_version: 1


default_expiration: "28d"


handlers:
- url: /build
static_dir: build


Usually when this sort of thing happen you can deploy a new version of your 
service and it busts any cache issue but I must have tried a dozen times 
and nothing happening. And yes I've definitely been cleaning my local 
caches ;)

I also changed the bucket used when deploying for a clean upload but no 
difference.

*gcloud app deploy --version next --bucket gs://test-bucket-empty*

Overnight my application started serving the right files again but when I 
deployed it reverted back to the stale cache it was serving yesterday.

I note that in the outage that Google Storage was affected, so I assume 
they are still mitigating the issue. 

Just putting this out there - is anyone else experiencing this or am I 
going mad?

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8c03fba2-7a68-4df7-b111-f185593403c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App Engine Update Code Error

2018-09-21 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hello, I could use a little more information (e.g. stack trace, debugging 
log, screenshots, Google Cloud SDK version) to provide guidance here. 
However, I'll suggest a few reasons you encountered this along with some 
solutions I've seen:

1) you ran 'gcloud app deploy' and you are using a deprecated version of 
the SDK (run 'gcloud version' to check)

   - run 'gcloud components update' to upgrade to the latest Google Cloud 
   SDK [1]. At the time of this post the latest Google Cloud SDK version is 
   217.0 [2]
   - rerun 'gcloud app deploy --verbosity=debug' command (assuming you used 
   this) to deploy your app [3]. Take note of the verbosity flag to output a 
   debugging log [4].
   - A workaround I have seen is running 'gcloud config set 
   app/use_deprecated_preparation True'. Once that property is set, rerun the 
   deployment. Note that I haven't tested if this works but it worked for some 
   others on this thread in GitHub [5].

2) you are running into some limitation and using 'appcfg.py update 
[DEPLOYMENTS]' to deploy instead will output a more understandable error 
message [6][7].

   - You may be running into "Exceeded the limit of 1000 files per 
   directory..." Which is a hard limit in Google App Engine [8].
   - A simple workaround is to not put a large amount of files in a single 
   directory, or add in an exclude in 'skip_files' in your app.yaml file [9].

I hope one of these suggestions helps to resolve your deployment issue. If 
you still require more help you could try asking a question with more 
detail on the steps you took and the issues you encountered in 
StackOverflow [10].

[1] https://cloud.google.com/sdk/gcloud/reference/components/update
[2] https://cloud.google.com/sdk/docs/release-notes
[3] https://cloud.google.com/sdk/gcloud/reference/app/deploy
[4] https://cloud.google.com/sdk/gcloud/reference/#--verbosity
[5] https://github.com/GoogleCloudPlatform/getting-started-java/issues/281
[6] https://cloud.google.com/appengine/docs/standard/python/tools/uploadinganapp
[7] 
https://cloud.google.com/appengine/docs/standard/python/tools/appcfg-arguments
[8] https://stackoverflow.com/a/1462249
[9] 
https://cloud.google.com/appengine/docs/standard/python/config/appref#Python_app_yaml_Includes
[10] https://stackoverflow.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9ac05046-678e-4d57-a56d-451279deb1aa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: scheduling job using cron.xml in google app engine

2018-09-18 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi,

I am not sure I understand your question. Maybe you can clarify what you 
mean by "it gives 200 bookings."

This documentation address how to create and test cron 
jobs: 
https://cloud.google.com/appengine/docs/standard/python/config/cron#creating_a_cron_job

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/f4f143a8-e368-44d8-8b52-79a6bde78880%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: One of appengine servers in Brazil is being blocked by a major Internet provider

2018-09-14 Thread 'Sam (Google Cloud Support)' via Google App Engine
Cloud Support here! We're working with Edmundo behind the scenes to figure 
this out.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/ec024397-84e7-4a4e-9272-56ce2dfd8471%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: App engine standard java8 - health check for instances?

2018-09-13 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi,

You cannot implement custom health checks in Google App Engine (GAE) 
Standard Environment. Our public documentation shows that adding legacy and 
updated health checks you are referring to is possible in Custom Runtime 
apps (i.e. GAE Flex apps) by configuring the app.yaml file [1]. This is an 
advantage of switching to GAE Flex.

For App Engine Standard, which doesn't afford you that flexibility, 
hardware and software failures that cause early termination or frequent 
restarts can occur without prior warning. This sometimes manifests as a 
non-responsive instance, returning HTTP status 500. We advised that you 
construct your GAE Standard apps to be able to handle this [2]. And you can 
reference this documentation for configuring your app.yaml file for your 
GAE app's app.yaml.

[1] 
https://cloud.google.com/appengine/docs/flexible/custom-runtimes/configuring-your-app-with-app-yaml
[2] 
https://cloud.google.com/appengine/docs/standard/go/how-instances-are-managed#instance_uptime
[3] https://cloud.google.com/appengine/docs/standard/python/config/appref

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/681396fd-9328-41c8-956c-652aa48f7e11%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Route app engine's subdirectory to a wordpress VM?

2018-08-28 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hello,

You can route requests coming to '/blog/*' to a URL (WordPress) or service 
(GCE VM instance) using a dispatch file to define your own custom routing 
rules (up to 20) [1]. Take a look at the first documentation below to 
understand how it works and how to deploy the 'dispatch.yaml' file. This 
second documentation shows you the syntax for configuring the 
'dispatch.yaml' file. Both provide examples. Hope this helps.

[1] 
https://cloud.google.com/appengine/docs/flexible/nodejs/how-requests-are-routed#routing_with_a_dispatch_file
[2] 
https://cloud.google.com/appengine/docs/flexible/nodejs/reference/dispatch-yaml

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/8ac8462e-25b7-448f-88f2-2217a95b93b9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Cloud SQL Incident #18002

2018-08-24 Thread 'Sam (Google Cloud Support)' via Google App Engine
In addition, this documentation shows you how to view your Cloud SQL 
instance information [1] 

[1] https://cloud.google.com/sql/docs/mysql/instance-info

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7585-1cb6-4b1a-87d3-2db9b59427d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Google Cloud SQL Incident #18002

2018-08-24 Thread 'Sam (Google Cloud Support)' via Google App Engine
You can view your Cloud SQL MySQL/PostgreSQL version through the Google 
Cloud Console: from the "Navigation" Menu --> select "SQL" --> click on the 
"Instance ID" --> Select the "Overview" tab --> scroll down to the 
"Properties" section --> view "Database version"

I hope this is clear.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/0c8ac73a-2125-4146-b217-42e2cc726a60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Public link disappeared for assets in bucket

2018-08-08 Thread 'Sam (Google Cloud Support)' via Google App Engine
This is the intended way for making data in Cloud Storage public through 
the Cloud Console. The documentation that you linked shows that [1]. And 
the Cloud IAM documentation elaborates on the 'allUsers' permission 
identifier for making data publicly accessible [2].

[1] https://cloud.google.com/storage/docs/access-control/making-data-public
[2] https://cloud.google.com/iam/docs/overview#allusers

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/015f99fa-5d23-4d63-ac7c-59b335ac577b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: GCP deploy with 'python_version: 3.5' still uses python 3.6

2018-08-03 Thread 'Sam (Google Cloud Support)' via Google App Engine
Your runtime settings looks fine. I suspect the issue might be in your 
source code because I tried to reproduce it but I was able to deploy 
without any errors and did not note any errors with python version in stack 
trace. So, I suggest you follow this Quickstart for deploying a python app 
in App Engine Flex environment [1]. When you've downloaded the sample code, 
edit the app.yaml file provided to change the 'python_version' from 3 to 
3.5. Then follow the rest of the steps to test the app locally and then 
deploy it. This will help you identify what steps you might be missing 
leading to the issue you encountered. Also have a look at this documenation 
to understand the dependencies for your python apps [2].

I hope you find this helpful.

[1] 
https://cloud.google.com/appengine/docs/flexible/python/quickstart#download_the_hello_world_app
[2] 
https://cloud.google.com/appengine/docs/flexible/python/using-python-libraries

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/c82e0307-d711-4121-b5bc-2c6cb791649e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: PubSub Pull Subscriber stops receiving messages randomly

2018-08-02 Thread 'Sam (Google Cloud Support)' via Google App Engine
Hi Roxanne,

It seems like you are dealing with message flow control issue [1], where 
the subscriber client might be slower in processing and acknowledging 
messages than Cloud Pub/Sub is in sending them. In your case, this might 
have led to a backlog of messages to one client because it doesn’t have the 
capacity to handle the influx of messages, thereby, being unable to send 
its messages quickly enough to the second client it gets stuck. 

To resolve this, I suggest that you use the flow control feature of the 
subscriber to control the rate at which it receives messages. Follow the 
example provided in this documentation to try out the flow control feature 
[1]. You can also reference this troubleshooting guide for future reference 
[2][3]. Hope that helps. Let me know how that works for you.

[1] https://cloud.google.com/pubsub/docs/pull#message-flow-control

[2] https://cloud.google.com/pubsub/docs/troubleshooting#create 

[3] https://cloud.google.com/pubsub/docs/push#app-engine-standard-endpoints


On Thursday, August 2, 2018 at 3:47:44 AM UTC-4, Roxana Ioana Mirel wrote:
>
> Hello,
>
> I have a GKE cluster with three nodes, which are being subscribers to the 
> same PubSub subscription 
> and polling continuously for new messages.  
> I am using the Asynchronous Pull mechanism for my subscribers. These are 
> running in a NodeJS Express application.
>
> subscription.on("message", message => messageHandler(message));
>
> async function messageHandler(message) {
>   try {
> await doSomeProcessing();
> message.ack();
>   } catch (error) {
> if (error instanceof DuplicateRowError) {
>   message.ack();
> } else {
>   console.log(`Message ${message.id} was not acknowledged. Waiting to 
> be sent again.`);
> }
>   }
> }
>
> Things go well most of the time, but from time to time the subscribers 
> stop receiving messages. Redeploying the application doesn't help and they 
> recover by themselves after aprox 30min- 1 hour, when the pending 
> messages are being sent. The quota has not been exceeded and 
> subscription.on("error", 
> error ..) does not get triggered, the StackDriver logs also don't show 
> any errors.
>
> Any idea what might cause this pb?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/21a5c6b9-51bf-4734-b77c-2501a263dbbb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] wordpress multiple site giving 500 HTTP error

2018-06-25 Thread Sam Panwar
Hi,

On the App engine my wordpress Site giving 500 Server error after chaning 
custom domain .

So how to resolve this domain and want to know the following.

How I create app engine for wordpress multiple site with Database...some 
time app deploy but database not create..I want to create Database .

Please also update that how I can update DB through the gcloud app deploy 
command its update files only.

Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/626d1fb7-ce22-4046-b5eb-149a4fac383d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] wordpress multiple site custom domain not working on App engine

2018-06-23 Thread Sam Panwar
Hi,

I have done the following .

1. Setup VM for wordpress bitnami multiple site
2. deploy on the app engine succusfully 

Now I have 2 issue

1. when I use custom domain setting its giving me database connection issue 
and giving 
Can’t select database 
Admin panel

2. I have separate IP and site on VM and when I sync DB with SQL db for app 
engine  its giving problem, like looping and its difficult to change URL 
all time in DB for multiple site

so how I can use best setup with VM and app engine for DB and single domain

Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/aaec4cbf-d96e-43fd-b9c3-9e8646ac8f65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] dev server google auth not working

2018-02-26 Thread Sam S


I am setting up a java/GAE/angular app engine project and am attempting to 
require login at certain paths. I am allowing google to handle the auth and 
I'm seeing a nullpointer that appears to originate from the provided 
com.google.appengine.api.users.dev.LocalLoginServlet.java.If i deploy the 
project to app engine, there is no problem.

Here's the relevant part of my web.xml: 



Require Admin
/admin/*


admin



Here's the stacktrace:

java.lang.NullPointerException at 
com.google.appengine.api.users.dev.LoginCookieUtils.encodeEmailAsUserId(LoginCookieUtils.java:90)
 
at 
com.google.appengine.api.users.dev.LoginCookieUtils.createCookie(LoginCookieUtils.java:42)
 
at 
com.google.appengine.api.users.dev.LocalLoginServlet.doPost(LocalLoginServlet.java:93)
 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:848) at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1772)
 
at 
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:941)
 
at 
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:875)
 
at 
com.sun.jersey.spi.container.servlet.ServletContainer.doFilter(ServletContainer.java:829)
 
at 
com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119)
 
at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) at 
com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) at 
com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) at 
com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130) at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.appengine.tools.development.ResponseRewriterFilter.doFilter(ResponseRewriterFilter.java:134)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.appengine.tools.development.HeaderVerificationFilter.doFilter(HeaderVerificationFilter.java:34)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:63)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:48)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.appengine.tools.development.jetty9.StaticFileFilter.doFilter(StaticFileFilter.java:123)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectRequest(DevAppServerModulesFilter.java:366)
 
at 
com.google.appengine.tools.development.DevAppServerModulesFilter.doDirectModuleRequest(DevAppServerModulesFilter.java:349)
 
at 
com.google.appengine.tools.development.DevAppServerModulesFilter.doFilter(DevAppServerModulesFilter.java:116)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1759)
 
at 
com.google.appengine.tools.development.DevAppServerRequestLogFilter.doFilter(DevAppServerRequestLogFilter.java:44)
 
at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1751)
 
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582) 
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) 
at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524) 
at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
 
at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
 
at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512) 
at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
 
at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
 
at 
com.google.appengine.tools.development.jetty9.DevAppEngineWebAppContext.doScope(DevAppEngineWebAppContext.java:94)
 
at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) 
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) 
at 
com.google.appengine.tools.development.jetty9.JettyContainerService$ApiProxyHandler.handle(JettyContainerService.java:597)
 
at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134) 
at org.eclipse.jetty.server.Server.handle(Server.java:534) at 
org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320) at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251) 
at 

[google-appengine] Re: app engine app completely down

2017-06-07 Thread Sam
Thanks, just sent you an email. URLFetch seems to be working again

On Wednesday, June 7, 2017 at 4:46:12 PM UTC-7, Kamran (Google Cloud 
Support) wrote:
>
>
> Hello Sam, 
>
> Please email me (privately) your Project ID and I'll be glad to 
> investigate this issue.
>
> Thanks
>
>
>
> On Wednesday, June 7, 2017 at 7:41:06 PM UTC-4, Sam wrote:
>>
>> URL fetch from a PHP script is still returning errors
>>
>> failed to open stream: Fetch error in 
>>
>> untouched script that has been working for months.
>>
>> On Wednesday, June 7, 2017 at 3:22:19 PM UTC-7, Kamran (Google Cloud 
>> Support) wrote:
>>>
>>>
>>> Thank you for reporting this. The issue with Google App Engine 
>>> displaying elevated error rate should be resolved for the majority of 
>>> projects and we expect a full 
>>> resolution in the near future. We will provide another status update by 
>>> 15:30 US/Pacific with current details.
>>>
>>> For more information about this incident please visit Google Cloud 
>>> Status Dashboard 
>>> <https://status.cloud.google.com/incident/appengine/17005>.
>>>
>>> Sincerely,
>>>
>>>
>>>
>>> On Wednesday, June 7, 2017 at 5:15:56 PM UTC-4, Jacob G wrote:
>>>>
>>>> app engine app completely down. logs say "Request was aborted after 
>>>> waiting too long to attempt to service your request." no instance id 
>>>> is listed.
>>>>
>>>> also google enterprise support site has error:
>>>>
>>>> System unavailable
>>>>
>>>> We're currently experiencing an issue affecting the Google Enterprise 
>>>> Support Center service. Users will be temporarily unable to use the system.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/efbab6fe-9394-4f1e-b57d-432ec70bd9b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: app engine app completely down

2017-06-07 Thread Sam
URL fetch from a PHP script is still returning errors

failed to open stream: Fetch error in 

untouched script that has been working for months.

On Wednesday, June 7, 2017 at 3:22:19 PM UTC-7, Kamran (Google Cloud 
Support) wrote:
>
>
> Thank you for reporting this. The issue with Google App Engine displaying 
> elevated error rate should be resolved for the majority of projects and we 
> expect a full 
> resolution in the near future. We will provide another status update by 
> 15:30 US/Pacific with current details.
>
> For more information about this incident please visit Google Cloud Status 
> Dashboard .
>
> Sincerely,
>
>
>
> On Wednesday, June 7, 2017 at 5:15:56 PM UTC-4, Jacob G wrote:
>>
>> app engine app completely down. logs say "Request was aborted after 
>> waiting too long to attempt to service your request." no instance id is 
>> listed.
>>
>> also google enterprise support site has error:
>>
>> System unavailable
>>
>> We're currently experiencing an issue affecting the Google Enterprise 
>> Support Center service. Users will be temporarily unable to use the system.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/d43cbc82-bb8d-4e80-a286-1a4a754ff606%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2017-06-06 Thread sam a
*موقع اليوتيوب الذي عرض فيديوهات جلسة استماع الكونجرس الأمريكي *

* لمتابعة نشاطات غسل الأموال ونشاطات*



*السعودي معن عبدالواحد الصانع*

*مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية** بالسعودية * * ورئيس
مجلس ادارة بنك اوال البحريني*



 *وتعليق محطة سي ان بي سي التلفزيونية*



*مترجم باللغة العربية*



US Congressional Hearing of

 Saudi billionaire" maan  Al Sanea "

 and Money Laundering

with bank of America



With Arabic Subtitles





http://www.youtube.com/watch?v=mIBNnQvhU8s







































































-- 
You received this message because you are subscribed to the Google Groups
"RoyalPalmGE" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to royalpalmge+unsubscr...@googlegroups.com.
To post to this group, send email to royalpal...@googlegroups.com.
Visit this group at https://groups.google.com/group/royalpalmge.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/royalpalmge/CAEfki289X%2BQH8Xa6K0rRiZomwYM9ymy7i-CymdTkA
AqqqjP%3Dsg%40mail.gmail.com

.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BHMVP2ktDBR7sONFB0ne_7oK9H2mz-axtfh%2BoM9rvMSGGKdCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Get result of async operation to Google speech-to-text

2016-10-12 Thread Sam Nyavor
I am also getting a response with no result and dont know how to access the 
result even if there was a result. How do i know if there are no results?

On Thursday, August 11, 2016 at 12:30:55 AM UTC, Bruno Leitão wrote:
>
> Hi all,
>
> I perform a async request to google speech-to-text, and now i do not know 
> how to get the result of operation.
>
> I already know that operation was successful
>
> Thanks
> BL
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/4521c07a-eb49-45d2-8fc6-8df8ba51d2f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] GAE time sync across instances

2016-07-25 Thread Sam Hill
Since I haven't been able to find a definite answer to this I thought I'd 
ask here. 

We currently use a go app deployed using GAE which can potentially cause us 
problems if we are not receiving a consistent time value.

Does anyone know how Google sync the time for their app instances and if 
anyone has any experience with time drift ?

There are several posts from a few years back on stackoverflow etc saying 
that either NTP is used or to not trust the time between instances.

Any help greatly appreciated.


Sam

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/94eac5e4-d98e-496e-a63a-ec6461bc93f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: Images served very slowly this week.

2016-03-02 Thread Sam
took about a half second for me

On Tuesday, March 1, 2016 at 9:00:10 PM UTC-8, Jay Kyburz wrote:
>
> Hey all,
>
> It might be my imagination but I think static resources like images are 
> loading very slowly for my app this week.  It doesn't seem like a latency 
> issue so much as a bandwidth issue. Is that completely crazy?
>
> This image for example
>
> https://blight.ironhelmet.com/images/blight_menu_bg.jpg
>
> It's 382K but it can take up to 8 seconds to download. 
>
> I don't think the problem is on my side as I've had users complaining as 
> well.
>
> I'm not sure where to begin look at where my app might have a problem.
>
> The app-id is *blightsrage*
>
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/9df53a40-6f25-49e1-92e9-70174a6a5f1f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Can't deploy to a project ID that contains a domain name

2016-02-24 Thread Sam
I have a client that shared a projectID that he recently created so that I 
could deploy to it.

When I go to console/manage all projects, I see a list of all my project 
IDs, but his is the only one that contains a domain name.

example "domain.com:projectname-12345"

I've tried to deploy to just "projectname-12345" and also to 
"domain.com:projectname-12345" using goapp deploy and they both return

This application does not exist (app_id=u'domain.com:projectname-12345').

or

This application does not exist (app_id=u'projectname-12345').


What should I be putting in the application: line for app.yaml?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/1379319e-4b62-4662-9bb1-3d0ab711ffe3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Fwd: Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع

2015-12-28 Thread sam a
US Congressional Hearing of

 Saudi billionaire" maan  Al Sanea "

 and Money Laundering

with bank of America



With Arabic Subtitles





http://www.youtube.com/watch?v=mIBNnQvhU8s






*موقع اليوتيوب الذي عرض فيديوهات جلسة استماع الكونجرس الأمريكي *

* لمتابعة نشاطات غسل الأموال ونشاطات*



*السعودي معن عبدالواحد الصانع*

*مالك مستشفى  وشركة سعد  ومدارس سعد بالمنطقة الشرقية** بالسعودية * * ورئيس
مجلس ادارة بنك اوال البحريني*



 *وتعليق محطة سي ان بي سي التلفزيونية*



*مترجم باللغة العربية*


http://www.youtube.com/watch?v=mIBNnQvhU8s

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CA%2BHMVP1z7vMW6XRmWiOrKh2Lsar3fTwXahgGQg6FhPz3r%2Bzm%3DA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: OverQuotaError

2015-11-10 Thread Sam Sumika
On Tue, Nov 10, 2015 at 9:57 AM, Nick (Cloud Platform Support) <
pay...@google.com> wrote:

> Addition:
>
> It's also possible that you would see this if you were breaking a
> short-term quota which may not be visible in the console.
>

It would help if the error message actually described what quota had been
exceeded, and whether or not it is hidden.


> You should try to batch your calls or determine if the error correlates
> with a burst of processing. If you receive an error like this, you could
> also attempt exponential backoff
> <https://en.wikipedia.org/wiki/Exponential_backoff>. If the issue still
> doesn't make sense, you can feel free to make a public issue tracker
> <http://code.google.com/p/google-appengine/issues/list> issue post which
> details the problem, how you observed it, the relevant timeframes, logs,
> code, etc.
>
> On Tuesday, November 10, 2015 at 1:25:09 AM UTC-5, Sam Sumika wrote:
>
>> Hi Ryan,
>>
>>
>> I have not seen this recently, but it is happening again right now :(.
>> Here is a sample log:
>>
>> The API call datastore_v3.RunQuery() required more quota than is
>> available. Traceback (most recent call last): File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1511, in __call__ rv = self.handle_exception(request, response, e)
>> File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1505, in __call__ rv = self.router.dispatch(request, response) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1253, in default_dispatcher return route.handler_adapter(request,
>> response) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1077, in __call__ return handler.dispatch() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 547, in dispatch return self.handle_exception(e, self.app.debug) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 545, in dispatch return method(*args, **kwargs) File 
>> "/base/data/home/apps/s~www-sumikacrafts/0-0-4.388462686899941935/views.py",
>> line 156
>> <https://console.cloud.google.com/debug/resolve_location?appModule=default=0-0-4=144713643560707=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~www-sumikacrafts%2F0-0-4.388462686899941935%2Fviews.py=156=www-sumikacrafts>,
>> in get products = Product.find_with_category(this_category, use_cache=True)
>> File 
>> "/base/data/home/apps/s~www-sumikacrafts/0-0-4.388462686899941935/datamodels/product.py",
>> line 213
>> <https://console.cloud.google.com/debug/resolve_location?appModule=default=0-0-4=144713643560707=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~www-sumikacrafts%2F0-0-4.388462686899941935%2Fdatamodels%2Fproduct.py=213=www-sumikacrafts>,
>> in find_with_category cls.sync_state == cls.LINKED).order(cls.created))
>> File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py",
>> line 1774, in next self._more_results) = self._fut.get_result() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py",
>> line 326, in get_result self.check_success() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/context.py",
>> line 876, in helper batch, i, ent = yield inq.getq() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py",
>> line 938, in run_to_queue batch = yield rpc File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py",
>> line 455, in _on_rpc_completion result = rpc.get_result() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>> line 613, in get_result return self.__get_result_hook(self) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py",
>> line 2907, in __query_result_hook
>> self._batch_shared.conn.check_rpc_success(rpc) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
>> line 1371, in check_rpc_success rpc.check_success() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_st

Re: [google-appengine] Re: OverQuotaError

2015-11-10 Thread Sam Sumika
Hi Nick,

We have billing enabled on the account, so the quota for Datastore
operations should be unlimited ?
https://cloud.google.com/appengine/docs/quotas?hl=en_US#Datastore


On Tue, Nov 10, 2015 at 9:54 AM, Nick (Cloud Platform Support) <
pay...@google.com> wrote:

> Hey Sam,
>
> Usually, this error is because you've exhausted your free quota for
> Datastore operations and don't have any/enough billing budget to continue
> to make RPC calls. In this case, the datastore_v3.RunQuery() operation is
> the one which is failing. Checking your quotas in the Developers Console
> <http://console.developers.google.com> ("App Engine" > "Quota Details")
> will help with detecting this. You can configure a daily billing budget
> limit in the "App Engine" > "Settings" section.
>
>
> On Tuesday, November 10, 2015 at 1:25:09 AM UTC-5, Sam Sumika wrote:
>>
>> Hi Ryan,
>>
>>
>> I have not seen this recently, but it is happening again right now :(.
>> Here is a sample log:
>>
>> The API call datastore_v3.RunQuery() required more quota than is
>> available. Traceback (most recent call last): File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1511, in __call__ rv = self.handle_exception(request, response, e)
>> File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1505, in __call__ rv = self.router.dispatch(request, response) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1253, in default_dispatcher return route.handler_adapter(request,
>> response) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 1077, in __call__ return handler.dispatch() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 547, in dispatch return self.handle_exception(e, self.app.debug) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
>> line 545, in dispatch return method(*args, **kwargs) File 
>> "/base/data/home/apps/s~www-sumikacrafts/0-0-4.388462686899941935/views.py",
>> line 156
>> <https://console.cloud.google.com/debug/resolve_location?appModule=default=0-0-4=144713643560707=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~www-sumikacrafts%2F0-0-4.388462686899941935%2Fviews.py=156=www-sumikacrafts>,
>> in get products = Product.find_with_category(this_category, use_cache=True)
>> File 
>> "/base/data/home/apps/s~www-sumikacrafts/0-0-4.388462686899941935/datamodels/product.py",
>> line 213
>> <https://console.cloud.google.com/debug/resolve_location?appModule=default=0-0-4=144713643560707=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~www-sumikacrafts%2F0-0-4.388462686899941935%2Fdatamodels%2Fproduct.py=213=www-sumikacrafts>,
>> in find_with_category cls.sync_state == cls.LINKED).order(cls.created))
>> File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py",
>> line 1774, in next self._more_results) = self._fut.get_result() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py",
>> line 326, in get_result self.check_success() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/context.py",
>> line 876, in helper batch, i, ent = yield inq.getq() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py",
>> line 938, in run_to_queue batch = yield rpc File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py",
>> line 455, in _on_rpc_completion result = rpc.get_result() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>> line 613, in get_result return self.__get_result_hook(self) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py",
>> line 2907, in __query_result_hook
>> self._batch_shared.conn.check_rpc_success(rpc) File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
>> line 1371, in check_rpc_success rpc.check_success() File
>> "/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
>> line 579, in

Re: [google-appengine] Re: OverQuotaError

2015-11-09 Thread Sam Sumika
Hi Ryan,


I have not seen this recently, but it is happening again right now :(.
Here is a sample log:

The API call datastore_v3.RunQuery() required more quota than is available.
Traceback (most recent call last): File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1511, in __call__ rv = self.handle_exception(request, response, e)
File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1505, in __call__ rv = self.router.dispatch(request, response) File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1253, in default_dispatcher return route.handler_adapter(request,
response) File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 1077, in __call__ return handler.dispatch() File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 547, in dispatch return self.handle_exception(e, self.app.debug) File
"/base/data/home/runtimes/python27/python27_lib/versions/third_party/webapp2-2.3/webapp2.py",
line 545, in dispatch return method(*args, **kwargs) File
"/base/data/home/apps/s~www-sumikacrafts/0-0-4.388462686899941935/views.py",
line 156
<https://console.cloud.google.com/debug/resolve_location?appModule=default=0-0-4=144713643560707=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~www-sumikacrafts%2F0-0-4.388462686899941935%2Fviews.py=156=www-sumikacrafts>,
in get products = Product.find_with_category(this_category, use_cache=True)
File 
"/base/data/home/apps/s~www-sumikacrafts/0-0-4.388462686899941935/datamodels/product.py",
line 213
<https://console.cloud.google.com/debug/resolve_location?appModule=default=0-0-4=144713643560707=%2Fbase%2Fdata%2Fhome%2Fapps%2Fs~www-sumikacrafts%2F0-0-4.388462686899941935%2Fdatamodels%2Fproduct.py=213=www-sumikacrafts>,
in find_with_category cls.sync_state == cls.LINKED).order(cls.created))
File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py",
line 1774, in next self._more_results) = self._fut.get_result() File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py",
line 326, in get_result self.check_success() File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/context.py",
line 876, in helper batch, i, ent = yield inq.getq() File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/query.py",
line 938, in run_to_queue batch = yield rpc File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/ext/ndb/tasklets.py",
line 455, in _on_rpc_completion result = rpc.get_result() File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 613, in get_result return self.__get_result_hook(self) File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_query.py",
line 2907, in __query_result_hook
self._batch_shared.conn.check_rpc_success(rpc) File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/datastore/datastore_rpc.py",
line 1371, in check_rpc_success rpc.check_success() File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_stub_map.py",
line 579, in check_success self.__rpc.CheckSuccess() File
"/base/data/home/runtimes/python27/python27_lib/versions/1/google/appengine/api/apiproxy_rpc.py",
line 134, in CheckSuccess raise self.exception OverQuotaError: The API call
datastore_v3.RunQuery() required more quota than is available.

On Tue, May 19, 2015 at 7:58 AM, Ryan (Cloud Platform Support) <
rbruy...@google.com> wrote:

> Salutations Sam,
>
> Are you still seeing this? Can you include the most resent log entry
> showing the error? Are you using db or ndb?
>
> Thanks!
>
>
> On Wednesday, May 13, 2015 at 11:55:40 PM UTC-4, Sam Sumika wrote:
>>
>> Has anyone seen this type of error occurring recently ?
>> OverQuotaError: The API call datastore_v3.RunQuery() required more quota
>> than is available.
>>
>> My appengine python site has just started failing with this OverQuota
>> error, but the quota dashboard says everything is OK, and traffic levels
>> are normal.
>>
>> I'd appreciate quick suggestions about what could be wrong and how to
>> remedy this.
>>
>> Thanks,
>> Sam
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Google App Engine" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/google-a

Re: [google-appengine] copying data from appengine datastore admin to my dev server. failed with status 401

2015-05-19 Thread Sam Alexander
Is this seriously the type of support you guys give? Fucking pathetic

On Wednesday, November 9, 2011 at 12:33:44 AM UTC-5, Nick Johnson wrote:

 This is unlikely to work, and you should never ever expose your 
 dev_appserver publicly.

 Consider making a small reusable test dataset you can easily load, rather 
 than relying on a complete dump of production data, which won't scale.

 -Nick

 On Wed, Nov 9, 2011 at 4:31 PM, Mariano Benitez maria...@gmail.com 
 javascript: wrote:

 Hello,

 I am trying to copy data from my appengine to my dev server, instead of 
 doing the normal bulk download/upload, I tried the datastore admin copy 
 function. I've setup the dev server public ip so it can be seen from 
 outside.

 When I try to run it from appengine, it fails with status 401, not 
 authorized.

 Is it possible to use this anyway? seems like a nice way to populate my 
 dev database.

 Thanks,

 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/google-appengine/-/eJsdLLfmtkwJ.
 To post to this group, send email to google-a...@googlegroups.com 
 javascript:.
 To unsubscribe from this group, send email to 
 google-appengi...@googlegroups.com javascript:.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.




 -- 
 Nick Johnson, Developer Programs Engineer, App Engine


  

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/587b3eb5-1b0c-4de9-a930-1ff8beffad6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Re: OverQuotaError

2015-05-13 Thread Sam Sumika
I think its the same issue as this:

https://groups.google.com/d/topic/google-appengine/w_GG2Y-yHRA/discussion

app-id is www-sumikacrafts

On Wednesday, May 13, 2015 at 8:55:40 PM UTC-7, Sam Sumika wrote:

 Has anyone seen this type of error occurring recently ?
 OverQuotaError: The API call datastore_v3.RunQuery() required more quota 
 than is available.

 My appengine python site has just started failing with this OverQuota 
 error, but the quota dashboard says everything is OK, and traffic levels 
 are normal.

 I'd appreciate quick suggestions about what could be wrong and how to 
 remedy this.

 Thanks,
 Sam



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/686fcd17-965e-47ff-9ca3-ab4de472c90a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] OverQuotaError

2015-05-13 Thread Sam Sumika
Has anyone seen this type of error occurring recently ?
OverQuotaError: The API call datastore_v3.RunQuery() required more quota
than is available.

My appengine python site has just started failing with this OverQuota
error, but the quota dashboard says everything is OK, and traffic levels
are normal.

I'd appreciate quick suggestions about what could be wrong and how to
remedy this.

Thanks,
Sam

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/CAF%2B1_o_5hOt-69qnHe0-DftWvP_4waaYYHm_X9dGtfNyNqdk1A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [google-appengine] Re: Announcing a credit for App Engine applications with new custom domains

2014-08-05 Thread Sam Sumika
This feature is completely invisible! Please let me know if I'm doing 
something wrong. 

I am trying to the follow the instructions in the documentation at 
https://developers.google.com/appengine/docs/domain, which I got to by 
clicking the 'learn more' link on my app's Application Setting page.

1) Prior to that, on clicking on the 'Add domain' button on the Application 
Settings page, the process seems to be old one, but it fails.  It tries to 
log me into something (presumably Google Apps), but after I login it just 
redirects me back to the same login page.  This just wastes time.

2) When I open, https://console.developers.google.com/, and click on the 
link for my project, there is no APPENGINE beneath COMPUTE.

Both of these are pretty bad.  Until I clicked on the 'learn more' button I 
was pretty frustrated because I thought the old process was still being 
used, but somehow could not get to it.  Now that I know there is a new 
process, I'm even more frustrated - you talk about it here, it's in the 
documentation, but is actually invisible.


On Friday, April 11, 2014 4:31:58 PM UTC-7, Andrew Jessup wrote:

 Hi Everyone,

 I'm happy to report that we have just added support for mapping custom 
 domains to an App Engine application directly from within the Google 
 Developers Console (https://console.developers.google.com/). This means 
 that you can associate your domains without being required to purchase 
 Google Apps for each domain first.

 This isn't dependent on our recently released Cloud DNS service - although 
 if you *are* looking for a great DNS, they do go well together :)

 There are still some features we're looking to add to this - notably, 
 support for SSL for custom domains (which is still available if you use 
 Google Apps to associate a domain, and is available automattically from 
 your *.appspot.com URLs). In the meantime, we hope you find this to be a 
 more effective and simpler way to set up your App Engine apps.

 Since Google Apps is no longer necessary, from today we are no longer 
 offering the Jump Start credit to new applicants. Those who have already 
 been awarded the credit will still be able to draw down from any unused 
 credit on their account, and if you have recently applied prior to today 
 then we will still review your application. However new applications will 
 not be accepted.

 Thanks for your patience.

 Regards,

 Andrew
 Product Manager, Google Cloud Platform

 On Thursday, 27 March 2014 20:39:24 UTC+1, Vinny P wrote:

 On Thu, Mar 27, 2014 at 2:26 PM, Barry Hunter barryb...@gmail.com
  wrote:

 Can't just use cloud-dns to CNAME your domain to ghs.googlehosted.com - 
 *without *using Google Apps, because still needs to know the 
 domain-to-appid mapping. 

 So can use Cloud-DNS, but still need Google Apps *too*. 



 I agree with Barry. I read through the Cloud DNS documentation, but 
 unless I missed something, I don't see a way to associate domains with 
 specific applications. 

 For instance, I can create a managed zone and associate it with a project 
 by calling this REST command: 
 https://developers.google.com/cloud-dns/api/v1beta1/managedZones/create 
 . But where is the association between domain/project to App Engine ID?
   
  
 -
 -Vinny P
 Technology  Media Advisor
 Chicago, IL

 App Engine Code Samples: http://www.learntogoogleit.com
   



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.


[google-appengine] Unable to deploy my appsengine

2013-09-24 Thread Sam Maine
I am very new in google apps. I have managed to run my on localhost, but I 
am unable to deploy it. I am running it on ubuntu linux with python 
installed.

Here are the contents of my appcfg.py file.

application: helloudacitysamu
version: 1
runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /.*
  script: helloudacitysamu.py

I already have the application in my google account called 
helloudacitysamu, and also title is helloudacitysamu.

My command at the terminal is application: helloudacitysamu
/home/My home directory/google_appengine/appcfg.py update home/My home 
directory/google_appengine/apps/cs253

the helloudacitysamu.py and the app.yaml are both located in the cs253 
folder. I was able to run it before but I think I must have made some 
mistakes on the appcfg.py file.

Any help appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


[google-appengine] Want to migrate my site hosted on appengine to python 2.7 from 2.5

2013-06-03 Thread Sam Mak
I am trying to migrate from python to 2.7 to 2.5 but after making the 
required changes to main.py and app.yaml file, my site does not work

please help... what changes should i make to these to get it to work

main.py

import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
from google.appengine.ext.webapp import template

class MainHandler(webapp.RequestHandler):
  def get (self, q):
if q is None:
  q = 'index.html'

path = os.path.join (os.path.dirname (__file__), q)
self.response.headers ['Content-Type'] = 'text/html'
self.response.out.write (template.render (path, {}))

def main ():
  application = webapp.WSGIApplication ([('/(.*html)?', MainHandler)], 
debug=True)
  util.run_wsgi_app (application)

if __name__ == '__main__':
  main ()



app.yaml

application: cool-gadgets
version: 1
runtime: python
api_version: 1



handlers:
- url: /robots.txt
  static_files: static/robots.txt
  upload: static/robots.txt

- url: /favicon.ico
  static_files: static/favicon.ico
  upload: static/favicon.ico

- url: /gadgets/disney.xml
  static_files: gadgets/disney.xml
  upload: gadgets/disney.xml

- url: /gadgets/wwe.xml
  static_files: gadgets/wwe.xml
  upload: gadgets/wwe.xml

- url: .*
  script: main.py

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] want to migrate to python 2.7 from 2.5,but after making changes website doesn't work

2013-06-03 Thread Sam Mak
I am trying to migrate from python to 2.7 to 2.5 but after making the 
required changes to main.py and app.yaml file, my site does not work

please help... what changes should i make to these to get it to work

main.py

import os
from google.appengine.ext import webapp
from google.appengine.ext.webapp import util
from google.appengine.ext.webapp import template

class MainHandler(webapp.RequestHandler):
  def get (self, q):
if q is None:
  q = 'index.html'

path = os.path.join (os.path.dirname (__file__), q)
self.response.headers ['Content-Type'] = 'text/html'
self.response.out.write (template.render (path, {}))

def main ():
  application = webapp.WSGIApplication ([('/(.*html)?', MainHandler)], 
debug=True)
  util.run_wsgi_app (application)

if __name__ == '__main__':
  main ()



app.yaml

application: cool-gadgets
version: 1
runtime: python
api_version: 1



handlers:
- url: /robots.txt
  static_files: static/robots.txt
  upload: static/robots.txt

- url: /favicon.ico
  static_files: static/favicon.ico
  upload: static/favicon.ico

- url: /gadgets/disney.xml
  static_files: gadgets/disney.xml
  upload: gadgets/disney.xml

- url: /gadgets/wwe.xml
  static_files: gadgets/wwe.xml
  upload: gadgets/wwe.xml

- url: .*
  script: main.py

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: App Engine Servers - Trusted Tester Sign-up

2013-02-20 Thread Sam G
Just applied... can't believe I missed this! We're building an application 
that serves both a mobile app and dashboard - this would be awesome for 
splitting the frontend workloads.


On Thursday, December 6, 2012 3:17:08 PM UTC-8, Chris Ramsdale wrote:

 We're excited to announce a new App Engine feature called Servers that 
 allow developers to segment large-scale applications into logical 
 components that are able to share stateful services and communicate in a 
 secure fashion.  For example, applications that have multiple frontends 
 which handle web-based and mobile-based traffic or applications that have 
 various backends for data analysis, billing pipelines, etc.

 Part of building great products is gathering quality user feedback early 
 on.  If you're interested, we encourage you to sign-up using the following 
 form.  Based on input we'll select a small group of trusted testers.

 App Engine Servers - Trusted Tester 
 Sign-uphttps://docs.google.com/a/google.com/forms/d/1qjuLxnAHQeq2YQMCMAITbC6St_NrfzHDxrbkuTqvmfY/viewform

 Cheers!

 Chris Ramsdale
 Product Manager, Google App Engine


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: New experimental development server for Python

2012-12-19 Thread Sam McNally
We have released a new version. Download it from 
http://code.google.com/p/appengine-devappserver2-experiment/downloads/detail?name=devappserver2-v0.4.zip

New in this version:
- backends with support for background threads
- admin UI for cron, datastore indexes and inbound mail
- improved taskqueue UI

On Wednesday, 12 December 2012 15:59:51 UTC+11, Brian Quinlan wrote:

 We have released a new version of the development server: 

 To download: 

 http://code.google.com/p/appengine-devappserver2-experiment/downloads/detail?name=devappserver2-v0.3.zip
  

 Changes: 
 - threads are implicitly joined on request exit 
 - basic taskqueue UI (more later) 
 - fixes for virtualenv 
 - windows unit test fixes 
 - reduced logging noise 
 - correct logout url generation 

 As always, feedback is welcome! 

 Cheers, 
 Brian 

 On Tue, Nov 27, 2012 at 1:14 PM, Brian Quinlan 
 bqui...@google.comjavascript: 
 wrote: 
  Hi, 
  
  I'm happy to announce that the App Engine team is working on a new 
  development server for Python (and eventually Go). 
  
  The new development server aims to provide higher performance for 
  complex applications and better emulation of the App Engine deployment 
  environment. 
  
  There are several features that are currently missing: 
  - support for backends 
  - the administrative UI (i.e. _ah/admin) 
  - Go 
  
  Development is still at an early stage so I'm sure that there are lots 
  of bugs to be found and fixed. 
  
  Which is why we'd appreciate your help in testing and, if you are 
  feeling keen, fixing these issues. 
  
  You can download the latest version from: 
  http://code.google.com/p/appengine-devappserver2-experiment/downloads/ 
  
  Or work directly with the git repository: 
  
 http://code.google.com/p/appengine-devappserver2-experiment/source/checkout 
  
  There is also a public discussion group associated with the project: 
  
 https://groups.google.com/forum/?fromgroups#!forum/appengine-devappserver2-discuss
  
  
  Thanks for your help! 
  
  Cheers, 
  Brian - App Engine Python Team 


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/aOkDORIxzzUJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: HRD Migration Blob keys

2012-10-31 Thread Sam
Hi Phil,

Can you please share how did you manage to fix it? We are experiencing the 
same issue. Currently, we are in Sync phase and none of our blobs have 
migrated to new HRD app. Do we need to run the blob migration manually 
before the final migration step?

Any help will be highly appreciated.
thanks!
Sam

On Friday, August 24, 2012 3:22:37 PM UTC-7, Phil wrote:

 Think I've got it now. No need to reply here.

 Thanks,
 Phil

 On Fri, Aug 24, 2012 at 10:46 AM, Phil McDonnell 
 phil.a.m...@gmail.comjavascript:
  wrote:

 Is anyone familiar with this blobstore issue in the HRD migration?

 Thanks,
 Phil


 On Thu, Aug 23, 2012 at 4:39 PM, Phil McDonnell 
 phil.a.m...@gmail.comjavascript:
  wrote:

 I'm looking at migrating to HRD and I use the blob store.  In my 
 datastore I have one Kind of entity that stores a blob key as one of the 
 fields in the Entity. I see that the HRD migration warns about blob keys 
 stored in serialized form. Pardon my ignorance, but are my blob keys that 
 I mentioned stored in serialized form? Quotation from the documentation  
 example of my blob key in the Entity (highlighted yellow) below.

 Thanks,
 Phil

 *Warning from the HRD Migration:*

 If your application has blob data in Blobstore, you need to migrate that 
 blob data as well. Check the checkbox labeled *Migrate Blobstore Data*. 
 The blobs will be copied and given new blob keys in the new application, 
 and the Datastore will be updated with the new blob keys. (However, any 
 blob keys stored in serialized form within the Datastore will *not* be 
 migrated; see Migrating Serialized Blob 
 Keyshttps://developers.google.com/appengine/docs/adminconsole/migration#Migrating_Serialized_Blob_Keys,
  
 below, for more information.)

 *Example of my datastore from the datastore viewer:*
   ID/Namecomplete couponKeydate dealIDdealVariant fraudulentnumSoldppemail
 price purchasesold uidverified address1address2 charitycity fullname
 state zip 
 id=174125https://appengine.google.com/datastore/edit?app_id=coupflipsiteversion_id=3.361250345819739095key=agxjb3VwZmxpcHNpdGVyEwsSC1RyYW5zYWN0aW9uGK3QCgw
  
 True
 AMIfv95dj6WTPGjP8P38yQrSmjbPs6eqWCFpvafA0Y9KoROcostO8OiHMWOwZKFfqmNwfi2s9pXyK7Bz8cOIG-CSPnv-T9r0ac9Fn_c5carOHrpRBxFz-Pm3zcI4j93-MDHssxDpC6PdnKY5P3Dr66BrGLHWqoBNzQ
 View 
 blobhttps://appengine.google.com/blobstore/detail?app_id=coupflipsitekey=AMIfv95dj6WTPGjP8P38yQrSmjbPs6eqWCFpvafA0Y9KoROcostO8OiHMWOwZKFfqmNwfi2s9pXyK7Bz8cOIG-CSPnv-T9r0ac9Fn_c5carOHrpRBxFz-Pm3zcI4j93-MDHssxDpC6PdnKY5P3Dr66BrGLHWqoBNzQ
 2012-01-23 05:19:04.658000 asdf 0False 1as...@asdf.com javascript: 
 4.0False
 True 10709668True missingmissing missing missingmissing 
 missing missing





-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/XLXfOws_6FsJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] calling a task from a callback in java

2012-10-15 Thread sam
I have an object that fires a callback after a put. The callback then fires 
a task to do somethings. For some reason, that task then fires the same 
callback again, resulting in an infinite loop. I verified that my task is 
not putting that object, so the loop shouldn't be happening. Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/RArN09oxqrAJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Deadline Exceeded Exception on loading requests leaves bad instance running

2012-10-10 Thread Sam
Is there any update on this? In addition to instance time increases, we are 
also seeing huge datastore latency past few days and lot 
of DeadlineExceededExceptions. 

Our app id: textyserver

On Wednesday, October 3, 2012 8:27:45 PM UTC-7, Anand Mistry wrote:

 Hi Jason,

 The engineering team is aware of this issue of instances being in a wacky 
 state, however, I can't give you any more information.

 On Thursday, 4 October 2012 06:06:45 UTC+10, Jason Collins wrote:

 We've seen some Deadline Exceeded Exceptions cropping up on loading 
 requests again. This used to be commonplace (a couple of years ago), but I 
 haven't seen it for a long time... until recently.

 Has anyone else seen this lately? We're seeing it on Py2.7. Normally, 
 these apps warmup in a couple of seconds, so 60-70s startup times are 
 completely abnormal.

 Worse, when this occurs during a loading request, the instance is left in 
 a partially inflated state - in our case, basically all subsequent 
 requests fail with import/pythonpath issues. Our recourse, once we discover 
 this is happening, is to manually kill the instance. This really, really 
 sucks.

 Can anyone make an argument why you would *want* to keep an instance 
 that Deadline Exceeded Exceptions on a loading request? I can't. I think an 
 instance that hits a Deadline Exceeded Exception during a loading request 
 should be thrown away as suspect.

 j



-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/joJCKS4A9xEJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Porting Question by a Non Programmer

2012-10-03 Thread Sam Towers
Hi All

I have an app that is written in C++. It has been ported to Java.
Is it easy to port this to GAE? GAE runs Python and Java, so is it a simple 
cut and paste job to the Java flavor ?

Cheers

Sam

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/1DmrSmsDqLYJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Index with incorrect namespace received

2012-08-20 Thread sam
I am trying to get the schema for one of my search indexes (using the full text 
search api) and i get this error: Index with incorrect namespace received. I 
am doing the following code in a NON global namespace:

NamespaceManager.set(blah);

ListIndexesResponse response = 
SearchServiceFactory.getSearchService().listIndexes(
ListIndexesRequest.newBuilder().setSchemaFetched(true).build());

// List out elements of each Schema
for (Index index : response) {
Schema schema = index.getSchema();
for (String fieldName : schema.getFieldNames()) {
ListFieldType typesForField = schema.getFieldTypes(fieldName);
}
}

Anyone know what the deal is?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/hBisgZpSqRMJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Endpoints section in the control panel?

2012-06-27 Thread Sam G
Bump. Any word from a Googler on what this is!?

On Tuesday, June 26, 2012 4:59:33 PM UTC-7, Sam G wrote:


 This section just showed up for me in the App Engine dashboard.
 I also heard PageSpeed and SSL have been released? Where can I get to 
 these so that I can sign up?

 The new Endpoints section says that an API.yaml should exist... what 
 will go in that? Is there documentation up, now that this is a production 
 release?


 https://lh3.googleusercontent.com/-8UcxwQ-SA1c/T-pMt7axhhI/BOA/78xFoVtkBtQ/s1600/endpoints.png
 Is this part of an I/O release?

 Screenshot sample attached.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/cA8hVE9iYpcJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Endpoints section in the control panel?

2012-06-26 Thread Sam G

This section just showed up for me in the App Engine dashboard.
I also heard PageSpeed and SSL have been released? Where can I get to these 
so that I can sign up?

The new Endpoints section says that an API.yaml should exist... what will 
go in that? Is there documentation up, now that this is a production 
release?

https://lh3.googleusercontent.com/-8UcxwQ-SA1c/T-pMt7axhhI/BOA/78xFoVtkBtQ/s1600/endpoints.png
Is this part of an I/O release?

Screenshot sample attached.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/StP6u73OjF8J.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Multiple Entity Versions

2012-04-12 Thread Sam
BigTable supports multiple versions of same entity by indexing
timestamp. Does GAE Datstore allows to Query entities of pervious
versions?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Request to create more appengine application

2012-03-24 Thread Sam
Hello googlers,

I am wondering if you can allow me to create a few more applications.

I need to use python27 which is supported for apps using the High
Replication Datastore.

And I don't have any applications that I can reuse

my account email s...@nanosn.com

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Problem deploying app after adding threadsafetrue/threadsafe in appengine-web.xml file.

2011-10-26 Thread Zde Sam
Hi,

I am getting the following error after adding threadsafetrue/threadsafe 
in appengine-web.xml file during deployment.

com.google.apphosting.utils.config.AppEngineConfigException: XML error 
validating 
E:\Projects\SpringSource\GoogleApps\WebsiteBuilder\war\WEB-INF\appengine-web.xml
 against 
E:\Services\Google\AppEngine\appengine-java-sdk-1.3.8\docs\appengine-web.xsd
at 
com.google.appengine.tools.admin.Application.validateXml(Application.java:360)
at 
com.google.appengine.tools.admin.Application.init(Application.java:101)
at 
com.google.appengine.tools.admin.Application.readApplication(Application.java:151)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:115)
at com.google.appengine.tools.admin.AppCfg.init(AppCfg.java:61)
at com.google.appengine.tools.admin.AppCfg.main(AppCfg.java:57)
Caused by: org.xml.sax.SAXParseException: cvc-complex-type.2.4.a: Invalid 
content was found starting with element 'threadsafe'. One of 
'{http://appengine.google.com/ns/1.0:static-files, 
http://appengine.google.com/ns/1.0:resource-files, 
http://appengine.google.com/ns/1.0:env-variables, 
http://appengine.google.com/ns/1.0:ssl-enabled, 
http://appengine.google.com/ns/1.0:user-permissions, 
http://appengine.google.com/ns/1.0:public-root, 
http://appengine.google.com/ns/1.0:inbound-services, 
http://appengine.google.com/ns/1.0:precompilation-enabled, 
http://appengine.google.com/ns/1.0:admin-console, 
http://appengine.google.com/ns/1.0:static-error-handlers}' is expected.
at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.createSAXParseException(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.error(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator$XSIErrorReporter.reportError(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.reportSchemaError(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.startElement(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown 
Source)
at 
com.sun.org.apache.xerces.internal.jaxp.validation.StreamValidatorHelper.validate(Unknown
 Source)
at 
com.sun.org.apache.xerces.internal.jaxp.validation.ValidatorImpl.validate(Unknown
 Source)
at javax.xml.validation.Validator.validate(Unknown Source)
at 
com.google.appengine.tools.admin.Application.validateXml(Application.java:357)
... 5 more


Deployment goes fine successfully when threadsafetrue/threadsafe is 
removed or commented from the appengine-web.xml file.
Below is the content of my appengine-web.xml file.
?xml version=1.0 encoding=utf-8?
appengine-web-app xmlns=http://appengine.google.com/ns/1.0;
applicationebildr/application
versionv2/version
!--threadsafetrue/threadsafe--
!-- Configure java.util.logging --
system-properties
property name=java.util.logging.config.file 
value=WEB-INF/logging.properties/
/system-properties
sessions-enabledtrue/sessions-enabled
precompilation-enabledtrue/precompilation-enabled
/appengine-web-app

Am I missing anything, any help will be greatly appreciated.
Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/SrNin-Of1-4J.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: ereporter error under py27

2011-10-12 Thread Sam McNally
Use google.appengine.ext.ereporter.report_generator.application as the 
handler.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/Y-QSQbSzE0EJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] can't enable datastore admin

2011-09-23 Thread Sam
I have a high replication java app. When I click the button to enable
the datastore admin I get this error: A version with the name:ah-
builtin-python-bundle, already exists. I was able to get the
datastore admin to work for a non high replication java app, but not
this one. Thanks for your help

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Can't enable datastore admin

2011-09-06 Thread Sam Stigler
Nope; still not working. I get the following message:
 
 Unable to locate DatastoreAdmin endpoint.
 We could not locate a Datastore Admin handler in your application. In order 
 to use functions in the datastore administrator, you must enable Datastore 
 Admin.

When I click the enable button, I get the error:
 There were errors:
 A version with the name:ah-builtin-python-bundle, already exists.

Any ideas?

Thanks,
Sam
 
On Sep 6, 2011, at 10:57 AM, Jose Montes de Oca wrote:

 By the Admin Console I mean the dashboard you can access to see useful 
 information of you application:
 
 https://appengine.google.com/dashboard?app_id=YOUR-APP-ID
 
 On Sat, Sep 3, 2011 at 1:09 PM, Sam sam.stig...@gmail.com wrote:
 Hi Jose,
 
 I'm sorry for the late response. What do you mean by the admin
 console? (If you mean the launcher app that comes with the Python SDK,
 I can't get that to work with my Java app.)
 
 Thanks,
 Sam
 
 On Aug 23, 1:16 pm, Jose Montes de Oca jfmontesde...@google.com
 wrote:
  Hi Sam,
 
  This happened after enabling the datastore admin? could you just refresh the
  admin console, access the datastore admin under data - Datastore Admin an
  let us know if its working?
 
  Best,
  Jose Montes de Oca
  Developer Support Specialist
 
 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.
 
 
 
 
 -- 
 Jose Montes de Oca
 
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Can't enable datastore admin

2011-09-03 Thread Sam
Hi Jose,

I'm sorry for the late response. What do you mean by the admin
console? (If you mean the launcher app that comes with the Python SDK,
I can't get that to work with my Java app.)

Thanks,
Sam

On Aug 23, 1:16 pm, Jose Montes de Oca jfmontesde...@google.com
wrote:
 Hi Sam,

 This happened after enabling the datastore admin? could you just refresh the
 admin console, access the datastore admin under data - Datastore Admin an
 let us know if its working?

 Best,
 Jose Montes de Oca
 Developer Support Specialist

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Can't enable datastore admin

2011-08-22 Thread Sam
Hi,

I'm trying to take advantage of the new Java datastore admin functionality 
in v1.5.3. However, every time I click Enable for Datastore Admin, I get 
the error message A version with the name:ah-builtin-python-bundle, already 
exists. Has anyone else encountered this? Do you know how to fix it?

Thanks,

Sam

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/BLOWraffMqIJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] - datastore owned parent to child query capabilities

2011-08-03 Thread sam
Is there an example to query parent list based on filter criteria
based on child attributed.
Parent has list of children. Not one child.

I have seen examples of parent having one child and basic filter on
parent attributes but not using child attributes where child is a list
inside parent.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Google update available for Eclipse?

2011-05-07 Thread Sam Stigler
Thanks!

Sam

On May 6, 2011, at 6:53 AM, David Chandler drfibona...@google.com wrote:

 http://code.google.com/webtoolkit/doc/latest/ReleaseNotes.html
 
 GPE is led by the GWT team. You'll also find most discussion about GPE
 releases on the GWT group:
 http://groups.google.com/group/google-web-toolkit
 
 /dmc
 
 On May 6, 12:18 am, Sam Stigler sam.stig...@gmail.com wrote:
 Hi all,
 
 I got a message today that there are some Google updates available for the 
 Eclipse plugin and installing the updates now, but I can't find release 
 notes for them. Can someone please point me in the right direction?
 
 Thanks,
 Sam
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Google update available for Eclipse?

2011-05-05 Thread Sam Stigler
Hi all,

I got a message today that there are some Google updates available for the 
Eclipse plugin and installing the updates now, but I can't find release notes 
for them. Can someone please point me in the right direction?

Thanks,
Sam

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] Re: Getting class not found errors on my project... any ideas why?

2011-04-29 Thread Sam Stigler
Thanks Nichole,

I'd like to try this... just not sure if I remember my Java well enough to get 
what you're saying. Are you talking about using that chunk of code in place of 
my import?

Also, just to clarify, I'm encountering the error while not in Production mode 
-- just trying to debug my code in Eclipse.

Sam

On Apr 28, 2011, at 9:25 PM, Nichole wrote:

 When I need to use document operations rather than a sax2 parser
 through the XMLReaderFactory
 reader, I set a system property which declares the first preferred
 implementation of the factory:
 
 String appEngineEnv =
 System.getProperty(com.google.appengine.runtime.environment);
 
 if (appEngineEnv != null 
 appEngineEnv.equalsIgnoreCase(Production)){ // else Development
// avail in app engine:
System.setProperty(javax.xml.parsers.SAXParserFactory,
 
 com.sun.org.apache.xerces.internal.parsers.SAXParserFactoryImpl);
 }
 
 
 
 
 On Apr 27, 8:58 pm, Sam sam.stig...@gmail.com wrote:
 Hi,
 
 I'm new to App Engine. I just spent the weekend porting my code over
 to Java. The major class in my app is a SAX XML parser that extends
 DefaultHandler. For some reason, I keep on getting errors similar to
 the following (extracted from the Eclipse debugger) whenever I try to
 get a PersistenceManager:
 
 Source not found
 -
 The JAR file /Applications/eclipse/plugins/
 com.google.appengine.eclipse.sdkbundle_1.4.3v201103311225/appengine-
 java-sdk-1.4.3/lib/usr/appengine-api-1.0-sdk-1.4.3.jar has no source
 attachment.
 
 You can attach source by clicking Attach Source below:
 
 // Attach Source button follows
 
 I've tried deleting Eclipse and then re-install both it and the Google
 add-ons, but that didn't help. The error is happening both when I try
 to instantiate an instance of the PMF class as shown in the Guestbook
 example, and when I try to eliminate that by using the following line
 instead:
 
 PersistenceManager pm =
 javax.jdo.JDOHelper.getPersistenceManagerFactory().getPersistenceManager();
 
 My call stack for the main thread looks like the following every time
 it crashes:
 
 XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean)
 line: 820
 XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource)
 line: 737
 SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource) line: 119
 SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(InputSource)
 line: 1205
 SAXParserImpl$JAXPSAXParser.parse(InputSource) line: 522
 SAXParserImpl$JAXPSAXParser.parse(String, DefaultHandler) line: 277
 MyServlet.doGet(HttpServletRequest, HttpServletResponse) line: 24
 MyServlet(HttpServlet).service(HttpServletRequest,
 HttpServletResponse) line: 617
 MyServlet(HttpServlet).service(ServletRequest, ServletResponse) line:
 717
 ServletHolder.handle(ServletRequest, ServletResponse) line: 511
 ... and so on. I'm willing to send the entire callstack if anyone
 would find that helpful.
 
 Some classes I don't even get a class not found error for; just
 Source not found. in red text with a button to edit the source
 lookup path. Those classes include XIncludeAwareParserConfiguration,
 SAXParserImpl$JAXPSAXParser, ServletHolder, ServeBlobFilter,
 ServletHandler, StaticFileFilter, SecurityHandler,
 DevAppEngineWebAppContext, JettyContainerService$ApiProxyHandler,
 Server, HttpConnection, HttpParser, and QueuedThreadPool$PoolThread.
 
 The classes that are getting the class not found errors are all
 saying the AppEngine jar doesn't have source attached to it, see
 above. They are: TransactionCleanupFilter, my servlet (which extends
 HttpServlet), SelectChannelConnector$ConnectorEndPoint.
 
 I'm stumped.
 
 Do you have any ideas?
 
 Thanks in advance,
 
 Sam Stigler
 sam.stig...@gmail.com
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine for Java group.
 To post to this group, send email to google-appengine-java@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine-java+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine-java?hl=en.
 

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: Getting class not found errors on my project... any ideas why?

2011-04-28 Thread Sam
Just want to update this Upon further investigation it looks like
the Google SDK I downloaded has a bad JAR file -- I got the following
result when I tried to jar tf appengine-java-sdk-1.4.3 :

java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.init(ZipFile.java:127)
at java.util.zip.ZipFile.init(ZipFile.java:88)
at sun.tools.jar.Main.list(Main.java:979)
at sun.tools.jar.Main.run(Main.java:224)
at sun.tools.jar.Main.main(Main.java:1149)

Is anyone else getting the same error; and do you know of a
workaround?

Sam

On Apr 27, 8:58 pm, Sam sam.stig...@gmail.com wrote:
 Hi,

 I'm new to App Engine. I just spent the weekend porting my code over
 to Java. The major class in my app is a SAX XML parser that extends
 DefaultHandler. For some reason, I keep on getting errors similar to
 the following (extracted from the Eclipse debugger) whenever I try to
 get a PersistenceManager:

 Source not found
 -
 The JAR file /Applications/eclipse/plugins/
 com.google.appengine.eclipse.sdkbundle_1.4.3v201103311225/appengine-
 java-sdk-1.4.3/lib/usr/appengine-api-1.0-sdk-1.4.3.jar has no source
 attachment.

 You can attach source by clicking Attach Source below:

 // Attach Source button follows

 I've tried deleting Eclipse and then re-install both it and the Google
 add-ons, but that didn't help. The error is happening both when I try
 to instantiate an instance of the PMF class as shown in the Guestbook
 example, and when I try to eliminate that by using the following line
 instead:

 PersistenceManager pm =
 javax.jdo.JDOHelper.getPersistenceManagerFactory().getPersistenceManager();

 My call stack for the main thread looks like the following every time
 it crashes:

 XIncludeAwareParserConfiguration(XML11Configuration).parse(boolean)
 line: 820
 XIncludeAwareParserConfiguration(XML11Configuration).parse(XMLInputSource)
 line: 737
 SAXParserImpl$JAXPSAXParser(XMLParser).parse(XMLInputSource) line: 119
 SAXParserImpl$JAXPSAXParser(AbstractSAXParser).parse(InputSource)
 line: 1205
 SAXParserImpl$JAXPSAXParser.parse(InputSource) line: 522
 SAXParserImpl$JAXPSAXParser.parse(String, DefaultHandler) line: 277
 MyServlet.doGet(HttpServletRequest, HttpServletResponse) line: 24
 MyServlet(HttpServlet).service(HttpServletRequest,
 HttpServletResponse) line: 617
 MyServlet(HttpServlet).service(ServletRequest, ServletResponse) line:
 717
 ServletHolder.handle(ServletRequest, ServletResponse) line: 511
 ... and so on. I'm willing to send the entire callstack if anyone
 would find that helpful.

 Some classes I don't even get a class not found error for; just
 Source not found. in red text with a button to edit the source
 lookup path. Those classes include XIncludeAwareParserConfiguration,
 SAXParserImpl$JAXPSAXParser, ServletHolder, ServeBlobFilter,
 ServletHandler, StaticFileFilter, SecurityHandler,
 DevAppEngineWebAppContext, JettyContainerService$ApiProxyHandler,
 Server, HttpConnection, HttpParser, and QueuedThreadPool$PoolThread.

 The classes that are getting the class not found errors are all
 saying the AppEngine jar doesn't have source attached to it, see
 above. They are: TransactionCleanupFilter, my servlet (which extends
 HttpServlet), SelectChannelConnector$ConnectorEndPoint.

 I'm stumped.

 Do you have any ideas?

 Thanks in advance,

 Sam Stigler
 sam.stig...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: How to read large files from the Blobstore using the file API ?

2011-04-15 Thread Sam
I would just try doing whatever you are doing in an offline process
(task queue) and then notify the client when it is done.

On Apr 13, 2:33 am, DanielP daniel.pasca...@gmail.com wrote:
 Could maybe someone from Google help with this ?
 5MB is not so much - it shouldn't really take 30s !!
 Thanks !
 Daniel

 On Apr 7, 3:09 pm, DanielP daniel.pasca...@gmail.com wrote:







  Hi,

  I am trying to read some 5MB XML files I have saved into the
  Blobstorevia the new APIs introduced in Version 1.4.3.
  The problem is that the read is so slow that I get a
  DeadlineExceededException :(

  I'm folowing the example provided in the docs 
  here:http://code.google.com/appengine/docs/java/blobstore/overview.html#Wr...

  Here is my code:

  AppEngineFile aeFile = fileService.getBlobFile(key);
 FileReadChannelreadChannel = fileService.openReadChannel(aeFile,
  false);
  BufferedReader reader = new
  BufferedReader(Channels.newReader(readChannel, UTF8));

  StringBuffer sBuffer = new StringBuffer();
  String line = null;
  while ((line = reader.readLine()) != null) sBuffer.append(line);

  So the question is: What is a fast way to read large files from the
  Blobstore?

  Many thanks for the help !
  Daniel

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] read in file and jump to a certain line

2011-04-15 Thread Sam
I am using the new App Engine file api to read in a file from the
blobstore and parse things out from specific lines. Can someone tell
me how I could jump to a specific line in the file without having to
iterate over every line until I find the line number I need?

Here is how I am currently doing it:

AppEngineFile file = null;
FileService fs = FileServiceFactory.getFileService();

file = fs.getBlobFile(new BlobKey(blobKeyString));

FileReadChannel readChannel = fs.openReadChannel(file, 
false);

BufferedReader reader = new
BufferedReader(Channels.newReader(readChannel, UTF8));

String line = null;
int linePosition = lineNumber;
while((line = reader.readLine()) != null){

if ((linePosition = lineNumber)  
(linePosition  lineNumber +
LINECOUNT)) {
//do stuff with line here
}
else if(linePosition == lineNumber + LINECOUNT)
break;

linePosition++;
}

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: URLFetch 1MB Request Limit

2011-04-06 Thread Sam Edwards
There is a new experimental feature:
http://code.google.com/appengine/docs/java/blobstore/overview.html#Writing_Files_to_the_Blobstore

or you can check the size, and if it's over 1 mb, you can split it
into multiple pieces?

On Apr 6, 7:33 am, Gwyn O'Howell gwyn.how...@appogee.co.uk wrote:
 I am at the tail end of developing an App which takes documents from google
 docs and exports them into another system via urlfetch calls. Everything
 works fine, until the size of the doc exceeds 1MB, due to the !MB Request
 Limit with URLFetch. What I am trying to do doesn't seem like an unusual
 practice - taking documents from google docs into another web based system,
 yet we are now restricted by this 1MB limit, which is very low in comparison
 to the 32MB Response limit. This limit doesn't seem to be negotiable with
 the quotas. Does anyone know why this limit is so low? And if there is
 anything I can do to get around it?!

 Thanks.
 Gwyn

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: Could Not Verify SSL Certificate

2011-03-04 Thread Sam Edwards
Still experiencing the same problem with 1.4.2

On Feb 28, 1:35 pm, Rafael Nunes rafael.nu...@gmail.com wrote:
 Same problem here.
 Any news?

 On Feb 19, 12:05 am, mushion22 goodham...@gmail.com wrote:







  I have the same issue using 1.4.2 on OS X 10.6. The app works fine
  when deployed to production, but has theseSSLcertificateerrors in
  the development server. Seems to affect more than just the Google
  APIs, am having the same issue with RestFB.

  On Feb 18, 3:55 pm, Tod Jiang t...@cherrymind.com wrote:

   Yes, I got the similar issue, and it's ok in SDK1.4.0

   latest spreadsheet api

   Caused by: javax.net.ssl.SSLHandshakeException:CouldnotverifySSL
  certificatefor:https://spreadsheets.google

   On Feb 17, 7:30 pm, Nurettin Omer Hamzaoglu nomerhamzao...@gmail.com
   wrote:

Hi,

After I've update to GAE 1.4.2 I started to receive the following error 
when
retrieving customer license.
javax.net.ssl.SSLHandshakeException:CouldnotverifySSLcertificatefor:https://www.googleapis.com/appsmarket/v2sandbox/customerLicense/

Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
App Engine API 1.4.2
Google API Client 1.2.2 alpha

With the following versions I'mnotgetting the error, everything works
fine.
Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
App Engine API 1.4.0
Google API Client 1.2.2 alpha

I've also opened threads 
athttps://groups.google.com/forum/?lnk=raot#!topic/google-apps-marketpl...
 andhttps://groups.google.com/forum/?lnk=raot#!topic/google-api-java-clie...
 andhttps://groups.google.com/forum/?lnk=raot#!topic/google-api-java-clie...
.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



Re: [appengine-java] jsonengine: a JSON storage that requires no server-side coding

2011-02-16 Thread Sam Collins
Awesome! I've been looking for something like this for a while. One 
question: does it work with JSONP (for cross domain xhr's)?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: Could not verify SSL certificate

2011-02-16 Thread Sam Edwards
I am experiencing the same errors.

I am using App Engine 1.4.2 from the Google Eclipse Plugin and was not
previously with 1.3.8.

javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate
for:
https://graph.facebook.com/oauth/access_token?client_secret=b38c915ae1d83f319f16e1dc3e7c32eeredirect_uri=http%3A%2F%2Flocalhost%3A%2Ffacebook%2Fcallbackcode=164db2afc57bace1c30c6bc0-6216557%7Cp9zFYU1_XIoWdcSOt0kMtae1k2sclient_id=144493055605
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.convertApplicationException(URLFetchServiceImpl.java:
114)
at
com.google.appengine.api.urlfetch.URLFetchServiceImpl.fetch(URLFetchServiceImpl.java:
41)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.fetchResponse(URLFetchServiceStreamHandler.java:418)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.getInputStream(URLFetchServiceStreamHandler.java:297)
at
com.google.apphosting.utils.security.urlfetch.URLFetchServiceStreamHandler
$Connection.getResponseCode(URLFetchServiceStreamHandler.java:150)
at
com.handstandtech.server.rest.RESTClientImpl.requestWithAuthenticator(RESTClientImpl.java:
143)
at
com.handstandtech.server.rest.RESTClientImpl.request(RESTClientImpl.java:
180)
at
com.traqmate.share.server.servlet.facebook.FacebookCallbackServlet.doGet(FacebookCallbackServlet.java:
89)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:
511)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1166)
at
org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:
176)
at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:
145)
at
org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:
92)
at
org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:
381)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.traqmate.share.server.util.PrePageLoadFilter.doFilter(PrePageLoadFilter.java:
55)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.api.blobstore.dev.ServeBlobFilter.doFilter(ServeBlobFilter.java:
58)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.apphosting.utils.servlet.TransactionCleanupFilter.doFilter(TransactionCleanupFilter.java:
43)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
com.google.appengine.tools.development.StaticFileFilter.doFilter(StaticFileFilter.java:
122)
at org.mortbay.jetty.servlet.ServletHandler
$CachedChain.doFilter(ServletHandler.java:1157)
at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:
388)
at
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:
216)
at
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:
182)
at
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:
765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:
418)
at
com.google.apphosting.utils.jetty.DevAppEngineWebAppContext.handle(DevAppEngineWebAppContext.java:
70)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at com.google.appengine.tools.development.JettyContainerService
$ApiProxyHandler.handle(JettyContainerService.java:351)
at
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:
152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:
542)
at org.mortbay.jetty.HttpConnection
$RequestHandler.headerComplete(HttpConnection.java:923)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:547)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at
org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:
409)
at org.mortbay.thread.QueuedThreadPool
$PoolThread.run(QueuedThreadPool.java:582)

On Feb 15, 6:57 am, Nurettin Omer Hamzaoglu nomerhamzao...@gmail.com
wrote:
 To be more clear here are the versions I currently use which I get the
 error;

 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
 App Engine API 1.4.2
 Google API Client 1.2.2 alpha

 With the following versions I'm not getting the same error.

 Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
 App Engine API 1.4.0
 Google API Client 1.2.2 

[appengine-java] Cron Jobs Not Updating on Deploy

2011-01-28 Thread Sam Edwards
I've been doing deploys since yesterday afternoon and I keep
consistently getting errors after it is deployed and it is updating
the cron jobs.  This has been working in up until early yesterday
afternoon, so I'm not sure of the issue.  Below I have the console
text from the deploy as well as the error log and my cron.xml file
contents.  While searching around the group and the internet to see
what's going on I found this old bug, and I wonder if it is the same
problem?  http://code.google.com/p/googleappengine/issues/detail?id=1333

Things I have tried:
-I've tried deleting the cron.xml file completely to see if it will
remove my cron jobs (doesn't work)
-I've tried modifying my cron.xml file to only have 1 cron job
(doesn't work)

Any help would be appreciated My app id is 4sqbrands.  Thanks in
advance!

-Sam Edwards
---
Creating staging directory
Scanning for jsp files.
Compiling jsp files.
Scanning files on local disk.
Scanned 250 files.
Initiating update.
Cloning 67 static files.
Cloning 262 application files.
Cloned 100 files.
Cloned 200 files.
Uploading 0 files.
Initializing precompilation...
Deploying new version.
Will check again in 1 seconds.
Will check again in 2 seconds.
Will check again in 4 seconds.
Will check again in 8 seconds.
Will check again in 16 seconds.
Closing update: new version is ready to start serving.
Uploading index definitions.
Uploading cron jobs.
java.io.IOException: Error posting to URL:
https://appengine.google.com/api/datastore/cron/update?app_id=4sqbrandsversion=10;
500 Internal Server Error

Server Error (500)
A server error has occurred.


Debugging information may be found in /private/var/folders/PT/
PTrzClF5FGSW4OG7ZRxZqk+++TI/-Tmp-/appengine-
deploy3304221146282687426.log
-
SamE:~ ssaammee$ cat /private/var/folders/PT/PTrzClF5FGSW4OG7ZRxZqk++
+TI/-Tmp-/appengine-deploy3304221146282687426.log
Unable to update:
java.io.IOException: Error posting to URL:
https://appengine.google.com/api/datastore/cron/update?app_id=4sqbrandsversion=10;
500 Internal Server Error

Server Error (500)
A server error has occurred.

at
com.google.appengine.tools.admin.ServerConnection.send(ServerConnection.java:
149)
at
com.google.appengine.tools.admin.ServerConnection.post(ServerConnection.java:
82)
at
com.google.appengine.tools.admin.AppVersionUpload.send(AppVersionUpload.java:
582)
at
com.google.appengine.tools.admin.AppVersionUpload.updateCron(AppVersionUpload.java:
284)
at
com.google.appengine.tools.admin.AppVersionUpload.doUpload(AppVersionUpload.java:
135)
at
com.google.appengine.tools.admin.AppAdminImpl.update(AppAdminImpl.java:
56)
at
com.google.appengine.eclipse.core.proxy.AppEngineBridgeImpl.deploy(AppEngineBridgeImpl.java:
271)
at
com.google.appengine.eclipse.core.deploy.DeployProjectJob.runInWorkspace(DeployProjectJob.java:
146)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
---
?xml version=1.0 encoding=UTF-8?
cronentries
cron
url/cron/hourly/url
descriptionFollows new Brands when Discovered/description
scheduleevery 1 hours synchronized/schedule
/cron
cron
url/cron/daily/url
descriptionCollects Brand Follower Stats Daily at 12:05am 
Pacific
Time (Same as Google Analytics)/description
scheduleevery day 00:05/schedule
timezoneAmerica/Los_Angeles/timezone
/cron
cron
url/cron/dotweet/url
descriptionSends out a Tweet of New Brands at 
8:00am/description
scheduleevery day 8:00/schedule
timezoneAmerica/New_York/timezone
/cron
cron
url/cron/dotweet/url
descriptionSends out a Tweet of New Brands at 
8:00pm/description
scheduleevery day 20:00/schedule
timezoneAmerica/New_York/timezone
/cron
/cronentries

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: logging seems be disabled in my app

2010-11-27 Thread Sam G
Logging disabled in my app as well... along with the intermittent 500
errors on pages that should be working fine.

On Nov 26, 8:30 pm, pdknsk pdk...@googlemail.com wrote:
 Likewise. I've suddenly also been getting 500 errors, which I can't
 investigate since no error is in the logs. Quite frustrating.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Logging issues + Intermittent 500 Errors

2010-11-27 Thread Sam G
a number of my apps have been having logging issues for the past 48-72
hours... along with intermittent 500 errors encountered in tested,
proven code.

in addition... noticed more 500 errors from URLs that App Engine
intercepts, like /_ah/openid_verify... could this be related?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Logging issues + Intermittent 500 Errors

2010-11-27 Thread Sam G
If anybody else has these issues, make it known at
http://code.google.com/p/googleappengine/issues/detail?id=4160.

On Nov 27, 3:20 pm, Sam G samuel.gam...@gmail.com wrote:
 a number of my apps have been having logging issues for the past 48-72
 hours... along with intermittent 500 errors encountered in tested,
 proven code.

 in addition... noticed more 500 errors from URLs that App Engine
 intercepts, like /_ah/openid_verify... could this be related?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: How to use Python Bulk uploader to import data in local_db.bin ?

2010-11-07 Thread Sam E.
I've been getting the same problems when trying to import my csv
backup to my local development datastore.  I've had success with using
a live app engine instance, but am having errors with my development
datastore.

I've been running the following command:
appcfg.py upload_data --url=http://localhost:/remote_api --
kind=Deal  --filename=Deal.csv --config_file=dealsconfig.yml --
application=dealsexample

I end up with this error:
/usr/local/bin/appcfg.py:42: DeprecationWarning: the sha module is
deprecated; use the hashlib module instead
  os.path.join(DIR_PATH, 'lib', 'django'),
/Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/Contents/
Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/tools/dev_appserver_login.py:33:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Uploading data records.
[INFO] Logging to bulkloader-log-20101107.012940
[INFO] Throttling transfers:
[INFO] Bandwidth: 25 bytes/second
[INFO] HTTP connections: 8/second
[INFO] Entities inserted/fetched/modified: 20/second
[INFO] Batch Size: 10
[INFO] Opening database: bulkloader-progress-20101107.012940.sql3
Please enter login credentials for localhost
Email: t...@example.com
Password for t...@example.com:
[INFO] Connecting to localhost:/remote_api
[ERROR   ] Exception during authentication
Traceback (most recent call last):
  File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/tools/bulkloader.py, line 3175, in
Run
self.request_manager.Authenticate()
  File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/tools/bulkloader.py, line 1187, in
Authenticate
remote_api_stub.MaybeInvokeAuthentication()
  File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/ext/remote_api/remote_api_stub.py,
line 539, in MaybeInvokeAuthentication
datastore_stub._server.Send(datastore_stub._path, payload=None)
  File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
google_appengine/google/appengine/tools/appengine_rpc.py, line 341,
in Send
f = self.opener.open(req)
  File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/urllib2.py, line 389, in open
  File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/urllib2.py, line 502, in http_response
  File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/urllib2.py, line 427, in error
  File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/urllib2.py, line 361, in _call_chain
  File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
python2.6/urllib2.py, line 510, in http_error_default
HTTPError: HTTP Error 404: Not Found
[INFO] Authentication Failed


I am on a Mac with App Engine SDK 1.3.8.  I've been messing around
with this for hours to no avail.  I've tried tips from
http://stackoverflow.com/questions/1260835/which-credentials-should-i-put-in-for-google-app-engine-bulkloader-at-development
but no luck.

Any suggestions for loading into the local datastore using java and
the remote_api servlet?  This would be really helpful for testing.

Thank you!
-Sam Edwards
http://handstandsam.com


On Oct 21, 4:13 am, cYr4X j.wal...@gmail.com wrote:
 Hi,

 Currently, I successfully download and upload data into my Java
 Application on Google App Engine in production environment using the
 python BulkUploader (I followed this nice tutorial 
 :http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-eng...)

 But I'm facing a problem using the same process to import data in my
 local environment.

 The Google App Engine's documentation says that we need to run the
 following command in order to upload data inlocalhost:

 appcfg.pyupload_data--config_file=album_loader.py --
 filename=album_data.csv --kind=Album --url=http://localhost:8080/
 remote_api app-directory

 where app-directory contains my app.yaml.

 But when i ran this command, appcfg.py has returned the following
 error :

 Unable to assign value 'java' to attribute 'runtime':
 Value 'java' for key runtime does not match expression '^python$'

 Is it possible to bulkupload data in Local Database of a Java
 Application using the Python Bulkloader?

 Best Regards

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http

[appengine-java] Re: How to use Python Bulk uploader to import data in local_db.bin ?

2010-11-07 Thread Sam E.
I've found another posting with the same problem here:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/984c1b4747c1a44e/5e258e269f208444

Regards,
-Sam Edwards
http://handstandsam.com

On Nov 7, 1:50 am, Sam E. ssaam...@gmail.com wrote:
 I've been getting the same problems when trying to import my csv
 backup to my local development datastore.  I've had success with using
 a live app engine instance, but am having errors with my development
 datastore.

 I've been running the following command:
 appcfg.pyupload_data--url=http://localhost:/remote_api--
 kind=Deal  --filename=Deal.csv --config_file=dealsconfig.yml --
 application=dealsexample

 I end up with this error:
 /usr/local/bin/appcfg.py:42: DeprecationWarning: the sha module is
 deprecated; use the hashlib module instead
   os.path.join(DIR_PATH, 'lib', 'django'),
 /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/Contents/
 Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/tools/dev_appserver_login.py:33:
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
   import md5
 Uploading data records.
 [INFO    ] Logging to bulkloader-log-20101107.012940
 [INFO    ] Throttling transfers:
 [INFO    ] Bandwidth: 25 bytes/second
 [INFO    ] HTTP connections: 8/second
 [INFO    ] Entities inserted/fetched/modified: 20/second
 [INFO    ] Batch Size: 10
 [INFO    ] Opening database: bulkloader-progress-20101107.012940.sql3
 Please enter login credentials forlocalhost
 Email: t...@example.com
 Password for t...@example.com:
 [INFO    ] Connecting tolocalhost:/remote_api
 [ERROR   ] Exception during authentication
 Traceback (most recent call last):
   File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
 Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/tools/bulkloader.py, line 3175, in
 Run
     self.request_manager.Authenticate()
   File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
 Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/tools/bulkloader.py, line 1187, in
 Authenticate
     remote_api_stub.MaybeInvokeAuthentication()
   File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
 Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/ext/remote_api/remote_api_stub.py,
 line 539, in MaybeInvokeAuthentication
     datastore_stub._server.Send(datastore_stub._path, payload=None)
   File /Users/ssaammee/Desktop/data/GoogleAppEngineLauncher.app/
 Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/
 google_appengine/google/appengine/tools/appengine_rpc.py, line 341,
 in Send
     f = self.opener.open(req)
   File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
 python2.6/urllib2.py, line 389, in open
   File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
 python2.6/urllib2.py, line 502, in http_response
   File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
 python2.6/urllib2.py, line 427, in error
   File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
 python2.6/urllib2.py, line 361, in _call_chain
   File /System/Library/Frameworks/Python.framework/Versions/2.6/lib/
 python2.6/urllib2.py, line 510, in http_error_default
 HTTPError: HTTP Error 404: Not Found
 [INFO    ] Authentication Failed

 I am on a Mac with App Engine SDK 1.3.8.  I've been messing around
 with this for hours to no avail.  I've tried tips 
 fromhttp://stackoverflow.com/questions/1260835/which-credentials-should-i...
 but no luck.

 Any suggestions for loading into the local datastore using java and
 the remote_api servlet?  This would be really helpful for testing.

 Thank you!
 -Sam Edwardshttp://handstandsam.com

 On Oct 21, 4:13 am, cYr4X j.wal...@gmail.com wrote:







  Hi,

  Currently, I successfully download and upload data into my Java
  Application on Google App Engine in production environment using the
  python BulkUploader (I followed this nice tutorial 
  :http://ikaisays.com/2010/06/10/using-the-bulkloader-with-java-app-eng...)

  But I'm facing a problem using the same process to import data in my
  local environment.

  The Google App Engine's documentation says that we need to run the
  following command in order to upload data inlocalhost:

  appcfg.pyupload_data--config_file=album_loader.py --
  filename=album_data.csv --kind=Album --url=http://localhost:8080/
  remote_api app-directory

  where app-directory contains my app.yaml.

  But when i ran this command, appcfg.py has returned the following
  error :

  Unable to assign value 'java' to attribute 'runtime':
  Value 'java' for key runtime does not match expression '^python$'

  Is it possible to bulkupload data in Local Database of a Java
  Application using the Python Bulkloader?

  Best Regards

-- 
You received this message because you

[google-appengine] Re: App Gallery no longer available

2010-11-06 Thread Sam Lores
I tried to look at the Chrome Web Store, but it is still in demo mode.
there is no browsable apps there. the question now is Google going to
clarify what becomes of the app gallery, I noticed that they even
removed it from the search engine

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: What are benefits of using Core Value Types?

2010-08-10 Thread Sam E.
Thanks Ikai!

Makes sense.  Will probably just use Strings then.

Appreciate all your blogposts on ikaisays.com

Cheers,
-Sam Edwards
http://twitter.com/HandstandSam

On Aug 9, 5:00 pm, Ikai L (Google) ika...@google.com wrote:
 In the Python API, these just make it easier to serialize to XML. As of
 right now, there's no added benefit of using these fields other than type
 safety, but you can probably build this yourself.





 On Mon, Aug 9, 2010 at 8:25 AM, Sam E. ssaam...@gmail.com wrote:
  I'm curious what the benefits are for using a few of the core value
  types for Java that are listed here:

 http://code.google.com/appengine/docs/java/datastore/dataclasses.html...

  The types I don't see the value in are: Email, PhoneNumber,
  PostalAddress, Link, IMHandle, Category.

  All of these seem to be purely Strings without any sort of
  validation.  What's the benefit of using these over just Strings?

  Thanks,
  -Sam Edwards

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine for Java group.
  To post to this group, send email to
  google-appengine-j...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2B 
  unsubscr...@googlegroups.com
  .
  For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.

 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog:http://googleappengine.blogspot.com
 Twitter:http://twitter.com/app_engine
 Reddit:http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Re: App Datastore Update timing issue

2010-07-15 Thread Sam
Thanks much for the input and direction guys!

I'm coding it in now, so we'll see how it works out.  And yes, I had
missed the one little statement about the retrying of the transaction
until success.

Thanks again!

Sam

On Jul 15, 5:30 pm, Robert Kluin robert.kl...@gmail.com wrote:
 Yes it was.  :)

 Robert



 On Wed, Jul 14, 2010 at 5:49 PM, Chris Copeland ch...@cope360.com wrote:

  On Wed, Jul 14, 2010 at 3:54 PM, Sam couponsys...@gmail.com wrote:

  I believe all that it would do is
  move the timing issue from the main program logic to a defined
  transaction and we would still have the potential gap in time between
  when the initial query was executed to fetch the data and the put()
  was execute to write it back.

  If the data fetched by the get() at the first of the transaction has been
  changed (by another process) when you do the put() at the end of the
  transaction, then the transaction will be retried and it will do a new get
  which will see the other process's changes and the process repeats.  This
  isn't obvious, but it is talked about in one of the links I sent earlier.

  I think Robert's example is missing a put() at the end of the transaction
  function:

  def txn():
     ccode = CCode.all().filter('Assinged', 0)\
                     .filter('ExpireDate =', dtCompareDate)\
                     .filter(PartnerID, intPartnerID).get()
     if not ccode:
        # handle no ccode
     ccode.SessionID = strSessionID
     ccode.Assigned = 1
     ccode.put()

   db.run_in_transaction(txn)

  -Chris

  --
  You received this message because you are subscribed to the Google Groups
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group at
 http://groups.google.com/group/google-appengine?hl=en.- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] App Datastore Update timing issue

2010-07-14 Thread Sam
In working with the data store, I've been able to solve all of my
issues (coming from a RDBMS background, had to rethink a few
things!), save for one.  In the application I'm working on, it's
necessary to reserve a record at a moment in time and then display
that record to the end user, ensuring that each user gets a single
record and no duplicates are issued.  Working with the record prior,
and using SQL as an engine, I was able to use the following query:

UPDATE CCode SET SessionID = ' + strSessionID + ', Assigned = 1
WHERE Assigned = 0 AND PartnerID =  + str(intPartnerID) +  AND
ExpireDate = ' + str(dtCompareDate) + ' Limit 1

This would update the record in one pass and effectively reserve the
record for the established session, with no time lost inbetween
issuing the update and recording the change while SQL handled any
conflict resolution should two people request a record at the same
time.

However, dealing with datastore, I seem to be running into some
problems with timing and wanted to know if anyone had any creative
ways around it.

I realize that I can run a standard GqlQuery to return the results I
need and then update based on the returned result and add the session
to the record without a problem.  What concerns me is the timing
factor.  During the time it takes for the query to execute and the
resulting put() statement, it would be possible for another user to
arrive and make the same basic query recalling the same record set.  I
know I could check for updates against the datastore before writing
back (used to do this years ago...), but this could potentially cause
a deadlock condition when the load on the system became greater and
multiple simultaneous users needed access to the records for selection
and updating.

Any thoughts on how to work around this?

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: App Datastore Update timing issue

2010-07-14 Thread Sam
Robert,

Had originally looked at performing it in a transaction and wasn't
sure whether it isolated the just the transactional portion or the
data it was working with as well (I couldn't find any clear indication
of this).  Performing it in a transaction does make it a bit cleaner
(especially if used multiple times), but this query only needs to be
executed once per user visit, so I believe all that it would do is
move the timing issue from the main program logic to a defined
transaction and we would still have the potential gap in time between
when the initial query was executed to fetch the data and the put()
was execute to write it back.

The problem keeps coming around to the gap between requesting the data
and updating the data and how to either lock or tag the retrieved
record so no one else can request it (basically what the SQL Update
does in a single statement) or to isolate the transaction so only one
can be processed at a time (not a good solution at all, could
potentially cause lots of system degradation).

I guess my main question would be is what role does the transaction
play - code or data isolation or both?

By the way, wouldn't have to make the Partner as a parent, the
PartnerID is known and stored on the CCode table, so effectively:

 def txn():
ccode = CCode.all().filter('Assinged', 0)\
.filter('ExpireDate =', dtCompareDate)\
.filter(PartnerID, intPartnerID).get()
if not ccode:
   # handle no ccode
ccode.SessionID = strSessionID
ccode.Assigned = 1
  db.run_in_transaction(txn)

should work.



On Jul 14, 3:52 pm, Robert Kluin robert.kl...@gmail.com wrote:
 Hi Sam,
   Is there any way you could slightly refactor the query so that it
 can be run in a transaction?  Transactions can only operate on one
 entity group at a time; so, perhaps you can set the a partner as the
 parent of CCode.

   So your query (in Python) could look more like:

   def txn():
     partner_key = db.Key.from_path('Partner', intPartnerID)
     ccode = CCode.all().filter('Assinged', 0)\
                     .filter('ExpireDate =', dtCompareDate)\
                     .ancestor(partner_key).get()
     if not ccode:
        # handle no ccode
     ccode.SessionID = strSessionID
     ccode.Assigned = 1
   db.run_in_transaction(txn)



 On Wed, Jul 14, 2010 at 11:17 AM, Sam couponsys...@gmail.com wrote:
  In working with the data store, I've been able to solve all of my
  issues (coming from a RDBMS background, had to rethink a few
  things!), save for one.  In the application I'm working on, it's
  necessary to reserve a record at a moment in time and then display
  that record to the end user, ensuring that each user gets a single
  record and no duplicates are issued.  Working with the record prior,
  and using SQL as an engine, I was able to use the following query:

  UPDATE CCode SET SessionID = ' + strSessionID + ', Assigned = 1
  WHERE Assigned = 0 AND PartnerID =  + str(intPartnerID) +  AND
  ExpireDate = ' + str(dtCompareDate) + ' Limit 1

  This would update the record in one pass and effectively reserve the
  record for the established session, with no time lost inbetween
  issuing the update and recording the change while SQL handled any
  conflict resolution should two people request a record at the same
  time.

  However, dealing with datastore, I seem to be running into some
  problems with timing and wanted to know if anyone had any creative
  ways around it.

  I realize that I can run a standard GqlQuery to return the results I
  need and then update based on the returned result and add the session
  to the record without a problem.  What concerns me is the timing
  factor.  During the time it takes for the query to execute and the
  resulting put() statement, it would be possible for another user to
  arrive and make the same basic query recalling the same record set.  I
  know I could check for updates against the datastore before writing
  back (used to do this years ago...), but this could potentially cause
  a deadlock condition when the load on the system became greater and
  multiple simultaneous users needed access to the records for selection
  and updating.

  Any thoughts on how to work around this?

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine?hl=en.- Hide quoted text -

 - Show quoted text -

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http

[google-appengine] Smart card

2010-06-30 Thread Sam
Hello all.
I'm wondering if i can implement smart card authentication in GAE.

I'm aware that i will have to use a *.appspot domain in order to use
SSL. I don't like this idea because GAE uses a generic certificate to
all apps in appspot and this could cause impersonification of my
website to a user that mistypes the url (like google or gooogle)...
but i will have to live with that.

My question is about certificate validation. After i receive the
certificate from the client i need to validate it in a Certificate
Authority. Is it possible to do this in GAE?

I'm asking because the URL fetch API says :The proxy the URL Fetch
service uses cannot authenticate the host it is contacting. Because
there is no certificate trust chain, the proxy accepts all
certificates, including self-signed certificates. The proxy server
cannot detect man in the middle attacks between App Engine and the
remote host when using HTTPS.

So, will i be able to validade the entity of the CA i'm contacting and
thus the client certificate?

Or GAE will simply accept the certificate but i can't validate it?

Any opinion will be appreciated!
Tks!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [appengine-java] Java applet-servlet-db

2010-06-14 Thread Sam Eaton
Ok thats answerd my issue concicely. Thank you.

On 14 June 2010 20:00, Ikai L (Google) ika...@google.com wrote:

 No. JDBC requires low-level access to sockets. Use the datastore if you
 need persistence and want to run your application on App Engine.

 On Sun, Jun 13, 2010 at 7:37 AM, Nuluvius nuluv...@googlemail.com wrote:

 Hi,

 Im new to developing Java especialy in GAE. I wondered if this
 scenario would be possible:

 MVC application:

 The View component is an applet running on another server.
 The Controller component is a servlet accessing a MySQL database also
 on another server which pools the connections, these are obviously
 accessible from the applet.

 Am I correct in assuming that the servlet can be hosted on GAE, that
 it can connect via JDBC to a MySQL database on another server and then
 be accessed by the applet which is hosted elswhere?

 I appologise if there is some vaugeness (I am still learning) in what
 Im asking. Thanks for your time.

 --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.




 --
 Ikai Lan
 Developer Programs Engineer, Google App Engine
 Blog: http://googleappengine.blogspot.com
 Twitter: http://twitter.com/app_engine
 Reddit: http://www.reddit.com/r/appengine

  --
 You received this message because you are subscribed to the Google Groups
 Google App Engine for Java group.
 To post to this group, send email to
 google-appengine-j...@googlegroups.com.
 To unsubscribe from this group, send email to
 google-appengine-java+unsubscr...@googlegroups.comgoogle-appengine-java%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/google-appengine-java?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[google-appengine] Appengine JDO Query for searching in String

2010-05-23 Thread Sam
Hi All,

I am looking for the following capability via the JDO interface to
Java appengine datastore:

I have a datastore Entity which has a String property description. I
would like for users of my application to be able to search for all
entities through description. For example:

Entity 1: description: Apple Mac Laptop
Entity 2: description: Apple iPhone
Entity 3: description: Apple Mac Desktop

When users search for Apple, I want would like to return all
entities above. If users search for Apple Mac, I would like to
return Entity 1 and Entity 3.

Does the Java JDO Query API provide me anything to do this? So far I
have been unsuccessful.

Thanks in advance.

Sam K.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Django + django-rest-interface

2010-05-21 Thread Sam Krishna
Hi All,

Does anyone have any suggestions about how to add REST services to an app built 
on top of GAE's Django?

I'm trying to get GAE's Django to work with django-rest-interface, but it's 
just not coming together. And it looks like the appengine-rest-server library 
doesn't work with GAE's Django, either.

HELP!

Namaste Playfully,

Sam
-
If he listens in faith,
finding no fault, a man is free
and will attain the cherished worlds
of those who act in virtue.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Deleting individual files from app directory

2010-05-13 Thread Sam Krishna
Hi,

I'm trying to remove files from a directory w/o deleting the app itself. Is 
there a way to do this or am I just going to need to start a new project 
instance? Thanks!

Namaste Playfully,

Sam
-
If he listens in faith,
finding no fault, a man is free
and will attain the cherished worlds
of those who act in virtue.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Using GAE with iCalendar

2010-05-12 Thread Sam Krishna
Hi Robert,

I'm already using the datastore for my data. I also have diligently
been working with the getting started guide.

Where things are for me now is that I've uploaded the icalendar 2.1
library underneath my app directory. At this point, I keep getting a
500 server error message referring me back to this email list for
discussions. I feel like I'm pretty close.

Currently, the logs are reporting back this error:

type 'exceptions.ImportError': No module named icalendar
Traceback (most recent call last):
  File /base/data/home/apps/clock-me/1.341887628091929024/clock-
me.py, line 31, in module
from icalendar import Calendar, Event

This seems like a strange error to report back, since I thought I had
the icalendar directory configured correctly.

I'm going to try a different approach since I've learned a lot more
since 11 am today!

-S

On May 11, 7:36 pm, Robert Kluin robert.kl...@gmail.com wrote:
 Sam,
   Have you considered the datastore?
    http://code.google.com/appengine/docs/python/datastore/

   You may also want to start by looking at the getting started guide.
      http://code.google.com/appengine/docs/python/gettingstarted/

 Robert





 On Tue, May 11, 2010 at 10:16 AM, Sam Krishna sam.kris...@gmail.com wrote:
  Hi all,

  I'm extremely new to GAE, so please forgive the potential newbie questions 
  here (and yes, I have done a search on archives and haven't seen what I'm 
  about to ask):

  I'd like to use the python iCalendar framework 
  (http://codespeak.net/icalendar/) with my GAE app. However, it seems like 
  the GAE policy forbids me from creating .ics files dynamically and storing 
  them on the GAE filesystem. So, I wanted to ask if there was a way to 
  create and serve up a dynamically-created .ics file?

  TIA! :-)

  Namaste Playfully,

  Sam
  -
  If he listens in faith,
  finding no fault, a man is free
  and will attain the cherished worlds
  of those who act in virtue.

  --
  You received this message because you are subscribed to the Google Groups 
  Google App Engine group.
  To post to this group, send email to google-appeng...@googlegroups.com.
  To unsubscribe from this group, send email to 
  google-appengine+unsubscr...@googlegroups.com.
  For more options, visit this group 
  athttp://groups.google.com/group/google-appengine?hl=en.

 --
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group 
 athttp://groups.google.com/group/google-appengine?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



Re: [google-appengine] Re: Using GAE with iCalendar

2010-05-12 Thread Sam Krishna
That's what I'm discovering (dynamic vs. static). Right now I can create the 
Calendar object from iCalendar, but I don't seem to have a way to output it to 
text. Using the as_string() function keeps giving an error.

If anyone has some familiarity with this issue, feel free to respond.

Thanks!

-S

On May 12, 2010, at 6:16 AM, Greg wrote:

 You definitely can create ics files dynamically - in fact it's more
 difficult to create static files on appengine.
 
 Basically you want to either generate them per request, or generate
 them and store them in the datastore, pulling them from there on
 request.
 
 As long as the icalendar module is pure python, you should be able to
 use this too.
 
 Cheers
 Greg.
 I'd like to use the python iCalendar framework 
 (http://codespeak.net/icalendar/) with my GAE app. However, it seems like 
 the GAE policy forbids me from creating .ics files dynamically and storing 
 them on the GAE filesystem. So, I wanted to ask if there was a way to 
 create and serve up a dynamically-created .ics file?
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Google App Engine group.
 To post to this group, send email to google-appeng...@googlegroups.com.
 To unsubscribe from this group, send email to 
 google-appengine+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/google-appengine?hl=en.
 

Namaste Playfully,

Sam
-
If he listens in faith,
finding no fault, a man is free
and will attain the cherished worlds
of those who act in virtue.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Using GAE with iCalendar

2010-05-11 Thread Sam Krishna
Hi all,

I'm extremely new to GAE, so please forgive the potential newbie questions here 
(and yes, I have done a search on archives and haven't seen what I'm about to 
ask):

I'd like to use the python iCalendar framework 
(http://codespeak.net/icalendar/) with my GAE app. However, it seems like the 
GAE policy forbids me from creating .ics files dynamically and storing them on 
the GAE filesystem. So, I wanted to ask if there was a way to create and serve 
up a dynamically-created .ics file?

TIA! :-)

Namaste Playfully,

Sam
-
If he listens in faith,
finding no fault, a man is free
and will attain the cherished worlds
of those who act in virtue.

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: Prerelease: New Appengine Bulkloader

2010-04-22 Thread Sam Briesemeister
A couple of questions:

 - Is this feature easily ported into the 1.3.3 release of 4/21?
 - Is there a release timeline for this feature?

Thanks!


On Apr 9, 3:26 pm, Matthew Blain matthew.bl...@google.com wrote:
 I’d like to announce a wider prerelease of the new App Engine
 Bulkloader configuration format. This new format extends the existing
 bulkloader with a new format with several advantages:

   * Semi-Automatic configuration generation: The SDK can generate a
 bulkloader configuration based on your existing data.
   * Supports more data formats. CSV support has been extended to files
 with headers, basic XML support has been added, and it is simpler to
 use alternate text encodings in the files. Additional and custom data
 connectors are now easier to create.
   * Easier to use -- the new syntax is more declarative and
 descriptive than the old one. Developers who use languages other than
 Python no longer need to write code in the Python language, although
 the Python SDK is still required to run the tool.

 To try out the new bulkloader, please 
 visithttp://bulkloadersample.appspot.com/
 . Preliminary documentation is available on the README on that site
 along with a version of the 1.3.2 Python SDK containing the new
 bulkloader.

 You can send feedback to the group or directly to me.

 --Matthew Blain
 Google App Engine Team
 matthew.blain+bulkloa...@google.com

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] PolyModel _kind_map shortcomings

2010-03-19 Thread Sam G
Hello Group,

I am in the process of writing an application that manages many
diverse kinds of data, with a Connection model that connects any two
fragments of information together.

I originally evaluated a couple of ways to store this data (regular
models, a single expando type, etc) until I was eventually convinced
PolyModels would solve my design issues. I have written the
application with a root polymodel called 'E', which everything in the
application eventually inherits from.

Examples:

E-Person
E-Role-Doctor
E-Geoarea-Code-Zip

Reasons for choosing this design pattern:

1) Ability to query for properties that exist on E, and so are shared
by every model.
2) Reference properties can link to anything, because a link to E is a
link to any other model.
3) Organization for property inheritance seemed to make sense
4) Very little or no performance impact in testing

However, I have run into a number of problems with this design model.
First, PolyModel subclasses aren't registered in the _kind_map, yes?
Which means, as far as I can tell, that I can't do very basic queries
on E.

For example, E.all().fetch(100) fails with a No implementation for
class error, presumably because the subclasses it returns have not
been imported. Same when I try to use a PolyModel using the bulk
uploader tool - it also checks the _kind_map for the entity you're
trying to create.

How can I fix this? Is there a way to register my sub-polymodels in
the _kind_map, or a way to automatically import the module a class
belongs to once it is looked for?

If there is no way to fix these problems, I'm open to other ways to
solve.

Thanks in advance, -sam

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[google-appengine] Re: server error 500

2010-02-24 Thread Sam
My God, the humanity ... reminds me of the Hindenburg disaster

On Feb 24, 9:11 am, afkre8tive alana...@gmail.com wrote:
 I didn't do anything but try to deploy, like I do any other time, and
 I got this error...

 Error 500: --- begin server output ---

 htmlhead
 meta http-equiv=content-type content=text/html;charset=utf-8
 title500 Server Error/title
 /head
 body text=#00 bgcolor=#ff
 h1Error: Server Error/h1
 h2The server encountered an error and could not complete your
 request.pIf the problem persists, please A HREF=http://
 code.google.com/appengine/community.htmlreport/A your problem and
 mention this error message and the query that caused it./h2
 h2/h2
 /body/html

 Please help!

-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.



[appengine-java] Re: XMPP Problems

2010-01-21 Thread Sam
Same problem here .. looks like XMPP is down on app engine.

On Jan 20, 8:09 pm, Hani Naguib haninag...@gmail.com wrote:
 It looks like xmpp messages to the application do not get received.
 It can send xmpp and everything else seems fine.
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine for Java group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[google-appengine] Re: incoming XMPP down for app engine?

2010-01-21 Thread Sam
looks like the problem was googletalk being down 


On Jan 20, 9:39 pm, Hani Naguib haninag...@gmail.com wrote:
 Me too
 Posted about it 3-4 hours ago (on appengine java forum) , have not
 heard anything from anyone.
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




[google-appengine] incoming XMPP down for app engine?

2010-01-20 Thread Sam
Looks like it has been down for a couple hours ..
-- 
You received this message because you are subscribed to the Google Groups 
Google App Engine group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.




  1   2   >