Re: [google-appengine] ImagesService.getServingUrl fails with IllegalArgumentException and no error message for Cloud Storage object

2013-06-17 Thread dennis
Thanks Vinny! Permissions were the culprit. On Monday, June 17, 2013 11:19:17 PM UTC-6, Vinny P wrote: > > Hello again Dennis, > > On Mon, Jun 17, 2013 at 3:36 PM, dennis wrote: > >> One interesting thing to note is that the file was uploaded using the >> Cloud Console Web UI and not through

Re: [google-appengine] ImagesService.getServingUrl fails with IllegalArgumentException and no error message for Cloud Storage object

2013-06-17 Thread Vinny P
Hello again Dennis, On Mon, Jun 17, 2013 at 3:36 PM, dennis wrote: > One interesting thing to note is that the file was uploaded using the > Cloud Console Web UI and not through app engine sdk. Could that be what's > causing the problem? > > Amusingly enough, that might be the problem. I configu

Re: [google-appengine] Getting exit_code=204 on every second request

2013-06-17 Thread Vinny P
Hello Jeffery, Error code 204 generally means that your instance crashed for some reason. Can you post your source code? The problem is most likely there. - -Vinny P Technology & Media Advisor Chicago, IL My Go side project: http://invalidmail.com/ On Mon, Jun 17, 2013 at 11:2

Re: [google-appengine] local host 8080 tiny web db problem

2013-06-17 Thread Vinny P
Hello, On Mon, Jun 17, 2013 at 3:39 AM, vin karume wrote: > every time i run the tiny websb template and click on browse,i get a > server unavailable error and the page fails to completely load. what might > be the problem? > > There are a lot of potential problems that this could be. If you see

[google-appengine] Getting exit_code=204 on every second request

2013-06-17 Thread Jeffery Fernandez
I have a PHP project which works fine except on one particular page, if requested, fails with a: Error: Server ErrorThe server encountered an error and could not complete your request. When I check the logs I see the following: 1. 2013-06-18 14:16:38.723 /album/add 500 552ms 0kb Mozilla/5.0

[google-appengine] Re: Mommy-gae: Automate the creation of models when testing in Python

2013-06-17 Thread John Wheeler
Sounds like "Object Mother" pattern maybe? On Tuesday, June 11, 2013 2:33:38 PM UTC-7, Renzo Nuccitelli wrote: > > I wrote an open source project to automate the creation of models when > testing: > >https://github.com/renzon/mommy-gae > > I hope it helps more people then only my team. > >

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Brian Quinlan
On 17 June 2013 16:39, Andrew Gerrand wrote: > > On 18 June 2013 09:28, Andrew Gerrand wrote: >> >> Yet C++ style guide forbids the use of exceptions. Perhaps our systems >> aren't large or commercial enough for us to see the value. ;-) > > > That's supposed to say "Google's C++ guide". My apolog

Re: [google-appengine] Datastore auto ID policy change in 1.8.1

2013-06-17 Thread James Broberg
Yes, thankfully we found out about this bug on deploying to our staging environment, not production (we were still on SDK 1.7.7). To add further pain, the legacy is missing from the appengine-web.xml schema in the SDK, which means deploys will fail with the current SDK if you want to maintain lega

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Andrew Gerrand
On 18 June 2013 09:28, Andrew Gerrand wrote: > Yet C++ style guide forbids the use of exceptions. Perhaps our systems > aren't large or commercial enough for us to see the value. ;-) That's supposed to say "Google's C++ guide". My apologies. Andrew -- You received this message because you ar

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Andrew Gerrand
On 17 June 2013 18:39, Jeff Schnitzer wrote: > On Sun, Jun 16, 2013 at 3:37 PM, Andrew Gerrand wrote: > >> On Sunday, June 16, 2013 4:15:54 AM UTC+10, Jeff Schnitzer wrote: >> >>> >>> * No exceptions. This (and the "debate" around it) is just silly. >>> >> >> There is a much discussion about th

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Andrew Gerrand
On 18 June 2013 05:21, vlad wrote: > Jeff, nice writeup. I found it very useful. Sometime it takes calling > things as they are and bringing out the "inconvenient truths" > I work on Go and spend a lot of time talking to people about this stuff. What Jeff said is not new and represents just one

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

2013-06-17 Thread Andrew Jessup
Hi Ron - do you have a premier account with us? If so, please raise a ticket through the support portal and we can get an account manager to take a look. On Jun 17, 2013 4:51 AM, "Ron" wrote: > we are currently doing about 10 domains a day > > great news about a potential simpler solution, especi

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

