Re: [google-appengine] Slow Tasks

2011-01-25 Thread Ryan Baldwin
Greg Darke wrote: > Hi Ryan, > > What is your application ID so I can look into this for you? > > On 25 January 2011 02:41, Ryan Baldwin wrote: > > Every morning we send out thousands of emails to our customers. This > > typically takes us a handful of minutes. Today,

[google-appengine] Slow Tasks

2011-01-24 Thread Ryan Baldwin
Every morning we send out thousands of emails to our customers. This typically takes us a handful of minutes. Today, however, we're finding that it's taking much, much longer - upwards to an hour. This system is task based. Looking at our dashboard I'm seeing figures that are 1/2 to to less than 1/

[google-appengine] Mail API timeout on Send

2011-01-12 Thread Ryan Baldwin
We're receiving quite a few timeouts when attempting to send mail using the Mail API. Anybody else experiencing this? File "/base/data/home/apps/daily-deal/21563.347566837950502806/app/ domain/notification.py", line 75, in send mail.send_mail(sender, text_renderer.deal_tx.email, subject, body,

[google-appengine] Index Stuck?

2010-10-26 Thread ryan baldwin
Hey Googlers, I have an Index that's been building in the cloud for a few hours now. Can somebody check to see if it's stuck? App name daily-deal-demo. Thanks! Love, - ryan. -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to thi

[google-appengine] Re: The API call mail.Send() took too long to respond and was cancelled.

2010-10-21 Thread ryan baldwin
btw, app id=daily-deal On Oct 21, 8:19 am, ryan baldwin wrote: > I know we sent not only duplicates, but in sometimes as many as 6 > copies of an email to a customer because of themail.Send() error > (like the parent poster, our emails are sent in a task). > > What is the statu

[google-appengine] Re: The API call mail.Send() took too long to respond and was cancelled.

2010-10-21 Thread ryan baldwin
I know we sent not only duplicates, but in sometimes as many as 6 copies of an email to a customer because of the mail.Send() error (like the parent poster, our emails are sent in a task). What is the status of this error? On Oct 13, 7:44 am, Jamie H wrote: > Googlers, > > I'm wondering if anyth

Re: [google-appengine] What IDE the community recommend to developers of Python+GAE

2009-11-27 Thread ryan baldwin
We use IntelliJ Idea here with the Python plugin. IntelliJ Idea 9 Beta supports AppEngine (both Java and Python), Android and GWT development. It's slick... but it ain't free. - ryan. 2009/11/25 胡江海 > > Thank you for your email. >> > I can not use my spreadsheet of google apps. What's happen

[google-appengine] Re: drop table?

2009-11-11 Thread ryan baldwin
I can't imagine this being very performant. The serialization cost sounds like it would be extreme, no? - ryan. On Wed, Nov 11, 2009 at 9:23 PM, Baron wrote: > > yes I am creating a single entity with that key_name for all my > records (~10). This also lets me use transactions on my record

[google-appengine] Re: Snow Leopard

2009-11-04 Thread ryan baldwin
You have to switch to 2.5. Easy to do. Open a terminal and throw this command to the wind: defaults write com.apple.versioner.python Version 2.5 Enjoy! - ryan. On Wed, Nov 4, 2009 at 8:37 AM, Glenn wrote: > > I'm running Snow Leopard and therefore by default Python 2.6. > > I know that I nee

[google-appengine] Re: frame/object control with login

2009-11-04 Thread ryan baldwin
Nick, I think you're overestimating the proverbial "average user". In fact, in user testing our own application, users are almost unanimously tripped up when they are redirected to Google to login. We frequently *heard* the user say this: "Okay, now I click here to login and... oh... why am I ask

[google-appengine] Re: Overlapping Images

2009-10-30 Thread ryan baldwin
Wouldn't it be easier to just use CSS for this? - ryan. On Fri, Oct 30, 2009 at 1:05 AM, Nitin Joshi wrote: > Hi, > > > > Can we overlap two Images using “ImagesService”. > > The required is to have an Image with Fixed Width and Height. > > But when I transform some Im

[google-appengine] Re: how to order query by separate field

