[google-appengine] Request/Response objects and WebOb

2009-01-08 Thread Alex Popescu
Is there any particular reason for having the Request class extend the WebOb Request, while the Response is just extending object? As far as I checked the Request class is the single dependency on WebOb framework and I find it quite curious. ./alex

[google-appengine] Running multiple Dev Web Servers on same machine

2009-01-08 Thread Alex Popescu
? tia, ./alex --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Running multiple Dev Web Servers on same machine

2009-01-08 Thread Alex Popescu
, but if you have a simple environment just try to emulate the above scenario. tia, ./alex On Jan 8, 10:03 pm, Bill billk...@gmail.com wrote: Alex, I've had no problem running 2 dev web servers on my MacBook Pro (Leopard OS X).  What OS are you using and are you launching dev_appserver.py

[google-appengine] Re: Is the Datastore just too slow for 100+ returned records?

2009-01-08 Thread Alex Popescu
fetching only the key set should not be a real problem. Now, I don't know the details of the implementation, but there might be another implementation where the entities are just serialized and the engine is using some surrogate keys (that are not visible to the app). ./alex

[google-appengine] Re: Is the Datastore just too slow for 100+ returned records?

2009-01-08 Thread Alex Popescu
the docs, but it is quite consistent with the statistics I've noticed. Anyways, from my tests any result set that goes beyond 20-30 results is quickly degrading the performance. ./alex --~--~-~--~~~---~--~~ You received this message because you are subscribed

[google-appengine] GqlQuery bind method - is it safe to share the same query instance between requests?

2008-12-16 Thread Alex Epshteyn
I'm tempted to define an instance of GqlQuery in a global variable, then while handling each request, to call the query's bind() method to bind to it the parameters for the user who issued the request. I'm relatively new to Python, but in a language like Java, this would be a terrible idea - you

[google-appengine] Re: GqlQuery bind method - is it safe to share the same query instance between requests?

2008-12-16 Thread Alex Epshteyn
Ah, I see. It's safe because a new request will not be processed by the same instance of the python interpreter until the previous request has fully completed, right? Thanks, Ryan! On Dec 16, 7:37 pm, Ryan Barrett goo...@ryanb.org wrote: hi alex! you're right to be cautious, but happily

[google-appengine] Please reopen Issue 182: Mail API: python email module import fails when source code is changed ...

2008-12-16 Thread Alex Epshteyn
This dev_appserver issue has not gone away, and is still rather annoying during development. http://code.google.com/p/googleappengine/issues/detail?id=182 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Re: How can I add Timer to my GAE application?

2008-11-17 Thread Alex Cheng
: On 17 Lis, 16:09, A.TNG [EMAIL PROTECTED] wrote: On Mon, Nov 17, 2008 at 11:48 AM, Alex Cheng [EMAIL PROTECTED] wrote: I want to add a timer to my GAE application, so I can execute certain logic at given interval. I tried python's Timer object (http:// www.python.org/doc/2.5.2/lib/timer

[google-appengine] How can I add Timer to my GAE application?

2008-11-16 Thread Alex Cheng
I want to add a timer to my GAE application, so I can execute certain logic at given interval. I tried python's Timer object (http:// www.python.org/doc/2.5.2/lib/timer-objects.html), but it doesn't seem to work properly. --~--~-~--~~~---~--~~ You received this

[google-appengine] Re: Question about Shell (Featured App)

2008-11-09 Thread Alex Popescu
time on it :-). tia, ./alex On Nov 8, 5:47 am, Alex Popescu [EMAIL PROTECTED] wrote: I'm really sorry if it sounded that way, so please do not take it this way. I have made some changes according to my above comments and it looks like it is working as expected. Now I am not really sure

[google-appengine] Re: Where should I report a persistent 500 Server error?

2008-11-08 Thread Alex Popescu
it as the error still persists. ./alex On Nov 8, 3:05 pm, Alex Popescu [EMAIL PROTECTED] wrote: I am wondering where should I report a persisting 500 Server error: [quote] Error: Server Error The server encountered an error and could not complete your request. If the problem persists

[google-appengine] Re: Where should I report a persistent 500 Server error?

2008-11-08 Thread Alex Popescu
feature. Switch to it for accessing the log and most probably you'll see the errors. ./alex On 8 nov, 10:55, Alex Popescu [EMAIL PROTECTED] wrote: On Nov 8, 6:36 am, Alexander Kojevnikov [EMAIL PROTECTED] wrote: Did you check the error log in your admin control panel? Yes, I did

[google-appengine] Re: Question about Shell (Featured App)

2008-11-07 Thread Alex Popescu
the post method should check if the session object actually exists before attempting to delete it. I'm opened to all comments, opinions and ideas. ./alex On Nov 8, 5:33 am, yejun [EMAIL PROTECTED] wrote: Your expectation on a sample is a little bit too high. On Nov 7, 9:59 pm, Alex Popescu [EMAIL

[google-appengine] Where should I report a persistent 500 Server error?

2008-11-07 Thread Alex Popescu
deployed a new major version of my app and I've tried to test it either by using the versioned url and then by making this new version the default one. Both attempts are resulting in the above error. Any ideas? ./alex --~--~-~--~~~---~--~~ You received this message

[google-appengine] Re: Query max results clarification

2008-10-27 Thread Alex Popescu
understanding of this 'limitation' is correct and this means that while designing your model you'll have to always prepare it for this case (not to forget the way you are writing the queries). ./alex On Oct 27, 1:58 am, djidjadji [EMAIL PROTECTED] wrote: You can but you must use a field of the object

[google-appengine] Query max results clarification

2008-10-26 Thread Alex Popescu
I am reading on the chapter Executing the Query and Accessing Results [1]: [quote] The datastore returns a maximum of 1000 results in response to a query, regardless of the limit and offset used to fetch the results. The 1000 results includes any that are skipped using an offset, so a query with

