Capaharnaum / gmail-delay-send

Automatically exported from code.google.com/p/gmail-delay-send
0 stars 0 forks source link

Too much calls for this service #117

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
=======================================
=== PLEASE READ BEFORE FILING ISSUE:
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendDebugging_8
=======================================

- Error:Error: Gmail Delay Send failed to connect to one of the Google 
Services. This is OK if it happens infrequently, the script will run again in a 
few minutes. See here to avoid receiving these notifications: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendOptions_8#Error_No
tifications. Function being called: function () { return 
GmailApp.getUserLabels(); } .Error message: Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. --Stack:  at Services (GmailDelaySendWeb):205 
(executeCommand) at Services (GmailDelaySendWeb):27 (cachedExecute) at Services 
(GmailDelaySendWeb):110 (serviceGetUserLabels) at Utils (GmailDelaySendWeb):203 
(userHasLabel) at Utils (GmailDelaySendWeb):142 (createLabels) at Main 
(GmailDelaySendWeb):16 (main)

What steps will reproduce the problem?
1. Every time the script load, I've this problem (10mn trigger)
2. Sometimes it's OK, sometimes no :/
3.

What is the expected output? What do you see instead?

What version of the product are you using? 8

Please provide any additional information below.

For my need, I don't need the script run every 10 mn, it can run once per hour 
if it's better !

PS : sorry for my English

Original issue reported on code.google.com by thibaud....@gmail.com on 7 Oct 2013 at 10:05

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Mon Oct 07 03:07:26 PDT 2013 INFO: Saving preferences from form object which 
contains:
Mon Oct 07 03:07:26 PDT 2013 INFO: - localzone => Europe/Paris
Mon Oct 07 03:07:26 PDT 2013 INFO: - trigger_min => 10
Mon Oct 07 03:07:26 PDT 2013 INFO: - require_label => false
Mon Oct 07 03:07:26 PDT 2013 INFO: - email_receipts => false
Mon Oct 07 03:07:26 PDT 2013 INFO: - triggers => true
Mon Oct 07 03:07:26 PDT 2013 INFO: - debugging => true
Mon Oct 07 03:07:26 PDT 2013 INFO: - delim => @
Mon Oct 07 03:07:26 PDT 2013 INFO: - error_notification => true
Mon Oct 07 03:07:26 PDT 2013 INFO: User preferences object empty.. reloading..
Mon Oct 07 03:07:26 PDT 2013 INFO: Loading default property for key:bcc value: 
false
Mon Oct 07 03:07:26 PDT 2013 INFO: Refreshed preference object now contains:
Mon Oct 07 03:07:26 PDT 2013 INFO: -- Prefs --
Mon Oct 07 03:07:26 PDT 2013 INFO: Triggers: true
Mon Oct 07 03:07:26 PDT 2013 INFO: Email Receipts: false
Mon Oct 07 03:07:26 PDT 2013 INFO: Error Notifications: true
Mon Oct 07 03:07:26 PDT 2013 INFO: Debugging: true
Mon Oct 07 03:07:26 PDT 2013 INFO: Top level Name: GmailDelaySend
Mon Oct 07 03:07:26 PDT 2013 INFO: Label Required: false
Mon Oct 07 03:07:26 PDT 2013 INFO: Error Label Name: GmailDelaySend/Errors
Mon Oct 07 03:07:26 PDT 2013 INFO: To Send Label Name: GmailDelaySend/ToSend
Mon Oct 07 03:07:26 PDT 2013 INFO: Trigger Minutes: 10
Mon Oct 07 03:07:26 PDT 2013 INFO: Delim: @
Mon Oct 07 03:07:26 PDT 2013 INFO: TimeZone: Europe/Paris
Mon Oct 07 03:07:26 PDT 2013 INFO: getHTMLRegex: /^([\s\S]*?>)([^<]+)(<[\s\S]*)/
Mon Oct 07 03:07:26 PDT 2013 INFO: getTextRegex: /^\s*@([^<]*)(<[\s\S]*)/
Mon Oct 07 03:07:26 PDT 2013 INFO: ------------
Mon Oct 07 03:07:30 PDT 2013 INFO: Setting up trigger for function:main 
minutes: 10
Mon Oct 07 03:07:31 PDT 2013 INFO: Trigger has not already been set for 
function:main. Setting now to every: 10 minutes
Mon Oct 07 03:07:37 PDT 2013 INFO: Starting main()
Mon Oct 07 03:07:37 PDT 2013 INFO: User preferences object empty.. reloading..
Mon Oct 07 03:07:37 PDT 2013 INFO: Loading default property for key:bcc value: 
false
Mon Oct 07 03:07:37 PDT 2013 INFO: -- Prefs --
Mon Oct 07 03:07:37 PDT 2013 INFO: Triggers: true
Mon Oct 07 03:07:37 PDT 2013 INFO: Email Receipts: false
Mon Oct 07 03:07:37 PDT 2013 INFO: Error Notifications: true
Mon Oct 07 03:07:37 PDT 2013 INFO: Debugging: true
Mon Oct 07 03:07:37 PDT 2013 INFO: Top level Name: GmailDelaySend
Mon Oct 07 03:07:37 PDT 2013 INFO: Label Required: false
Mon Oct 07 03:07:37 PDT 2013 INFO: Error Label Name: GmailDelaySend/Errors
Mon Oct 07 03:07:37 PDT 2013 INFO: To Send Label Name: GmailDelaySend/ToSend
Mon Oct 07 03:07:37 PDT 2013 INFO: Trigger Minutes: 10
Mon Oct 07 03:07:37 PDT 2013 INFO: Delim: @
Mon Oct 07 03:07:37 PDT 2013 INFO: TimeZone: Europe/Paris
Mon Oct 07 03:07:37 PDT 2013 INFO: getHTMLRegex: /^([\s\S]*?>)([^<]+)(<[\s\S]*)/
Mon Oct 07 03:07:37 PDT 2013 INFO: getTextRegex: /^\s*@([^<]*)(<[\s\S]*)/
Mon Oct 07 03:07:37 PDT 2013 INFO: ------------
Mon Oct 07 03:07:37 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:38 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:40 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:41 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:43 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:44 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:46 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:47 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:49 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:50 PDT 2013 INFO: Exception:Exception: Trop d'appels pour ce 
service aujourd'hui : gmail read. thrown executing function:
function () {
return GmailApp.getUserLabels();
}
Mon Oct 07 03:07:52 PDT 2013 INFO: Gmail Delay Send failed to connect to one of 
the Google Services. This is OK if it happens infrequently, the script will run 
again in a few minutes. See here to avoid receiving these notifications: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelaySendOptions_8#Error_No
tifications. Function being called:
function () {
return GmailApp.getUserLabels();
}
.Error message: Exception: Trop d'appels pour ce service aujourd'hui : gmail 
read.
Mon Oct 07 03:07:52 PDT 2013 INFO: Service cache miss

