llasram / billninja

As simple as possible bill-sharing service that runs on Google App Engine
1 stars 0 forks source link

Payment bug #5

Open penysdevyl opened 13 years ago

penysdevyl commented 13 years ago

I added a payment of 50.00 to Kelly, and when I added it, I got the following error message page. It did seem to go through to the billninja account though.

Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/init.py", line 517, in call handler.post(*groups) File "/base/data/home/apps/billninjitsu/1.347720733717595733/billninja.py", line 88, in post self.send_mail(creditor, 'payment_creditor', targs) File "/base/data/home/apps/billninjitsu/1.347720733717595733/billninja.py", line 41, in send_mail return mail.send_mail(MAIL_SENDER, recipient, subject, body) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 270, in send_mail message.send(make_sync_call) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/mail.py", line 742, in send make_sync_call('mail', self._API_CALL, message, response) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 86, in MakeSyncCall return stubmap.MakeSyncCall(service, call, request, response) File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_stub_map.py", line 286, in MakeSyncCall rpc.CheckSuccess() File "/base/python_runtime/python_lib/versions/1/google/appengine/api/apiproxy_rpc.py", line 126, in CheckSuccess raise self.exception OverQuotaError: The API call mail.Send() required more quota than is available.

penysdevyl commented 13 years ago

Ok, that didn't work properly. I'll email you the error page.

Oops. Closed the ticket. My bad. And now it's not doing it anymore anyway. Bug finding fail.

llasram commented 13 years ago

No, this is a bug. The way I'm sending e-mails means that if people do a bunch of stuff that causes e-mails to go out all at the same time (which seems likely to happen) then billninja goes over the per-minute quotas Google sets on mail stuff for free apps.