2009-10-29 Thread ryan baldwin
In my example I left out the sorts by A ascending because I later realised it may not be necessary... I believe, however, that my index *does* sort by createdDate ascending... I haven't written one in a long, long time, so my apologies. ;) - ryan. On Thu, Oct 29, 2009 at 7:01 PM, ryan ba

[google-appengine] Re: how to order query by separate field

2009-10-29 Thread ryan baldwin
I believe you can create an index that sorts by youngest, then by name, and you should be good. Assuming your "youngest" field is called "createdDate". In app.yaml: - kind: MyModel properties: - name: createdDate direction: asc If I understand what I just typed, that will create an

[google-appengine] Re: Will memcache data ever be evicted if have spare memory?

2009-10-28 Thread ryan baldwin
That is incorrect. The value can be ejected from Memcache at any time. As some of the Googlers have stated in the groups, you should not design your applications to depend on a persistent cache. - ryan. On Wed, Oct 28, 2009 at 11:25 PM, Baron wrote: > > Hello, > > If I store only a single int

[google-appengine] Re: Importing external data [Python]

2009-10-28 Thread ryan baldwin
rusiveness > > where do I start? > > Thanks again for the help, really very much appreciated! > > Cheers > > Ben > > > > > On Oct 28, 2:27 pm, ryan baldwin wrote: > > Point 3 seems like the proper choice (along with some caching). Where

[google-appengine] Re: Importing external data [Python]

2009-10-28 Thread ryan baldwin
Point 3 seems like the proper choice (along with some caching). Where are you getting lost? In how to parse with python, how to cache, or how to render in a template (or all of the above?) - ryan. On Tue, Oct 27, 2009 at 10:35 AM, benji wrote: > > Hi, > > I am brand new to GAE and Python and h

[google-appengine] Re: db.allocate_ids

2009-10-22 Thread ryan baldwin
er be reused - the functionality is > equivalent to the numbering for auto-generated IDs on entities. > > -Nick Johnson > > > On Wed, Oct 21, 2009 at 9:47 PM, ryan baldwin wrote: > >> How long are id's reserved for when using db.allocate_ids? Forever? 60 >>

[google-appengine] db.allocate_ids

2009-10-21 Thread ryan baldwin
How long are id's reserved for when using db.allocate_ids? Forever? 60 seconds? Until I eat all of my dinner including my vegetables? Thanks. - ryan. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Google App Engine

[google-appengine] Re: Check chars limit before saving

2009-10-21 Thread ryan baldwin
If you're using python you can do one of two things: You can check the length of the incoming string by calling len() > if len(incoming_string) > 140: # do some stuff Or, if you don't care about truncation, you can always just splice the incoming string and not worry about it. > spliced =

[google-appengine] SpringPython

2009-10-19 Thread ryan baldwin
Is it possible to build an AppEngine app using SpringPython? My colleague and I have been trying to get the basics of a SpringPython app up and running (read - simple view that imports SP) but are having import errors. We're fairly certain that it's due to SpringPython having some dependencies on s

[google-appengine] Re: problem with filtering in a referenceproperty dropdown - Django

2009-10-17 Thread ryan baldwin
Do you have different code that handles the POST? - ryan. On Sat, Oct 17, 2009 at 1:19 AM, Peter Newman < peter.newman@googlemail.com> wrote: > > I have the following problem. I have a contact class that different > users can tag with a different topic > > class Contact(db.Model): >conta

[google-appengine] Re: Get parent object.

2009-10-15 Thread ryan baldwin
If he already has a list of posts, and wants to get the author for each post, then it would be different. Both of these solutions are based on the parents' data models. 1 way would be to grab the post.author from each post as you loop through. If you enjoy experiments in poor performance that would

[google-appengine] Clearing the Logs

2009-10-14 Thread ryan baldwin
Hey all, Is there a way to clear the Google AppEngine (devserver) logs? I know command-L (in OS X) opens the log file, but is there no way for me to clear it? I'd love to be able to just invoke a command-k (a-la OS X Terminal.app) to clear it, but alas. Am I just overlooking something? Thanks! -

[google-appengine] Re: Heavy vs. Light entities

