[google-appengine] inconsistent index after building

2009-05-27 Thread Ben Nevile
hey there, the other night I added a couple of indexes to an model that has hundreds of thousands of entities. I was pleasantly surprised when I woke up the next morning to find the magic serving beside the new indexes! hooray! this afternoon I was debugging some code and I discovered that

[google-appengine] Re: java.io.IOException: Unknown trying to fetch URL via SDC

2009-05-27 Thread Thor
I have now gotten the app deployed on my own domain via a CNAME entry, but it still gives the same USER_NOT_HOSTED error code. At least I have ruled out own-domain vs appspot hosting as the cause Anyone have an idea of what is causing this error? - Thorsten On May 25, 2:24 pm, Thor

[google-appengine] Re: memcache in remote api

2009-05-27 Thread Ben Nevile
Hi Nick, Thanks for your reply. Here's a typical use case for me. I often have methods like this: def facebook_user_cache_key(uid): return str(uid) + _fbuser def get_facebook_user(uid): u = memcache.get(facebook_user_cache_key(uid)) if u == None: uid = int(uid) u =

[google-appengine] Re: google account frustrations

2009-05-27 Thread Ben Nevile
ps. was never able to get any consistent behaviour here. have resorted to using Firefox with just one single google account and using Safari for everything else. (I jump between three google accounts all day - 2 related to an apps domain, one a regular gmail.com.) Ben On May 5, 7:54 am, Ben

[google-appengine] Example code for Authentication Process

2009-05-27 Thread S K
Hi All, can I get example code for Authentication Process of following link *http://code.google.com/apis/accounts/docs/OAuth.html#AuthProcess* Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] VAT number

2009-05-27 Thread Robert
I wanted to set up billing but our company's VAT number is always reported as invalid. What is supposed to be the correct format, and what other the other requirements if any, of the VAT-ID. We are in Finland. Thanks for nay clarification! --~--~-~--~~~---~--~~ You

[google-appengine] Re: Problem in Image Process

