[google-appengine] Confused about how to migrate away from OAuth1

2015-10-14 Thread tempy
I have an app that makes extensive use of the Users API + OAuth1. I've been relying on the unique google identifiers produced by the Users API to identify my users. Switching to OAuth2 on it's own is not a problem, but I can't see a way in which Google-Auth-via-OAuth2 is integrated with GAE's

[google-appengine] GCS Client lib (incorrectly?) produces Files API deprecation warning

2015-07-23 Thread tempy
Hi everyone, Basically, my question is the same as the contents of this unanswered SO question: http://stackoverflow.com/questions/30814777/latest-appengine-gcs-client-lib-produces-gcs-java-api-deprecation-warning With the coming deprecation of the Files API, we're rushing to move to cloud

[google-appengine] Re: Google IDs produced by the Users service seem to differ from those produced by OAuth2

2015-07-22 Thread tempy
within GAE. Thanks! On Thursday, July 9, 2015 at 2:09:26 AM UTC+2, Nick (Cloud Platform Support) wrote: Hey tempy, This ID value is unique to the Google App Engine Users service, and won't be the same as your general Google account ID. You can view the difference between the two ID values

[google-appengine] Google IDs produced by the Users service seem to differ from those produced by OAuth2

2015-07-05 Thread tempy
I have a production app on GAE that's been running for a while. I've been using the Users service for authentication, and my user entities in the datastore hold on to the unique account ID provided by the users service. Now, I want to bolt on some new functionality that will live outside of the

[google-appengine] Re: Web site completely down + appengine console not accessible

2012-10-26 Thread tempy
Same here, appid: hrkleio - totally down nothing accessible. On Oct 26, 5:15 pm, Pete Sterpe p...@powerweek.com wrote: We have been evaluating whether to keep paying for Premier support. With the Enterprise SUPPORT Portal also down for over 30 minutes now, I think we have our answer...

[google-appengine] NullPointerException in Oauth getCurrentUser

2012-10-16 Thread tempy
Hi all, I recently moved an existing body of working GAE code to another computer and updated the SDK to the latest (1.7.2.1). Now, OAuthServiceFactory.getOAuthService().getCurrentUser(); produces a nullpointerexception. I looked at the offending code in the SDK and I don't really see how its

[google-appengine] Re: NullPointerException in Oauth getCurrentUser

2012-10-16 Thread tempy
though: hopefully 2.0 will be released soon! On Tue, Oct 16, 2012 at 11:44 PM, tempy fay...@gmail.com wrote: Hi all, I recently moved an existing body of working GAE code to another computer and updated the SDK to the latest (1.7.2.1). Now, OAuthServiceFactory.getOAuthService

[google-appengine] Re: Sudden slowdown of files API

2012-08-27 Thread tempy
the fulltext Search API. #1 may just disappear; #2 may end up with absurd prices (ie, backends and ssl). Jeff On Thu, Aug 23, 2012 at 9:25 AM, tempy fay...@gmail.com wrote: Hi all, Although I'm not sure if the two are connected, after updating to the 1.7 SDK, blobstore writes using

[google-appengine] Sudden slowdown of files API

2012-08-23 Thread tempy
Hi all, Although I'm not sure if the two are connected, after updating to the 1.7 SDK, blobstore writes using the Files API have become very slow on finalization, frequently failing completely with an IOException when the blobs get to around 2 megabytes. These requests fail after running for 30

[google-appengine] Idea for dev server - simulated infrastructure instability

2012-05-03 Thread tempy
Hi all, I just found myself writing code that would simulate deadlineexceeded errors and such, when I thought - wouldn't it be great if you could ask the dev server to sow some chaos? I'll never be able to accurately simulate outages, slow-downs, high-error rates, variable accuracy of the

[google-appengine] Re: Idea for dev server - simulated infrastructure instability

2012-05-03 Thread tempy
Done: http://code.google.com/p/googleappengine/issues/detail?id=7453 On May 3, 5:47 pm, Robert Schuppenies schu...@google.com wrote: I think it's a good idea. Can you file a feature request for this? On Thu May 03 03:45:21 GMT-700 2012, tempy fay...@gmail.com wrote: Hi all, I just

[google-appengine] Memcache error floods my logs

2012-04-18 Thread tempy
Hello all, I'm trying to make heads-or-tails of this. Lately I've seen a few worrying requests where, on a cold start, memcache fails and the resulting enormous stacktrace wipes out the history in my logs, so the charts end up empty. A cold start request such as this one will typically make