2013-06-17 Thread Andrew Jessup
Hi Kyle - no, this unfortunately replaces the one user license of Google Apps Standard. The credit is designed to offset the cost of subscribing to a single user edition of Google Apps for Business for one year (after which, we expect to have a solution in place that will not require you to continu

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

2013-06-17 Thread Andrew Jessup
Hey pdnsk, that's what we are working towards, but we're not quite there yet. In the meantime we're offering a one time credit for users who need to purchase a one-user license of Google Apps for business. On Jun 16, 2013 3:53 PM, "pdknsk" wrote: > It is not clear from your wording what the solut

Re: [google-appengine] ImagesService.getServingUrl fails with IllegalArgumentException and no error message for Cloud Storage object

2013-06-17 Thread dennis
Thanks for the fast response Vinny, Here are the definitions for the BLOB_STORE and IMAGES_SERVICE variables. private static final BlobstoreService BLOB_STORE = BlobstoreServiceFactory.getBlobstoreService(); private static final ImagesService IMAGES_SERVICE = ImagesServiceFactory.getImagesS

[google-appengine] Datastore auto ID policy change in 1.8.1

2013-06-17 Thread Jesse Rohwer
Hello App Engine Developers, If you are not concerned with the way in which the App Engine Datastore allocates auto IDs for stored entities, you can omit the following -- your applications are running as they were before and the information below has no impact on you. In the 1.8.1 release of G

Re: [google-appengine] Re: I have old app without any data saved in datastore, can I change its datastire type to HRD directly without migrating it to another app?

2013-06-17 Thread Vinny P
Hello Tapir, On Mon, Jun 17, 2013 at 5:57 AM, Tapir wrote: > because I want to keep the http://*my-old-app-id*.appspot.com/*** urls > still active. > > Can I? > > You can't directly change an app's type from M/S to HRD, even if you have no data in the datastore. You have to use the migration to

Re: [google-appengine] ImagesService.getServingUrl fails with IllegalArgumentException and no error message for Cloud Storage object

2013-06-17 Thread Vinny P
Hello Dennis, Just to be clear the variable BLOB_STORE in your code represents the Files API accessing Google Cloud Storage, correct? Can you post that code as well? Secondly, if you are using Google Cloud Storage to save your images in, then you need to use a different function to create your Se

Re: [google-appengine] Re: on reading from google drive

2013-06-17 Thread Vinny P
On Mon, Jun 17, 2013 at 2:32 PM, Vik wrote: > we dont use maven so how do we get these? > > > You can still download files from Maven. Here's the URL to the Maven repo for the Google OAuth libraries: http://search.maven.org/#browse%7C-2090385365 . Look for the file marked google-api-services-oau

[google-appengine] ImagesService.getServingUrl fails with IllegalArgumentException and no error message for Cloud Storage object

2013-06-17 Thread dennis
Here's the code: public static String getNotFoundUrl(int size) { try { BlobKey blob_key = BLOB_STORE.createGsBlobKey("/gs/web_content/placeholder_img.png"); // Simple Test to make sure blob_key points at the right thing. byte[] image_data = BLOB_STORE.fetchData(blob_key, 0,

Re: [google-appengine] Re: on reading from google drive

2013-06-17 Thread Vik
we dont use maven so how do we get these? Thankx and Regards Vik Founder http://www.sakshum.org http://blog.sakshum.org On Mon, Jun 17, 2013 at 11:44 AM, Vinny P wrote: > On Mon, Jun 17, 2013 at 12:34 AM, Vik wrote: > >> Thanks Vinny >> >> I am not sure why references for >> >> import com.go

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread vlad
Jeff, nice writeup. I found it very useful. Sometime it takes calling things as they are and bringing out the "inconvenient truths" * I am especially amused by someone defending lack of exceptions as "complex and subtle issue" which just another way of saying, it is lifestyle choice and there i

Re: [google-appengine] Re: on reading from google drive

2013-06-17 Thread Vinny P
On Mon, Jun 17, 2013 at 12:34 AM, Vik wrote: > Thanks Vinny > > I am not sure why references for > > import com.google.api.services.oauth2.Oauth2; > > import com.google.api.services.oauth2.model.Userinfo; > > are not getting resolved though I have downloaded all the drive and oauth > related jars

Re: [google-appengine] Using Microsoft Active Directory Federation Services 2.0 (ADFS) as Identity store for SSO with Google App Engine

2013-06-17 Thread Vinny P
Hello Al, On Mon, Jun 17, 2013 at 8:58 AM, wrote: > It is possible to use ADFS for authenticating to Google App Engine? I > would like to use the company Active Directory as the ID store. > > > Short version: yes, but you'll need to do a lot of configuration and messing around with stuff. First

Re: [google-appengine] build Google App Engine to my own SDK is it posible?

2013-06-17 Thread Vinny P
Hello Yutthana, On Mon, Jun 17, 2013 at 10:49 AM, Yutthana wrote: > > > > I want to edit some file to work with more than 10mb project file , > re-build all to SDK and host it as local server. > Is it posible to do that? > > Yes you can. The project file size isn't an issue; AppEngine allows proj

[google-appengine] local host 8080 tiny web db problem

2013-06-17 Thread vin karume
every time i run the tiny websb template and click on browse,i get a server unavailable error and the page fails to completely load. what might be the problem? -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group

[google-appengine] build Google App Engine to my own SDK is it posible?

2013-06-17 Thread Yutthana
Hi all,I'am very newbie with Google App Engine and Java programming. I have download Google App Engine from http://code.google.com/p/googleappengine/ I want to edit some file to work with more than 10mb project file , re-build all to SDK and host it as local server. Is it posible to do that? --

Re: [google-appengine] Re: Google Apps No Longer Free

2013-06-17 Thread Pat Glenn
Hi Andrew, I set up my domain on the appengine (at least I think I did it correctly). However, how do I know that once the free 30 day trial for the google apps for business expires, that my account on the appengine will automatically take over? Or do I need to do something to switch it over no

[google-appengine] Using Microsoft Active Directory Federation Services for ID Store

2013-06-17 Thread alwomack
Can Microsoft Active Directory Federation Services (ADFS) be used for SSO with 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-ap

[google-appengine] Using Microsoft Active Directory Federation Services 2.0 (ADFS) as Identity store for SSO with Google App Engine

2013-06-17 Thread alwomack
It is possible to use ADFS for authenticating to Google App Engine? I would like to use the company Active Directory as the ID store. Al -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving ema

[google-appengine] Android Studio vs App Engine...why would I use Android Studio to write platform specific app instead of App Engine??

2013-06-17 Thread Bryce Hayden
Ok so I have a question someone on here might be able to answer. I don't understand why I'd use android studio to develop game apps when I could just use App Engine and get the cross-compatibility so my app could run on Android and iOS devices as well as web browsers...not to mention the recent

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Darien Caldwell
Sounds like the typical Hipster mentality. They created Go so they could say they wrote in a language that's not mainstream. :) -- 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

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Andrew Gerrand
On Sunday, June 16, 2013 4:15:54 AM UTC+10, Jeff Schnitzer wrote: > I finally have some significant hands-on experience with Go (not on GAE). > It's definitely an improvement over C or C++, and seems "about right" for > building things you would otherwise write in C or C++. > > On the other hand

Re: [google-appengine] backup not complete sometimes. Tasks are stuck.

2013-06-17 Thread Jason Collins
I have spent a bunch of time (with support) trying to get to the bottom of this sort of thing. There are 2 major contributors that I've discovered: (1) *Many namespaces.* If you have many namespaces, then Datastore Statistics are no longer computed. You can tell by going to Datastore Statistic

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

2013-06-17 Thread Kyle Finley
Andrew, Is this in addition to the 1 free Google Apps user? https://groups.google.com/d/msg/google-appengine/pVZfdeky-ow/TO1SmipM2Y0J -- 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

[google-appengine] Re: Safety of using threading.currentThread on GoogleAppEngine (Python)

2013-06-17 Thread timh
Thread local is specific to a single request. I have not seen any evidence of memory leaks using it. (I have thread.local in heavy use on a number of projects). I think you are assuming there is a thread pool, and threads and therefore thread.local is re-used. I don't have any evidence to back

[google-appengine] Python Google App Engine Shopping Cart

2013-06-17 Thread Gopal Patel
Is there any Open Source Python Shopping Cart that I could use to host my store on google app engine ? ( +1 if it is being used in live site..) I would need a lot of customization ( and hence can contribute a lot back ). -- You received this message because you are subscribed to the Google Group

[google-appengine] Re: I have old app without any data saved in datastore, can I change its datastire type to HRD directly without migrating it to another app?

2013-06-17 Thread Tapir
because I want to keep the http://*my-old-app-id*.appspot.com/*** urls still active. Can I? On Saturday, June 8, 2013 4:09:18 PM UTC+8, Tapir wrote: > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and s

[google-appengine] Re: Safety of using threading.currentThread on GoogleAppEngine (Python)

2013-06-17 Thread bmurr
You're right, looks like threading.local also fixes the concurrency problem. But surely if Python can't tell when an alien thread gets joined, then the variables used in threading.local will never go out of scope and get garbage collected? Which leads to a memory leak, like before? On Saturday,

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

2013-06-17 Thread voscausa
Billing MUST be enabled for the app engine application in order for a credit to be applied. Why this billing term for an app engine application? Op zaterdag 15 juni 2013 03:57:57 UTC+2 schreef Andrew Jessup het volgende: > > Hi Everyone, > > As many of you are aware, last year Google announced t

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

2013-06-17 Thread Ron
we are currently doing about 10 domains a day great news about a potential simpler solution, especially if it can be done automatically via an API but until that comes out what would be your suggestion be for us? the terms suggest the $50 App Engine credit only applies to one domain On Saturd

Re: [google-appengine] Puzzled by promotion of Go for high performance web serving

2013-06-17 Thread Jeff Schnitzer
On Sun, Jun 16, 2013 at 3:37 PM, Andrew Gerrand wrote: > On Sunday, June 16, 2013 4:15:54 AM UTC+10, Jeff Schnitzer wrote: > >> >> * No exceptions. This (and the "debate" around it) is just silly. >> > > There is a much discussion about these topics on the golang-nuts mailing > list. The issues