Re: [appengine-java] Re: URLFetchService

2011-02-25 Thread cyberalgo rythms
Thank you for the super help. It is first time I using this interface. I did use your code and modified a bit and I believe got the cookie working. Why i say that because after accessing the second fetch and in the view source code of the page somewhere inside uses the PHPSESSID i have retrieved

[appengine-java] How to make Simple Join query return children objects

2011-02-25 Thread hairinwind
The article here only has the example to return the parent object. http://gae-java-persistence.blogspot.com/2010/03/executing-simple-joins-across-owned.html?showComment=1298589845909#c7562859098617623831 Here is what I want to do -- get the children objects. -- two search criteria, one from

Re: [appengine-java] Re: URLFetchService

2011-02-25 Thread Philippe Beaudoin
I don't know about that... Have you tried checking the URL accessed when you manually fill the form and click submit? Cheers, Philippe On Fri, Feb 25, 2011 at 9:30 AM, cyberalgo rythms cyberalgoryt...@gmail.com wrote: Thank you for the super help. It is first time I using this interface. I

[appengine-java] Re: XmppServices - Problems trying to parse Presence requests

2011-02-25 Thread Fábio Uechi
Seems that this issue is related to gaelyk only. We are already discussing it on its forum. Thanks Fábio -- 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.

[appengine-java] setPayload does not pass password field

2011-02-25 Thread cyberalgorythms
Hi: I am trying to use POST HTTP method to populate a login form with details below and all fields get populated except the password field. I know this because when I render the html page i am trying to fill in responseBytes the password field is the only not populated. I would appreciate any

Re: [appengine-java] Re: URLFetchService

2011-02-25 Thread cyberalgo rythms
Hi: The URL which comes in the response variable is the login page. All the fields there are populated according to setPayload field values but the password does not get populated ? I posted a new thread for this as it might not be related to this one. Thank you On Fri, Feb 25, 2011 at 6:22

[appengine-java] Re: How to make Simple Join query return children objects

2011-02-25 Thread Miroslav Genov
I think that you can handle this by creating a search index that is composite of c.field1 and p.field2. For example: Child(Ancestor) ParentChildJoin field1 : name1 field2: aa So, to query for a child object you only have to retrieve it using: ListParentChildJoin joins =

[appengine-java] Collection object not being updated