[google-appengine] Re: Fwd: 1.6.4 Prerelease Now Available

2012-03-20 Thread tempy
I'm sorry but I think I have to back up Mos here. I'm as excited about the new-shiny as anyone else, but no amount of new-shiny makes up for the frayed nerves of annoyed users, instance-spawning chaos, requests that never even reach my app, silence from google, a completely oblivious status page,

[google-appengine] Re: Outages?

2012-03-13 Thread tempy
To chime in: My HR app is also very unstable for what seems to be the last few weeks. Sometimes it performs fine, and sometimes its spinning up unnecessary instances and not using them, throwing deadlineexceeded errors, killing requests after a long wait with Request was aborted after waiting too

[google-appengine] Many unnecessary instance starts in the last few days

2012-02-29 Thread tempy
Hello all, I've just been seeing this behavior for the last few days. A request comes into my lightly-loaded app that already has a nearly-idle instance running. Instead of using that instance, it starts a new one and that request suffers the cold-start penalty. If I look at the instances graph

[google-appengine] Re: Javaland scheduler behavior

2012-02-29 Thread tempy
I should have looked at this thread before posting my own (http:// groups.google.com/group/google-appengine/browse_thread/thread/ 7ff808e8243562cf#). I'm using GAE as a sync-backend for a smallish app, so my traffic is very bursty, with long idle periods. I've been seeing exactly what you

[google-appengine] GAE's http header length limit, bug or undocumented restriction?

2012-01-16 Thread tempy
Hi All, I've hit a behavior that doesn't exist on the dev-server, which is that custom http headers on the response seem to be limited to around 400 characters. One custom header that I'm using which is regularly about 700 chars is simply silently dropped from the response. Firstly - this

[google-appengine] Re: GAE's http header length limit, bug or undocumented restriction?

2012-01-16 Thread tempy
@googlegroups.com [mailto:google-appengine@googlegroups.com] On Behalf Of tempy Sent: Monday, January 16, 2012 10:40 AM To: Google App Engine Subject: [google-appengine] GAE's http header length limit, bug or undocumented restriction? Hi All, I've hit a behavior that doesn't exist on the dev-server

[google-appengine] Getting ApiDeadlineExceededException on file.create()

2011-12-06 Thread tempy
I've been getting these errors on every single call. App id: hrkleio -- 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] Re: 500 Server Errors + very high latency

2011-11-25 Thread tempy
I'm also in Germany (though I don't think this matters) and I'm seeing my instances get killed very quickly and every request turns into a slow-ish cold-start. Maybe you're seeing the same problem? If so, this is definitely something that happens and will eventually pass, hopefully before too

[google-appengine] Re: Dashboard error when trying to add custom domain

2011-11-23 Thread tempy
and existing apps: Google Apps - Server error Server error We are unable to process your request at this time, please try again later. Please look into this! On Nov 22, 10:19 pm, tempy fay...@gmail.com wrote: Hello all, I'm trying to add a custom domain to my app. When I go to Administration-App

[google-appengine] Re: Dashboard error when trying to add custom domain

2011-11-23 Thread tempy
On Wed, Nov 23, 2011 at 10:05 AM, tempy fay...@gmail.com wrote: Sorry for the *bump* post, I don't usually do this on these forums, but this is becoming a very serious problem for me. For any of the apps associated with the account that I'm posting under, I can't add a custom domain. I've tried

[google-appengine] Dashboard error when trying to add custom domain

2011-11-22 Thread tempy
Hello all, I'm trying to add a custom domain to my app. When I go to Administration-App Settings-Add Domain and fill in a domain, I get: Server error We are unable to process your request at this time, please try again later. This has been going on for around 6 hours, and I get the same result

[google-appengine] Re: Mistaken bill

2011-11-16 Thread tempy
Charge - Charge for resources consumed. $2.10 Total: $2.10 (includes Tax (NY) $0.00) Paid with: VISA xxx-7727 On Nov 16, 2:33 am, Gregory D'alesandre gr...@google.com wrote: Hi Tempy, I took the liberty of checking out your appid (since you asked :) and there was no charge listed in your

[google-appengine] Mistaken bill

2011-11-15 Thread tempy
Hello all, Not sure where to report this so I'm writing it here. Just got an email that I was billed two bucks for my under-quota app that has billing enabled. The app still has 48.35$ worth of credit from the free credit we got during the pricing change, and the last time it went over quota it