2009-10-14 Thread ryan baldwin
That being said, your point is still valid. Just in this case the heavy data is accessed "rarely". - ryan. On Wed, Oct 14, 2009 at 9:27 AM, Andy Freeman wrote: > > > > So now I am thinking of breaking up the WriteUps class into several > > > classes, putting all the lightweight data that I need

[google-appengine] Re: Heavy vs. Light entities

2009-10-14 Thread ryan baldwin
I think the tradeoff is the performance hit of serialization. The grandparent stated that the heavy data is rarely accessed. As such I think it's good to isolate the heavy data due to the perf hit of serialization. - ryan. On Wed, Oct 14, 2009 at 9:27 AM, Andy Freeman wrote: > > > > So now I am

[google-appengine] Re: What are your top three issues in appengine?

2009-10-14 Thread ryan baldwin
Allowing the resizing of images greater than 1Mb is huge. We've spent an incredible amount of time and money trying to work around this with limited success. If AppEngine supported this we wouldn't have to worry about it. - ryan. On Wed, Oct 14, 2009 at 9:19 AM, Andy Freeman wrote: > > > 2) All

[google-appengine] Re: warm instances on low traffic sites

2009-10-14 Thread ryan baldwin
+1 here. - ryan. On Wed, Oct 14, 2009 at 8:52 AM, Gijsbert wrote: > > I'm also interested. > > On Oct 13, 10:24 am, bFlood wrote: > > bump... > > > > On Oct 12, 12:25 pm, "twink*" wrote: > > > > > Add my name to the list of people that would consider paying to always > > > keep at least one in

[google-appengine] Re: Multiple Arguments in URL Template

2008-11-05 Thread ryan baldwin
Kind of a dirty workaround, really. I've since revamped my stuff into my own custom template because I was repeating myself too much, and the problem naturally sorted itself out. - ryan. On Nov 5, 8:14 am, ryan baldwin <[EMAIL PROTECTED]> wrote: > Hi.  I'll try and keep this brief

[google-appengine] Multiple Arguments in URL Template

2008-11-05 Thread ryan baldwin
Hi. I'll try and keep this brief. I have a view that takes 2 arguments; an id and some string. I have the following URL defined in my URLS: url(r'^my/url/(?P\d+)/(?P[\w_]*)/$', 'myview.executeCommand', name='myview.executeCommand'), What I hope to achieve with the above URL is the following:

[google-appengine] Re: "no module named PIL" error despite it being in my path

2008-11-03 Thread ryan baldwin
... apparently .pth handling is a bit confusing > sometimes.  What happens if you remove the .pth file? > > On Nov 3, 9:26 am, ryan baldwin <[EMAIL PROTECTED]> wrote: > > > My apologies - I meant PYTHONPATH.  I've tried installing with Fink > > and setting up th

[google-appengine] Re: "no module named PIL" error despite it being in my path

2008-11-03 Thread ryan baldwin
e death. Makes no sense. - ryan. On Nov 3, 9:21 am, Tony Arkles <[EMAIL PROTECTED]> wrote: > Ryan, do you mean the PATH, or the PYTHONPATH?  It doesn't have to be > in your PATH, just the PYTHONPATH (which you can view by doing "import > sys; print sys.path") > >

[google-appengine] Re: "no module named PIL" error despite it being in my path

2008-11-02 Thread ryan baldwin
y new to python/django/GAE, so my apologies if I'm coming across as a complete newb. Thanks for any and all received help. - ryan. On Nov 2, 2:08 pm, ryan baldwin <[EMAIL PROTECTED]> wrote: > unfortunately I already tried that, both having a copy as well as soft > linking from

[google-appengine] Re: "no module named PIL" error despite it being in my path

2008-11-02 Thread ryan baldwin
ite-Packages/ > > It should then run fine. > > ryan baldwin wrote: > > Hello.  I've burned 2 days trying to figure out why any attempt to > > load the PIL module via my GAE/Django app is failing.  The error I get > > is the infamous ImportError "no module

[google-appengine] "no module named PIL" error despite it being in my path

2008-11-01 Thread ryan baldwin
Hello. I've burned 2 days trying to figure out why any attempt to load the PIL module via my GAE/Django app is failing. The error I get is the infamous ImportError "no module named PIL", despite PIL being in my python path. If anybody could be of assistance it would be incredibly appreciated.