Original comment by thibaud....@gmail.com on 7 Oct 2013 at 2:36

GoogleCodeExporter commented 8 years ago
Hello,

There isn't too much we can do about this error. There is a section on the wiki 
dedicated to quota: 
https://code.google.com/p/gmail-delay-send/wiki/GmailDelayFAQ_8#Quota

-Blair

Original comment by blairk...@gmail.com on 8 Oct 2013 at 5:37

GoogleCodeExporter commented 8 years ago
I know but I don't use a lot, so I don't understand why it don't want to work.
9 mails / day (10h to 18H)
I try on another gmail account and it's the sae thing.
Actually it look OK, I've delete all message of my email box, hope it'll be OK 
tomorrow again :)

Original comment by thibaud....@gmail.com on 8 Oct 2013 at 9:29

GoogleCodeExporter commented 8 years ago
hmm.. Do you have any other app scripts running that could be using your quota?

-Blair

Original comment by blairk...@gmail.com on 8 Oct 2013 at 10:50

GoogleCodeExporter commented 8 years ago
No I don't know the existence of script before I discover yours.
Today on my other GMail account, no problem.
My inbox is empty, no spam, no trash, only my drafts to send later.
I don't understand why but it's now OK.
Thanks
PS : I uninstall many times, I delete the spreadsheat, i don't have any 
triggers ...

Original comment by thibaud....@gmail.com on 9 Oct 2013 at 6:58

GoogleCodeExporter commented 8 years ago
ok, please let me know if you have other issues and we can investigate further.

Original comment by blairk...@gmail.com on 9 Oct 2013 at 8:00

GoogleCodeExporter commented 8 years ago
ok, and thanks for your script :)

Original comment by thibaud....@gmail.com on 9 Oct 2013 at 9:03

GoogleCodeExporter commented 8 years ago
please add at least an hour trigger... I don't use much ( 5-6 emails a day 
average) but is also seeing the same error... Also, not running any other 
scripts running... thanks

Original comment by ewan.b...@gmail.com on 11 Feb 2014 at 1:58