[google-appengine] Re: Mistaken bill

2011-11-15 Thread tempy
Right you are! Sorry, my mistake. Though I'm surprised that this isn't coming out of the credit that the account has. On Nov 15, 11:18 pm, Joshua Smith joshuaesm...@charter.net wrote: $2.10 perhaps? That's the minimum weekly charge for billing enabled now. On Nov 15, 2011, at 5:07 PM, tempy

[google-appengine] Entity group backup/rollback - a half-baked feature request or idea.

2011-10-29 Thread tempy
Hello all, I've had a few users ask me for an export/import function all for the same reason: None of them actually want to export and import their data, they just want to take snapshots for backups. They're not afraid of my app losing their stuff, but instead are afraid of somehow screwing it up

[google-appengine] High error rate on programmatic blob creation

2011-10-10 Thread tempy
Hello all, I'm currently experiencing a really high error rate when trying to programatically create blobs - I'm on GAE/j (high replication) and getting deadlineexceeded exceptions on file.Open() on roughly every third call, this has been going on for a few hours. I'm using GAE as a

[appengine-java] How to remove JAR files from lib folder in eclipse?

2011-10-03 Thread tempy
Hello all, I'm trying to get rid of unnecessary JARs in my project, as I don't use any ORMs a lot of stuff can go. However, when I do that I get errors from the eclipse plugin saying The App Engine SDK JAR datanucleus-appengine-1.0.9.final.jar is missing in the WEB-INF/lib directoryand so

[google-appengine] Bug (issue 5782) has essentially disabled the dev server for me

2011-09-28 Thread tempy
After updating one of my machines to java sdk 1.5.4, sdk 1.5.2 mysteriously disappeared from the machine. I can't use 1.5.4 or 1.5.3 in development-mode on this machine because of this bug:

[google-appengine] Re: Bug (issue 5782) has essentially disabled the dev server for me

2011-09-28 Thread tempy
TreKing, You, sir, are my hero. On Sep 28, 6:20 pm, TreKing treking...@gmail.com wrote: On Wed, Sep 28, 2011 at 10:55 AM, tempy fay...@gmail.com wrote: Does anyone know any workarounds or how to obtain an old version of the java sdk? Just replace the 4 with a 2. =) http

[google-appengine] Re: Fileservice file.create() took to long to respond

2011-08-30 Thread tempy
in question already exists, or should I just star the existing issue? Also, this is a very urgent problem for me, is there an ETA for repair? On Aug 30, 12:22 pm, tempy fay...@gmail.com wrote: Me too, appid: hrkleio My app is essentially down because of this. On Aug 30, 9:38 am, ESPR!T w

[google-appengine] Clientlogin suddenly failing, did something change?

2011-08-11 Thread tempy
I'm developing an android app that connects to my GAE app, and I'm using the process outlined here for auth: http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app Last time I tried this code to retrieve the ACSID cookie about a week ago it worked fine. Since

[google-appengine] Re: Clientlogin suddenly failing, did something change?

2011-08-11 Thread tempy
11, 1:45 pm, tempy fay...@gmail.com wrote: I'm developing an android app that connects to my GAE app, and I'm using the process outlined here for auth: http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from... Last time I tried this code to retrieve the ACSID cookie about a week

[google-appengine] Re: Is there any outage at appengine.. please respond if you feel the same