[google-appengine] ReferenceProperty collection query object available in Django?

2008-10-22 Thread Alex Vartan
. This could be a bit more clear in the docs unless I missed something. Alex --~--~-~--~~~---~--~~ 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

[google-appengine] Simple question about ReferenceProperty collections

2008-10-20 Thread Alex Vartan
= theObject.subCategories somelist.remove(anotherObject) WIll this work, without having to call a fetch? Since the docs make it seem like theObject.subCategories is actually an object of type Query. Thanks, Alex --~--~-~--~~~---~--~~ You received this message

[google-appengine] Re: Simple question about ReferenceProperty collections

2008-10-20 Thread Alex Vartan
: This should work, use get() from the Query object somelist = theObject.subCategories.get() somelist.remove(anotherObject) 2008/10/20 Alex Vartan [EMAIL PROTECTED]: Hi, Simple question, but want to make sure I get this right. The docs say: collection_name is the name of the property

[google-appengine] Re: Newbie question - Request params available to def post(self)

2008-10-15 Thread Alex Vartan
://myapp.com/stuff?favorites=oatmealraisinbran On Tue, Oct 14, 2008 at 11:49 PM, Alex Vartan [EMAIL PROTECTED] wrote: Let's say I redirect a user to the url: myapp.com/stuff?favorites=oatmealraisinbran I generate the page with a def get(self) method in the Stuff RequestHandler class and use

[google-appengine] Possible to subclass User?

2008-10-14 Thread Alex Vartan
subclass the User class itself. What's the best solution if I just want to store a reference to another model and a few integerproperties with a user? Regards, Alex --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google App

[google-appengine] Newbie question - Request params available to def post(self)

2008-10-14 Thread Alex Vartan
replaced, or augmented by post data?) Thanks much, Alex --~--~-~--~~~---~--~~ 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

[google-appengine] Re: Linking directly to the Google Accounts new account page + feature request and UX complaint!

2008-10-09 Thread Alex Vartan
). Thanks for the response, Alex P.S. I think we lived in castano together long ago... On Oct 5, 7:24 pm, Jon [EMAIL PROTECTED] wrote: You can send users tohttps://www.google.com/accounts/NewAccount As far as the UI concerns, what do you think about the new account button for the sign-in page onhttp

[google-appengine] Re: Datastore Timeouts Must Die

2008-10-07 Thread Alex Epshteyn
08.776 /games 500 4048ms 11285mcycles 0kb 10-07 02:05PM 58.206 /games 500 4047ms 11019mcycles 0kb On Oct 6, 1:53 am, Alex Epshteyn [EMAIL PROTECTED] wrote: Please see:http://code.google.com/p/googleappengine/issues/detail?id=764 There is a recent thread on this group titled Why Google App Engine

[google-appengine] Re: What changes were recently made to request.charset?

2008-10-06 Thread Alex Epshteyn
I'm not sure what has changed, but I just fixed my issue by using msg.encode(utf8) before passing msg to hmacSha1. It was working without this step in the past. Alex On Mon, Oct 6, 2008 at 5:41 AM, Sylvain [EMAIL PROTECTED] wrote: I've seen many issues with charset (Unicode) like this one

[google-appengine] Datastore Timeouts Must Die

2008-10-05 Thread Alex Epshteyn
Please see: http://code.google.com/p/googleappengine/issues/detail?id=764 There is a recent thread on this group titled Why Google App Engine is broken and what Google must do to fix it. I personally don't think that any of the topics raised by the OP of that thread imply that anything is

[google-appengine] Linking directly to the Google Accounts new account page + feature request and UX complaint!

2008-10-04 Thread Alex Vartan
the little link on the next page, create a google account, and you'll be sent back to this app. If anything, the GA login page could be improved by creating a larger New account button or allowing App owners to customize the messaging on that page. -Alex

[google-appengine] Re: Release of AppEngine 1.1.4 SDK

2008-10-01 Thread Alex Epshteyn
What is the proper upgrade procedure for Windows? I've just been installing over the previous files (same directory). Is this correct or not? Good to see releases coming out so frequently. Alex On Sep 27, 1:12 am, Rafe [EMAIL PROTECTED] wrote:   Hello,   This evening we have released

[google-appengine] Re: Timeout - operation took too long

2008-10-01 Thread Alex Epshteyn
/appengine/api/ datastore.py, line 1627, in _ToDatastoreError raise errors[err.application_error](err.error_detail) Alex On Sep 30, 12:57 pm, johnP [EMAIL PROTECTED] wrote: For a while today, I started seeing errors in custom form validation. Requesting self.instance in ModelForm form resulted

[google-appengine] Re: Question about effect of ListProperty on index size and put times

2008-09-30 Thread Alex Epshteyn
anything to it in the future, to avoid exceptions, right? Alex On Tue, Sep 30, 2008 at 1:06 PM, ryan [EMAIL PROTECTED] wrote: hi alex! serializing the list property into json shouldn't make much of a difference in the timeout rate, but you're welcome to try it. honestly, though, .01

[google-appengine] App Engine homepage not working?

2008-09-12 Thread Alex N.
Hi, I'm trying to setup an appengine account, and http://appengine.google.com/start goes in a redirect loop. Is anybody else having the same problem? Thanks, --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Google

[google-appengine] Lots of Datastore timeouts today - what keeps causing these?

2008-09-10 Thread Alex Epshteyn
A more general question first: my app has been experiencing more than 20 datastore write timeouts per day on average with an average of approx. 30K daily data write requests. I understand that it's only a 0.07% failure rate, but that's still too high for my liking. Some of my users' data has

<    4   5   6   7   8   9