2011-02-25 Thread Cosmin Stefan
Hey, I have an issue while trying to update one object in a collection, using JDO. Here are the facts: o i have a class (let's call it BigClass), that has an embedded class(SmallClass) containing an ArrayList. o I DONT use/need a transaction o I query the database to get a List of

[appengine-java] Re: XmppServices - Problems trying to parse Presence requests

2011-02-25 Thread Fábio Uechi
I did some more tests. Looks like XMPPService can´t parse neither subscriptions nor presence requests when they were *forwarded*. I´ve created two simple servlets. The first one is the webhook. It handles inbound requests in one of the URLs: */_ah/xmpp/presence/**, */_ah/xmpp/subscription/**

[appengine-java] Imap support for gmail

2011-02-25 Thread Shaun Clark
Any chance Imap Support for getting to gmail from app engine is possible yet? 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

[google-appengine] Re: How do I update the key_name using bulkloader.yaml?

2011-02-25 Thread ogterran
I found the error. The external_name has to match the column in either the csv or the column_list and it is case sensitive. Thanks! -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send email to

Re: [google-appengine] Re: Experiencing major timeout issues right now

2011-02-25 Thread Dennis
My reads are serial because there is some dependency on earlier reads. But the main point is that it was working fine before. The allowed capability of the current appengine platform is different from the allowed capabilities of, say, last week's platform. To have the platform's capabilities

Re: [google-appengine] Re: Object Persistence Methodology - suggestions?

2011-02-25 Thread Dennis
yes, I think datastore frameworks is a reasonable name for these services. Objectify looks good for appengine/java. Do you know of any datastore frameworks for appengine/python? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

Re: [google-appengine] Looking for an alternative way to filter by geohash and creation date

2011-02-25 Thread Samuel
Thanks Robert. It definitely saved me the day. Now, I've got it working smoothly. I don't understand how I didn't find those links before. Thanks again, Samuel -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to this group, send

[google-appengine] service problems

2011-02-25 Thread dobee
as of the time of this writing, we encounter serios problems on two of our apps. we see arbitrary DeadlineExceededErrors in the logs is there any known issue right now? thx, bernd -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: Deployment Failing with 500 error.

2011-02-25 Thread bFlood
I just saw the same thing, 503 error on upload. Disabled precompilation and the upload continued successfully On Feb 25, 2:59 am, Eric Ka Ka Ng ngk...@gmail.com wrote: Hi Ikai, We experienced 503 error during the pre-compilation stage during deployments to all our apps in this hour. would try

Re: [google-appengine] Re: Deployment Failing with 500 error.

2011-02-25 Thread Sandeep Koduri
Hi, We dont have precompilation enabled but still getting the same error. Uploaded 24 files and blobs Precompilation starting. Precompilation: 116 files left. 2011-02-25 05:57:01,049 INFO appcfg.py:1814 HTTP Error (HTTP Error 500: Internal Server Error) Rolling back the update. Error 500: ---

[google-appengine] Re: A silly problem matching URL to handlers

2011-02-25 Thread Ernesto Karim Oltra
Thanks! both already read! but my the initial approach was divide the mail handlers into three different classes for better readability, so the LogSenderMapper isn't useful. I wanted to do this (as said in docs): - url: /_ah/mail/owner@.*app-id\.appspotmail\.com script: handle_owner.py login:

[google-appengine] Blank page after deploy.

2011-02-25 Thread nacho
In my app after deployment I see a blank page. This is happening in 90% of my deploys. If I reload the page? Blank Page. If I clear cache? Blank Page. If I reopen FF I go to my app again? Blank Page. If I open Chrome and I go to my app? Blank Page. If I ask a friend of me what he see in my

Re: [google-appengine] Re: What is the difference between Blobstore and Google Storage for Developers

2011-02-25 Thread Kayode Odeyemi
You might want to see this: http://www.ibm.com/developerworks/java/library/j-gaestorage/index.html On Fri, Feb 25, 2011 at 6:32 AM, 风笑雪 kea...@gmail.com wrote: I just write down something I remembered, there may be more different between them. Google Storage is a little expensive than

Re: [google-appengine] Looking for an alternative way to filter by geohash and creation date

2011-02-25 Thread Robert Kluin
I think some of the docs and articles are a little unclear that there are two distinct solutions being discussed, so it is easy to miss. Glad you got it working. Robert On Fri, Feb 25, 2011 at 05:20, Samuel samu.mor...@gmail.com wrote: Thanks Robert. It definitely saved me the day. Now,

[google-appengine] Manage new releases on App Engine

2011-02-25 Thread footy
I was wondering what is the best to manage a new release on App Engine. Say for example we have a live version (default) as 1.0.0 and we make changes to our code and deploy to a new version as 1.0.1. When I change the default from 1.0.0 to 1.0.1 it takes GAE to propogate changes across the

Re: [google-appengine] Re: Object Persistence Methodology - suggestions?

2011-02-25 Thread Robert Kluin
There is Guido's new 'Datastore Plus' work: http://neopythonic.blogspot.com/2011/01/new-app-engine-datastore-api.html I personally find the datastore API itself fine. With a few simple additions you can easily implement caching strategies and 'efficient' fetching of entities. Understanding

Re: [google-appengine] Re: Experiencing major timeout issues right now

2011-02-25 Thread Robert Kluin
I totally agree with you. It is very difficult to design around the large variations in performance; more consistency would make me happy as well. I try to leave lot of room for latency spikes in my designs and optimize my data designs to minimize RPCs, but that is sometimes very difficult.

Re: [google-appengine] service problems

2011-02-25 Thread Robert Kluin
If an issue hasn't been acknowledged on the status pages, it probably won't be acknowledged in the groups either. http://code.google.com/status/appengine/ You will occasionally see DeadlineExceeded, Timeout, and 'ApplicationError 5' errors. If possible try to catch and handle them in your

[google-appengine] memcache weirdness since last update

2011-02-25 Thread David
Ever since the last update I've been having issues with my app returning stale data. I thought it was a bug in the client that was reading the data, but as it turns out I tracked it down to the memcache entity being out of sync from the datastore entity where the memcache information is older

[google-appengine] Re: Manage new releases on App Engine

2011-02-25 Thread Tim Hoffman
You should probably provide some details on the actual error from your logs, that would help us give more informed advice. (Also java or python ?) My guess is your startup time is the problem for the new version. If that is the case you might want to generate a load against the new versions,

Re: [google-appengine] Blank page after deploy.

2011-02-25 Thread Robert Kluin
When you make the request, do you get what you expect showing up in your app logs? Have you added some logging calls in your application code to make sure the code you expect is being run? Have you used something to monitor the raw requests, so you can see the actual headers for example? What

[google-appengine] Re: Manage new releases on App Engine

2011-02-25 Thread footy
Oops my bad. Ours is a Java application. Also, I am new to GAE. So how do you generate a load against the new version? The error page goes as follows Error: Server Error The server encountered an error and could not complete your request. If the problem persists, please report your problem

Re: [google-appengine] Re: Experiencing major timeout issues right now

2011-02-25 Thread David Mora
My HR instances are fine, but those in M/R are completely down On 25 February 2011 10:57, Robert Kluin robert.kl...@gmail.com wrote: I totally agree with you.  It is very difficult to design around the large variations in performance; more consistency would make me happy as well. I try to

Re: [google-appengine] Manage new releases on App Engine

2011-02-25 Thread Sahid Orentino Ferdjaoui
Hello, I think you need to to implement Warmup Request http://code.google.com/appengine/docs/java/config/appconfig.html#Warmup_Requests That can help you. --sahid   .  ..: On Fri, Feb 25, 2011 at 5:53 PM, footy anuj.hoo...@gmail.com wrote: I was wondering what is the best to manage a new

Re: [google-appengine] Manage new releases on App Engine

2011-02-25 Thread footy
Thanks for your answer. Doing what you suggested does create a new instance for it, but once the instance is up and running it does a redirect to the current version since our app is on facebook. Joshua Smith wrote: Deploy the new version. Go to the versions panel and launch it directly.

[google-appengine] High Replication Datastore and consistency problem.

2011-02-25 Thread de Witte
Hello, We are developing the following datastore for a big application. One table with 10.000.000 records. The application has at any given time 40.000 active users. These users make frequently adjustments to these records. In rare cases, more than one user writes to a single record. What

[google-appengine] Google App engine and JNI

2011-02-25 Thread SKP
Please support JNI or support to native code! I just got a long way building a dll of native code just to find out GAE doesnt support it ! Can anyone suggest a work around apart from writing the C++ code I have to Java...? -- You received this message because you are subscribed to the Google

[google-appengine] GAE Python: Passing variables from one handler to another without use of 'global'

2011-02-25 Thread outlaw
Greetings, Simple newb question wrt Python. Brief Sample: class Congo(webapp.RequestHandler): def get(self): # snip FOO = bar self.response.out.write( form action=/form method=get divinput type=submit value=Thank you for clicking me

[google-appengine] Creating sessions causing DeadlineExceededException

2011-02-25 Thread Mike Prince
Starting yesterday we started getting a large number of DeadlineExceededExceptions. It's now so bad many of our requests are failing. There seems to be two kinds of problems. One when new sessions are being created, as show below: org.apache.jasper.runtime.JspFactoryImpl

[google-appengine] Status: 500 Internal Server Error

2011-02-25 Thread jack
Sorry for bad English. Sometimes I have Status: 500 Internal Server Error at my application when I tries to print query, and query seems don't gives all variables that my application needs and I have error AttributeError: 'Messages' object has no attribute 'messageID'. But 1/4 of all time I got my

[google-appengine] Re: Migrate to high availability datastore

2011-02-25 Thread de Witte
Same problem, It would be very helpful if you can switch at the cost of losing all data. -- 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,

[google-appengine] Re: Deployment Failing with 500 error.

2011-02-25 Thread Paul Miller
On Feb 25, 9:48 am, Tom Wu service.g2...@gmail.com wrote: python appcfg.py update --no_precompilation  myapp will solve this problem. It does not solve the problem, it is a work around. --no_pc is going to slow things down considerably I would guess; if that's not the case, why ever bother

[google-appengine] Asynchronous URL Requests

2011-02-25 Thread Ellie Frost
I'm reading the asynchronous URL request API, and I'm a bit confused about it. The documentation mentions that callbacks aren't called when the request finishes, rather you have to call them explicitly. To me, this would seem to defeat the point of an asynchronous request - your application will

Re: [google-appengine] Manage new releases on App Engine

2011-02-25 Thread Robert Kluin
This usually helps me a lot too. Deploy, goto versions tab, hit the new version several times (via the version.appid.appspot.com url), then switch over. For higher traffic apps, I try to get at least 10 or 15 instances spun up before switching over. On Fri, Feb 25, 2011 at 12:44, Joshua

[google-appengine] Re: GAE Python: Passing variables from one handler to another without use of 'global'

2011-02-25 Thread Philip
I might misunderstood your question but take a look at this: http://pastebin.com/58c1Ltxr Best Regards Philip On Feb 25, 3:41 pm, outlaw outlaw.was.h...@gmail.com wrote: Greetings, Simple newb question wrt Python. Brief Sample: class Congo(webapp.RequestHandler):     def get(self):        

Re: [google-appengine] Manage new releases on App Engine

2011-02-25 Thread footy
We do have warmup requests enabled for the app. Sahid Orentino Ferdjaoui wrote: Hello, I think you need to to implement Warmup Request http://code.google.com/appengine/docs/java/config/appconfig.html#Warmup_Requests That can help you. --sahid   .  ..: On Fri, Feb 25, 2011 at 5:53

RE: [google-appengine] High Replication Datastore and consistency problem.

2011-02-25 Thread Brandon Wirtz
Use a caching table, and do the writes later. On write: Caching Table Append Record and new data. 20 minutes later: Get all records for write with latest version. Write to Datastore. On Read: Caching table is small so reads from it are fast and cheap. So. Check Caching table

Re: [google-appengine] Re: Experiencing major timeout issues right now

2011-02-25 Thread Ikai Lan (Google)
I'm seeing alerts for issues with write latency. While this shouldn't affect HR applications, I'm seeing some error spikes with HR applications (though the times don't correspond correctly). I'm sorting this out to see what's happening with the HR applications (or if I am reading the wrong

[google-appengine] Re: Asynchronous URL Requests

2011-02-25 Thread Jay Young
I'm assuming you're using Python based on your reference to wait(). There is a class method on goog.appengine.api.apiproxy_stub_map.UserRPC (this is the class of the object returned by create_rpc) called wait_any() whose doc string looks like this (see line 555 at the URL below):

Re: [google-appengine] Re: Experiencing major timeout issues right now

2011-02-25 Thread Jeff Schwartz
Hi Ikai, I'd like to move http://lovemyvehicle.appspot.com/ over to HR. It is still in development so I don't care about the data currently in the db. Can you help me? I don't want to lose the ID I currently have as it matches the name of a commercial product of mine. Thanks! On Fri, Feb 25,

Re: [google-appengine] Re: Migrate to high availability datastore

2011-02-25 Thread Ikai Lan (Google)
We'll create a feature for developers to add an alias themselves in the future, but this isn't going to be available quite yet. For the time being, we can create aliases for you. Let's play this by ear for now: go ahead and open a billing issue. If we become inundated with issues, I'll change the

[google-appengine] Re: GAE Python: Passing variables from one handler to another without use of 'global'

2011-02-25 Thread Geoffrey Spear
On Feb 25, 9:41 am, outlaw outlaw.was.h...@gmail.com wrote: Greetings, Simple newb question wrt Python. Brief Sample: class Congo(webapp.RequestHandler):     def get(self):        # snip         FOO = bar         self.response.out.write(                 form action=/form method=get    

Re: [google-appengine] Re: Migrate to high availability datastore

2011-02-25 Thread Jeff Schwartz
Thank you, Ikai. I will open a billing issue as you suggest. Can you point me to where I would do that? Thanks again! On Fri, Feb 25, 2011 at 1:45 PM, Ikai Lan (Google) ika...@google.comwrote: We'll create a feature for developers to add an alias themselves in the future, but this isn't going

[google-appengine] Re: GAE Python: Passing variables from one handler to another without use of 'global'

2011-02-25 Thread Denis Volokhovskiy
Hi outlaw If you want just a common constant, you may add python module like properties.py: ... FOO = 'bar' ... and then at the place your handlers defined do from properties import FOO but if you want, as Philip said, to pass some variable between requests, you have 2 options a) Pass

[google-appengine] timeouts, timeouts and more timeouts!!!

2011-02-25 Thread andreas schmid
hey guys, whats going on right now? its since a few hours that i have huge issues with even with a simple datastore operation like deleting an entity... any explaination for that? -- You received this message because you are subscribed to the Google Groups Google App Engine group. To post to

[google-appengine] Re: High Replication Datastore and consistency problem.

2011-02-25 Thread Denis Volokhovskiy
Hello, High Replication DS solves the issue of latency between requested get/put/delete operation and its actual completion, but it still has limitations on how many put requests you can do per second - currently only 1 guaranteed write per second per entity group. (here at the bottom :

Re: [google-appengine] Re: High Replication Datastore and consistency problem.

2011-02-25 Thread Ikai Lan (Google)
If you get by key and set by key, there will be no consistency issues. HR gets by key are always performed in a transaction. Within a transaction, we read the journaled write entry from a majority of data centers to determine which data is the most recent version. Your scenario will not exhibit

Re: [google-appengine] Google App engine and JNI

2011-02-25 Thread Robert Kluin
Only choices on App Engine are Java, Python, or maybe find an implementation of C++ in Java. You could also run your natie code on another server and access it via a web-service. Robert On Fri, Feb 25, 2011 at 13:00, SKP patil.sha...@gmail.com wrote: Please support JNI or support to

Re: [google-appengine] Status: 500 Internal Server Error

2011-02-25 Thread Robert Kluin
Perhaps your Messages class is getting redefined in some code paths. Have you checked your code to see if there are multiple definitions? Robert On Fri, Feb 25, 2011 at 10:10, jack guyfromthesp...@gmail.com wrote: Sorry for bad English. Sometimes I have Status: 500 Internal Server

[google-appengine] Good heavens: appengine selects primary/secondary composite index sorts on an alphabetic basis

2011-02-25 Thread philip
I have a composite index with 3 properties: a geohash, an enum ('alive' or 'dead') and a string. I want the index to be sorted firstly by the geohash (the primary sort), secondly by the string and lastly by the enum. I want this because it seems likely to give the fastest and densest index

[google-appengine] Proposal for indicating which datastore config (HR or MS) you are in when reporting errors

2011-02-25 Thread Albert
Hi! Everyday, I browse through every single message that is posted to this group. Occasionally, my interest is caught when the message talks about some sort of error spike that is currently happening. I then read the rest of the thread and try to find out if my app is also getting affected.

[google-appengine] After uploading my GWT app on GAE, nothing shows up !

2011-02-25 Thread zixzigma
Hello Everyone, when I upload my GWT app on GAE, it appears to be uploaded successfuly, but when I load the app, nothing shows up. this has happened sporadic in the past, and after couple of times of trying it would eventually show up. but this time, after several times of uploading, still does

[google-appengine] Re: Manage new releases on App Engine

2011-02-25 Thread Thomas Wiradikusuma
I'm sorry, I might be missing something, but isn't (from docs) Warmup requests are enabled by default for all Java applications? Basically you don't need to enable anything right? On Feb 26, 2:18 am, footy anuj.hoo...@gmail.com wrote: We do have warmup requests enabled for the app. Sahid

Re: [google-appengine] Proposal for indicating which datastore config (HR or MS) you are in when reporting errors

2011-02-25 Thread Nickolas Daskalou
+1 Good idea Albert! Nick On 26 February 2011 12:40, Albert albertpa...@gmail.com wrote: Hi! Everyday, I browse through every single message that is posted to this group. Occasionally, my interest is caught when the message talks about some sort of error spike that is currently

[google-appengine] Proposal for indicating which datastore config (HR or MS) you are in when reporting errors

2011-02-25 Thread Raymond C.
Really good idea! -- 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

[google-appengine] duplicate groups

2011-02-25 Thread DougW
I am adding to the datastore with a for loop like this: for thing in someList: # create a db Model named abc # set some properties of abc abc.put() the problem is that my list (someList) has only 30 things in it, yet when I went to the datastore

[google-appengine] Re: duplicate groups

2011-02-25 Thread Tim Hoffman
Hi You will probably need to include some more code. There is a bug in your code definately ;-) put saves an entity, if it's one you have just created abc = MyAbc() then a put will create a new one. If you fetch the entity then put it, you won't create a new one. It sounds like your

Re: [google-appengine] Good heavens: appengine selects primary/secondary composite index sorts on an alphabetic basis

2011-02-25 Thread Robert Kluin
Hi Phillip, There is also a bit of information in some of the datastore articles, particularly the 'How Entities and Indexes are Stored' article. http://code.google.com/appengine/articles/storage_breakdown.html#anc-indextables What is boils down to is that your indexes are going to be

Re: [google-appengine] memcache weirdness since last update

2011-02-25 Thread Jeff Schnitzer
Is there any possibility your datastore calls are hitting the 30s timeout? There's no transactional link between datastore and memcache, and Objectify writes to memcache only after a successful datastore write. If you hit the 30s timeout while blocked in a write (which actually succeeds), you can