2011-08-09 Thread tempy
Just to add my two cents, my app seems to be doing ok now, but overnight (I'm in Berlin) it seems to have experienced an outage with lots of different errors. It seems to have lost all of its instances and then new instances failed to start on warmup with this: A serious problem was encountered

[google-appengine] Re: Is there any outage at appengine.. please respond if you feel the same

2011-08-09 Thread tempy
: Sounds like a different problem, feel free to open a new production issue for this:http://code.google.com/p/googleappengine/issues/entry?template=Produc... On Tue, Aug 9, 2011 at 1:06 PM, tempy fay...@gmail.com wrote: Just to add my two cents, my app seems to be doing ok now

[google-appengine] Re: Assigning datastore IDs based on UUIDs from an external DB

2011-08-09 Thread tempy
Murph I've been doing exactly what you're doing, creating GAE entities with UUIDs corresponding to UUID keys from an external DB. I just stick the UUID into the key's name property, and it works just fine. I think you're overcomplicating things - GAE storage is dirt cheap, its cpu time you have to

[google-appengine] Re: JDO schema change nightmare, app going live

2011-08-03 Thread tempy
+1 to getting away from JDO. I know I'm not helping you specifically so sorry about that, but GAE development for me was one struggle after another until I tossed JDO. GAE and JDO are NOT a good fit. On Aug 3, 12:18 am, Pascal Voitot Dev pascal.voitot@gmail.com wrote: You can also give a try

[google-appengine] Is there a limit to the number of datastore ops within a single transaction?

2011-07-21 Thread tempy
I use GAE for, among other things, a synchronization backend for my mobile app. The mobile app is designed to stay offline for long periods of time and then report everything that happened while it was offline to the GAE backend. I merge this sync data into a user's data in an async task, with

[appengine-java] Re: does Google+ use GAE ?

2011-07-19 Thread tempy
Could it be that the load created by g+ is responsible for the recent chaos and lack of reliability? On Jul 19, 7:47 am, Didier Durand durand.did...@gmail.com wrote: Hi, J. Smarr, tech lead for G+,  says: Our backends are built mostly on top of BigTable and Colossus/GFS in this short

[google-appengine] Re: GAE starting unnecessary instances

2011-07-19 Thread tempy
I'm still seeing this too... On Jul 19, 1:39 pm, Tom Phillips tphill0...@gmail.com wrote: http://code.google.com/status/appengineshows they are investigating issue(s) with Java currently.. On Jul 19, 7:28 am, Tom Phillips tphill0...@gmail.com wrote: Yes, seeing the same problem on

[appengine-java] Re: Experimental blobstore api returning null keys on blob creation

2011-07-18 Thread tempy
I'd just like to update that after the recent instability and errors, this problem has gotten MUCH WORSE. I really hope that something can be done, soon. On Jul 17, 12:21 pm, tempy fay...@gmail.com wrote: That's exactly my issue, starred, thanks Tom. This has been a high priority issue for 3

[appengine-java] Re: Experimental blobstore api returning null keys on blob creation

2011-07-17 Thread tempy
That's exactly my issue, starred, thanks Tom. This has been a high priority issue for 3 months now, and still open! On Jul 17, 4:41 am, Tom Fishman tom.fish...@dishcrunch.com wrote: Assuming you're talking about new blobs, please check this

[appengine-java] Experimental blobstore api returning null keys on blob creation

2011-07-16 Thread tempy
Hello all, I have code that uses the new blobstore fileservice api to write data submitted by POST to a blob. This code hasn't changed in around 2 months and has been working reliably, but suddenly its failing. No exceptions or anything, but the AppEngineFile.getBlobKey() call returns null, even

[appengine-java] Re: Instructions for migrating a GAE-Java app to the HR datastore

2011-06-17 Thread tempy
or otherwise, best of luck! On Jun 15, 1:12 pm, tempy fay...@gmail.com wrote: I've finally decided to upgrade, while my data still isn't huge. Maybe I'm missing something, but I'm yet to find an article or blog post or group entry that has simple recommended steps, instead I'm piecing the procedure

[google-appengine] Re: Copying data to new app for HR datastore, process seems broken, please help!

2011-06-17 Thread tempy
, tempy fay...@gmail.com wrote: Word to the wise: The data-transfer utility does not like orphan objects. On Jun 15, 5:55 pm, tempy fay...@gmail.com wrote: I don't know if this helps any, but I can see that for every entity type, the last shard seems stuck. So, if entity X has 1 shard

[appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread tempy
, 8:25 pm, tempy fay...@gmail.com wrote: Hello all, I'm wondering if its possible to design a cache using data in static variables.  I have certain pieces of small and unchanging data, such as a banner for the top of the site whose contents might only change every couple of days

[appengine-java] Re: How to design an in-memory cache?

2011-06-15 Thread tempy
/claymus/source/browse/trunk/src/com/claymus... On Wed, Jun 15, 2011 at 3:37 PM, tempy fay...@gmail.com wrote: Didier and J. Ganesan, I'm not talking about memcache.  I want something as simple as a static map with synchronized access, within which I would cache data. Jeff, how would

[appengine-java] Instructions for migrating a GAE-Java app to the HR datastore

2011-06-15 Thread tempy
I've finally decided to upgrade, while my data still isn't huge. Maybe I'm missing something, but I'm yet to find an article or blog post or group entry that has simple recommended steps, instead I'm piecing the procedure together. As I understand it, it goes something like this: - Install

[google-appengine] Copying data to new app for HR datastore, process seems broken, please help!

2011-06-15 Thread tempy
I'm trying to migrate to the HR datastore and have started the process, but with only about 15 MB worth of data it has already gone through 18 hours of CPU and does not seem to be anywhere near stopping. This doesn't smell right so I stopped it by pausing the default queue. The status does not

[google-appengine] Re: Copying data to new app for HR datastore, process seems broken, please help!

2011-06-15 Thread tempy
to it, then 0-24 will report success and 25 will be running with 1 second elapsed and an unknown current item. Its like this for every entity kind. On Jun 15, 5:21 pm, tempy fay...@gmail.com wrote: I'm trying to migrate to the HR datastore and have started the process, but with only about 15 MB worth

[google-appengine] Re: Copying data to new app for HR datastore, process seems broken, please help!

2011-06-15 Thread tempy
Word to the wise: The data-transfer utility does not like orphan objects. On Jun 15, 5:55 pm, tempy fay...@gmail.com wrote: I don't know if this helps any, but I can see that for every entity type, the last shard seems stuck. So, if entity X has 1 shard assigned to it, then the details

[appengine-java] How to design an in-memory cache?

2011-06-14 Thread tempy
Hello all, I'm wondering if its possible to design a cache using data in static variables. I have certain pieces of small and unchanging data, such as a banner for the top of the site whose contents might only change every couple of days. This is perfect for storing in a static variable and

[google-appengine] Re: 500 Errors (DeadlineExceededError) on module imports and other random bits of code

2011-06-10 Thread tempy
Me three, its been bad the last couple of days for me. I just got a deadlineexceeded on the Users API, which, obviously, breaks my app completely. On Jun 10, 1:15 pm, Ronoaldo José de Lana Pereira rpere...@beneficiofacil.com.br wrote: I'm facing this too recently. -- You received this message

[google-appengine] Re: Is the native API really so much faster than JDO and slim3?

2011-06-07 Thread tempy
I don't know much about Slim3 but I just migrated from JDO to the native API, and I can say that the performance improvement was in many cases dramatic. I was assured many times that JDO's overhead is insignificant, but that hasn't been my experience. I chalk it up to JDO's reliance on

[google-appengine] Re: Task queue not executing

2011-06-07 Thread tempy
Things seem to be back to normal, thanks for the updates! On Jun 7, 10:32 am, Mickey Kataria (Google Employee) mic...@google.com wrote: Update:  There was an issue with how the app servers were throttling requests from task queues.  It has only impacted Java apps running with the master/slave

[google-appengine] Task queue not executing

2011-06-06 Thread tempy
Tasks for my app (ID: openkleio) are not executing, just sitting there and executing every couple of minutes, sometimes. I can run them manually just fine from the control panel. No quota issues, no errors - just sitting there. Anyone else seeing this? -- You received this message because you

[google-appengine] Re: Task queue not executing

2011-06-06 Thread tempy
on smooth task queue operation, I will run into big problems at scale on days like today? On Jun 6, 1:58 pm, tempy fay...@gmail.com wrote: Tasks for my app (ID: openkleio) are not executing, just sitting there and executing every couple of minutes, sometimes.  I can run them manually just

[google-appengine] Re: How reliable is the writing files to the blobservice?

2011-05-23 Thread tempy
I use it routinely and heavily. It works fine 95% of the time, but once in a blue moon it chokes, so do your writing in a repeatable task. On May 23, 6:52 am, Brandon Donnelson branflake2...@gmail.com wrote: In my opinion, its pretty safe. I think experimental means the api is still in

[appengine-java] How does JDO convert persistent class field names to entity property names?

2011-05-20 Thread tempy
I am slowly (painfully) migrating from JDO to the low-level API. One thing that's giving me problems is this: I have many persistent fields that start with an underscore: private int _field1; private int _field2;, etc. I am, for the time being, accessing this data with JDO in one part of the

[google-appengine] Re: High CPU usage

2011-05-19 Thread tempy
I'm also getting really erratic behavior right now, high cpu, deadline exceeded exceptions, 30 second long instance spinups. The status page still says everything's fine though. On May 19, 8:35 pm, Calvin calvin.r...@gmail.com wrote: That does seem a high.  Does it also say that a new instance

[google-appengine] Anyone seeing strange behavior?

2011-05-19 Thread tempy
Last few hours I've been getting random-looking deadline-exceeded exceptions, 30second plus spinups, error code 104 whatever that means. Here's a capture of what should be a 50ms request: http://dl.dropbox.com/u/353497/gaewtf.jpg Anyone else? -- You received this message because you are

[google-appengine] Re: Anyone seeing strange behavior?

2011-05-19 Thread tempy
My app's been fine up until about 6 hours ago, so I'm pretty sure that you won't find anything in the docs or literature that applies to me, just some sort of infrastructure hiccup. Thanks though! On May 19, 11:10 pm, Francois Masurel f.masu...@gmail.com wrote: I have found this in the release

[google-appengine] Intermittent deadlineexceeded exceptions on File.Open with experimental blobstore write api

2011-05-18 Thread tempy
Hello all, I'm heavily using the experimental blobstore programmatic write API, and it seems to work fine. However, right now I'm doing some stress testing and I'm getting intermittent ApiDeadlineExceeded exceptions with the message The API call file.Open() took too long to respond and was

[google-appengine] Re: Is App Engine suddenly becoming more expensive???

2011-05-11 Thread tempy
Hi Greg, I'm keeping an open mind on this as GAE has earned a lot of credit in my book. I think what's extremely important now is to be totally transparent about how the scheduler works, and perhaps even provide some sort of window into its actual workings. I would love to see log entries

[google-appengine] Re: SDK 1.4.3 has been released!

2011-03-31 Thread tempy
Hi, Just want to verify... the Prospective Search API is NOT the same thing as the full text search API thats mentioned in the roadmap, is that right? I certainly hope so, as I very much need Retrospective and not Prospective search. -- You received this message because you are subscribed to

[appengine-java] What am I to make of these isolated exceptions?

2011-02-03 Thread tempy
I woke up to a bunch of these exceptions, though no code has changed: Class X has collection field collection of Ys and this has no mapping in the table for the element class Y owner field ParentField Because they don't look like the usual datastore-is-on-the-fritz errors, I go off on a wild

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread tempy
Same here. App ID: openkleio On Dec 22, 9:20 pm, Sundar cyberto...@gmail.com wrote: I keep getting the following from about 3.10pm EST, when trying to deploy my application: Error 500: --- begin server output --- htmlhead meta http-equiv=content-type content=text/html;charset=utf-8

[google-appengine] Re: Unable to deploy since 3.10pm EST

2010-12-22 Thread tempy
Thanks for the quick turnaround! On Dec 22, 10:55 pm, Ikai Lan (Google) ikai.l+gro...@google.com wrote: We had I/O issues with the underlying persistence mechanism behind the deploys - they were stuck in a bad state. -- Ikai Lan Developer Programs Engineer, Google App Engine

[appengine-java] Re: 500 Errors on blobstore upload, perhaps related to oauth?

2010-11-04 Thread tempy
Problem solved, for anyone going through something similar, see my stackoverflow post: http://stackoverflow.com/questions/4096990/getting-500-on-blobstore-upload-in-production-dev-server-works-fine/4098470#4098470 On Nov 3, 10:51 pm, tempy fay...@gmail.com wrote: After investigating further

[appengine-java] Re: 500 Errors on blobstore upload, perhaps related to oauth?

2010-11-03 Thread tempy
of meaningful error from the blobstore, instead of just having the failure passed on to my app in the form of an empty map. On Nov 2, 9:59 pm, tempy fay...@gmail.com wrote: Hello, I have yet to get the blobstore functioning correctly in my app.  My code works in development, but not in production. I use

[appengine-java] 500 Errors on blobstore upload, perhaps related to oauth?

2010-11-02 Thread tempy
Hello, I have yet to get the blobstore functioning correctly in my app. My code works in development, but not in production. I use the built-in oauth support and have an installed app connecting to the GAE app. The installed app requests an upload URL from an endpoint that is secured by oauth,

[google-appengine] Blobstore returning 500 on upload, is OAuth to blame?

2010-11-02 Thread tempy
Hello, I have yet to get the blobstore functioning correctly in my app. My code works in development, but not in production. I use the built-in oauth support and have an installed app connecting to the GAE app. The installed app requests an upload URL from an endpoint that is secured by oauth,

[appengine-java] Re: Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-21 Thread tempy
://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Mon, Oct 18, 2010 at 5:04 AM, tempy fay...@gmail.com wrote: Hello all, In my app, the root element is a user, with which I want to associate a simple key-value structure

[appengine-java] Re: Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-21 Thread tempy
Engineer, Google App Engine Blogger:http://googleappengine.blogspot.com Reddit:http://www.reddit.com/r/appengine Twitter:http://twitter.com/app_engine On Mon, Oct 18, 2010 at 5:04 AM, tempy fay...@gmail.com wrote: Hello all, In my app, the root element is a user, with which I want

[appengine-java] Need advice on a design for an easily queryable key-value user preferences datamodel

2010-10-18 Thread tempy
Hello all, In my app, the root element is a user, with which I want to associate a simple key-value structure for storing user preferences. It should be such a structure because I really can't foresee what preferences will be added in the future. At first I thought of using a simple @serialized

[appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-11 Thread tempy
10, 2010 at 4:47 AM, tempy fay...@gmail.com wrote: Thanks for the advice John.  I've been reading about GQuery and it does seem good, though I have some concerns about whether it might be abandoned.  I think my plan is to learn JQuery, as I feel like that should also teach me a lot about

[appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-10 Thread tempy
out the plumbing yourself.  The author, Dhanji, has built a fantastic API here - simple, powerful and clever. http://code.google.com/p/google-sitebricks/ John On 10 September 2010 05:35, tempy fay...@gmail.com wrote: Thanks for the explanation Chris! Guess I'm learning jquery, golly

[appengine-java] Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread tempy
Hello all, A little background... I'm mostly new to web frontend development, I come from a mostly backend and desktop background. I have a GAEj app that provides the backend for a rather sophisticated desktop/mobile app. This backend will also drive a website in addition to the desktop/mobile

[appengine-java] Re: Need help choosing a frontend framework for a GAEj app, GWT seems like overkill

2010-09-09 Thread tempy
. JQuery is especially popular for a variety of Web app usages, so if that works for you, I'd definitely continue trying it out. Hope this helps, -Chris On Sep 9, 10:43 am, tempy fay...@gmail.com wrote: Hello all, A little background... I'm mostly new to web frontend development, I

[google-appengine] Re: Will OpenID providors other than Google ever be supported by built-in OAuth?

2010-08-29 Thread tempy
-on-App-Engine On Aug 28, 6:16 pm, tempy fay...@gmail.com wrote: Hello all, The subject says it all... My app consists of a GAEj app and an installed mobile client that connects to it, and is authorized via OAuth.  The GAEj uses openid for authentication.  I'm using the built

[appengine-java] Re: How to debug blobstore uploads with 405

2010-08-28 Thread tempy
Answered my own question... I was redirecting to a bad success url, which didn't support POST. Not the most informative error, but still understandable. On Aug 27, 12:58 pm, tempy fay...@gmail.com wrote: Hello all, I am trying to upload to the blobstore from an installed c# client

[google-appengine] Will OpenID providors other than Google ever be supported by built-in OAuth?

2010-08-28 Thread tempy
Hello all, The subject says it all... My app consists of a GAEj app and an installed mobile client that connects to it, and is authorized via OAuth. The GAEj uses openid for authentication. I'm using the built- in implementation for now, as its ok to only support google as the openid provider

[appengine-java] How to debug blobstore uploads with 405

2010-08-27 Thread tempy
Hello all, I am trying to upload to the blobstore from an installed c# client, not a browser. So far, I've only tried the development server... I can see in the datastore viewer that the blobs are being correctly created because there are corresponding blobinfo objects that correctly reflect the

[appengine-java] Re: Problem getting list of JDO objects with List of of keys

2010-05-24 Thread tempy
I've had trouble with the .getById methods, so I do it like this, which seems to work reliably: query = pm.newQuery(MyClass.class); query.setFilter(_ID == :keyList); //_ID is the PK ListMyClass results = (ListMyClass)query.execute(Keys); // Keys

[appengine-java] How to separate duration of cold-start time from user-code-time via Appstats?

2010-04-16 Thread tempy
So I've set up appstats, and I tend to see the following picture: The entire request took around 5 seconds, there are some RPC call bars that add up to around 2 seconds, and the rest of the request time is simply empty space in the timeline. Can I safely assume that all the empty space before

[appengine-java] How to separate duration of cold-start time from user-code-time via Appstats?

2010-04-16 Thread tempy
So I've set up appstats, and I tend to see the following picture: The entire request took around 5 seconds, there are some RPC call bars that add up to around 2 seconds, and the rest of the request time is simply empty space in the timeline. Can I safely assume that all the empty space before

[appengine-java] Is it possible to have collections of embedded objects?

2010-04-07 Thread tempy
I have been dealing with lots of varying exceptions trying to implement/store a list of embedded objects. I found one post on this group claiming that this isn't supported (but the claim didn't come from someone at Google), and I saw no mention of lists of embedded objects in the google docs...

[appengine-java] Re: Is it possible to have collections of embedded objects?

2010-04-07 Thread tempy
to serialize whatever you got into one of the supported storable types. On Apr 7, 11:04 am, tempy fay...@gmail.com wrote: I have been dealing with lots of varying exceptions trying to implement/store a list of embedded objects.  I found one post on this group claiming that this isn't

[appengine-java] Possible bug in pm.makePersistentAll? Random-looking exceptions, can't make heads or tails of it...

2010-03-23 Thread tempy
I've been scratching my head over this one for a while... I have a parent object that participates in an owned one-to-many relationship with a child object. After the parent object is created, it is retrieved with its collection of children in the selected fetch group, and then detached. Then,

[appengine-java] Re: Possible bug in pm.makePersistentAll? Random-looking exceptions, can't make heads or tails of it...

2010-03-23 Thread tempy
MODEL OBJECTS: @PersistenceCapable(detachable = true) @FetchGroup(name = children, members = { @Persistent(name = _Children) }) public class Parent { @PrimaryKey @Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY) private Key _ID; @Persistent private String

[appengine-java] Is it possible to add a member to a detached object's collection that wasn't itself detached?

2010-03-19 Thread tempy
In case my subject line was confusing, I'll elaborate: Let's say I have a parent object that has a collection of children. I detach that parent object and intentionally omit the collection of children from the fetch group, in order to avoid fetching the potentially numerous children. Then, I

[appengine-java] How to query for parent key property of an entity's key?

2010-03-18 Thread tempy
I want to retrieve all entities that are children of one other particular entity, by checking if the parent-key property of the child's key matches the parent key. I have a reference to the parent entity but I want to avoid loading all of its children (as there may be many children, but I only

[appengine-java] Any plans for an apps marketplace for consumers, not business?

2010-03-10 Thread tempy
My question says it all. I would love to leverage the centralized structure of the marketplace and the enhanced user trust that it brings with my app, but what I am working on is targeted at general consumers, not the enterprise sector... Why not make something like the marketplace for the

[appengine-java] Do I need unowned relationships to accomplish this...?

2010-03-10 Thread tempy
I have the following datastructure: Users are the root entities, and each user can have one or more decks, and each deck can have one or more cards. When a user wants to add a deck, I would like to be able to add the deck to the user's collection of decks without first fetching all of the user's

[appengine-java] Re: Do I need unowned relationships to accomplish this...?

2010-03-10 Thread tempy
a good way to store cards that can be queried in one query unless you have each card store what decks they are in.  This could be even more difficult if cards appear more than once in a deck.  If that is true I would suggest a join table. On Mar 10, 2:20 pm, tempy fay...@gmail.com wrote: I

[appengine-java] Re: Do I need unowned relationships to accomplish this...?

2010-03-10 Thread tempy
is the card list and the new card. Is this what you are trying to avoid? On Mar 10, 4:06 pm, tempy fay...@gmail.com wrote: Actually cards can only be owned by one deck... so that's not a problem.  Deck--1...0toN--card. The thing that I am looking for is a way to add new cards without loading

[appengine-java] Re: Failing to properly detach children in owned one-to-many relationship

2010-03-09 Thread tempy
); The setgroup methods overwrite whatever groups are already there, and the addgroup methods just add them. Lesson learned the hard way. On Mar 9, 12:07 am, tempy fay...@gmail.com wrote: All sorts of permutations have still failed to do this for me.  From searching this group and stackoverflow, I'm

[appengine-java] Re: Failing to properly detach children in owned one-to-many relationship

2010-03-08 Thread tempy
All sorts of permutations have still failed to do this for me. From searching this group and stackoverflow, I'm starting to wonder if many people actually use JDO attach/detach in any significant way. Anyone?? On Mar 8, 12:29 am, tempy fay...@gmail.com wrote: I am trying to load the full object

[appengine-java] Re: Children in an owned one-to-many relationship not being retrieved, what am I doing wrong?

2010-03-07 Thread tempy
. But maybe there is also a way to trigger that through an annotation. Cheers, Toby On Mar 7, 1:46 am, tempy fay...@gmail.com wrote: I have the following 3-part owned relationship... Users, the root entity, have a collection of Decks, as such (I am not including the specific subclass

  1   2   >