2009-05-27 Thread campos
sorry System.arraycopy() is not correct. modified getBytes() method: public static byte[] getBytes(InputStream inputStream) throws IOException { int bufferLength = 1024; byte[] buffer = new byte[bufferLength]; ArrayListByte list = new ArrayListByte(); int

[google-appengine] Parsing XML date into a db.DateTimeProperty field

2009-05-27 Thread NealWalters
The field is defined in a db.Model (from from google.appengine.ext) as follows: class MyTable(db.Model): dateTimeCreated = db.DateTimeProperty(auto_now=False) Code: Select all if XMLFIELDTYPE == gd:when: XMLRESULTS = (XMLRESULTS + SetDate);

[google-appengine] Re: use of Django's forms.Form on GAE

2009-05-27 Thread NealWalters
I switched to this - where taskCode is my hidden field that is on each form, and it works like a charm. taskCode= self.request.get('taskCode'); Neal Walters --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[google-appengine] Problem about the session in JSP

2009-05-27 Thread Douglas
.Hello, In JSP, can I save a Object(not primitive type) into session? I checked the APIs the method is: setAttribute(String name, Object value) But, it does not work. I attempted to save an non-primitive type instance into session to indicate the logged in user. It works well locally (on my

[google-appengine] Browse data in development datastore

2009-05-27 Thread Ereinion
Hi, I've seen threads talking about this URL to browse the development datastore: http://localhost:8080/_ah/admin/datastore But I keep getting 404 Error. Is this admin page still available in latest releases of GAP ? Thanks for your answers.

[google-appengine] Re: Parsing XML date into a db.DateTimeProperty field

2009-05-27 Thread NealWalters
PLEASE IGNORE - THIS WAS AN ACCIDENTAL DUPLICATE POST Neal --~--~-~--~~~---~--~~ 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

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
Also tried this: mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate)) still gives error: Traceback (most recent call last): File DateConversion1.py, line 33, in module mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate)) File c:\Program

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread David Wilson
Hey Neal, Try: dt = datetime.datetime.fromtimestamp(time.mktime(struct_time)) your_model.your_dt = dt David 2009/5/27 NealWalters nealwalt...@nealwalters.com: Also tried this: mytable1.eventStartedDateTime = time.mktime(fixdate(xmlDate)) still gives error: Traceback (most recent call

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
Finally got it: datetimeTuple = time.strptime(XMLVALUES, %Y-%m-%d %H:%M:%S); setattr(OBJ,XMLFIELD,datetime.datetime (datetimeTuple.tm_year, datetimeTuple.tm_mon, datetimeTuple.tm_mday, datetimeTuple.tm_hour, datetimeTuple.tm_min, datetimeTuple.tm_sec)) Is

[google-appengine] Efficient paging using __key__ instead of a dedicated unique property [part 2]

2009-05-27 Thread Rodrigo Moraes
Hi guys, I rewrote the pagination class originated from Ryan's idea [1]. In case you missed it, it supports efficient paging in any query, on any schema, purely in user land, without requiring extra properties or other schema changes. This means that no extra property is required for an index,

[google-appengine] Re: How to Convert a time.struct_time into a db.DateTimeProperty field?

2009-05-27 Thread NealWalters
Thanks David! When I made my last post I didn't see yours yet. Neal Walters --~--~-~--~~~---~--~~ 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] getting repository version of app-engine-patch

2009-05-27 Thread Will
Hi all, I run into an app-engine-patch bug, issue 127, http://code.google.com/p/app-engine-patch/issues/detail?id=127. I have tried to get the repository version via Mercurial many times, but every time it failed with 'abort: connection ended unexpectedly'. Does anyone know another link I can

[google-appengine] Re: Costumize google log-in page.

2009-05-27 Thread Kugutsumen
You should create a related issue. I'm sure a lot of people will like this feature request and star it. On May 26, 6:01 pm, winzter143 lover.winzter...@gmail.com wrote: Hi, I dont known if this is the right place to post my question. It assign me a task that can customize our google log-in

[google-appengine] DataStore Deadline Exceeded

2009-05-27 Thread Paul Kinlan
Hi Guys. AppId: Twitterautofollow. I have three main issues at the moment. 1. I am seeing an insane number of Datastore timeouts at the moment reads and writes - this has been occurring for a couple of days now? 2. I understand there have been issues with UrlFetch yesterday. But I am

[google-appengine] Re: Need help with making additational html pages

2009-05-27 Thread djidjadji
If you are serving the pages dynamic look at http://code.google.com/appengine/docs/python/tools/webapp/ If the pages are static look at http://code.google.com/appengine/docs/python/config/appconfig.html#Static_File_Handlers --~--~-~--~~~---~--~~ You received this

[google-appengine] Receiving 503 errors today..

2009-05-27 Thread bvelasquez
All day http://www.tapingya.com is receiving 503 errors on requests. This is different than the usual timeout I always get during the day. I checked the system status and there does not seem to be any outages reports. Just wondering if anyone else is experiencing issues today. Barry

[google-appengine] Garbled response...

2009-05-27 Thread bvelasquez
On some responses, I receive a garbled page, example below. This began today, as well as an increase in 503 errors. What the?? I'm digging into any changes I may have made to cause this. However, from yesterday to today, there were not many. The logs do not show anything unusual. Anyone have

[google-appengine] Re: RuntimeWarning: Custom _query_class specified without corresponding custom _query_multi_class. Things will break if you use queries with the IN or != operators.

2009-05-27 Thread Rodrigo Moraes
On Sat, May 2, 2009 at 6:48 PM, manuelaraoz wrote: Hey! I'm getting my app Logs filled with this error. RuntimeWarning: Custom _query_class specified without corresponding custom _query_multi_class. Things will break if you use queries with the IN or != operators. I don't know how to stop

[google-appengine] Re: DataStore Deadline Exceeded

2009-05-27 Thread Jon McAlister
Hi Paul, The reason the index building has taken this long for you is just because of the amount of data your app has in the datastore. However, our index building workflow is not very loaded right now so I reset your Workflow Backend Index Task Count quota level and it should go a bit faster

[google-appengine] Re: Receiving 503 errors today..

2009-05-27 Thread bvelasquez
H1Server Error/H1 The service you requested is not available at this time.pService error -27. This is the error I'm receiving. Happens every 4-5 requests. Barry On May 27, 2:46 pm, bvelasquez bvelasq...@gmail.com wrote: All dayhttp://www.tapingya.comis receiving 503 errors on requests. This

[google-appengine] Re: Receiving 503 errors today..

2009-05-27 Thread bvelasquez
BTW. AppID is : tapingya The log does not show these 503 errors. On May 27, 4:45 pm, bvelasquez bvelasq...@gmail.com wrote: H1Server Error/H1 The service you requested is not available at this time.pService error -27. This is the error I'm receiving.  Happens every 4-5 requests. Barry

[google-appengine] Re: DataStore Deadline Exceeded

2009-05-27 Thread Jon McAlister
The index build job has now completed. On Wed, May 27, 2009 at 4:16 PM, Jon McAlister jon...@google.com wrote: Hi Paul, The reason the index building has taken this long for you is just because of the amount of data your app has in the datastore. However, our index building workflow is not

[google-appengine] How do I make a deployed app private?

2009-05-27 Thread Joseph Turian
While I am developing, I would like the deployed app to be private. I only want a few Google accounts to be able to view the app. How do I achieve this? Thanks! Joseph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[google-appengine] Re: DataStore Deadline Exceeded

2009-05-27 Thread Paul Kinlan
Hi Jon I appreciate the look and the feedback, other than the index the timeouts really only started occuring recently so I am presuming they were caused by long URL fetches (which also only seemed to have occurred recently - the twitter api hasn't been slow from another service I run)