autoarchive
autoarchive copied to clipboard
Some mails and some sub folders not copied
I have a mail folder WorkStuff, with several levels of subfolder. I have a rule - Action = Copy Source Folder = imap://....WorkStuff Scope = hierarchy Destination Folder = mailbox://nobody@Local Folders/Archive/WorkStuff Age = 0
AutoArchive has created some but not all of the subfolders under WorkStuff and for some of the subfolders which are created the mails are not copied over.
I have looked in the Error Console and there are no errors or warnings listed.
Some subfolders have been created correctly and all the mails copied across, I cannot see any obvious logic to why some work and some don't. I have rebooted a couple of times and that did not seem to make any difference.
I enabled Dry Run and tried that, it gave an empty summary. I then copied a new mail into one of the source subfolders and tried Dry Run again, that produced a summary that looked OK for the new mail and the ones that were missing, so I ran it for real. There were several pop up boxes that said -
Exception - Caught exception, reference path....
but they didn't stay on the screen long enough to read them. The Error Console has loads of messages but no errors or warnings.
Any ideas?
Mick
Please enable 'show verbose information in error console' of 'advanced settings' for this addon, then open 'error console' by 'Tools' => "Error Console".
Then click 'run now' and Please find the logs shown in the error console and post here
BTW, Did the sub folders have blank characters in the name?
I already had verbose on and couldn't see anything in the error console. There were several folders with spaces in the names, but that didn't line up with the ones that had problems, however I renamed them all to remove spaces and tried again. I am now seeing a few errors in the log -
Timestamp: 08/08/14 14:25:44 Error: 2014-08-08 14:25:44 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/gloda/log4moz.js Line: 693
Timestamp: 08/08/14 14:25:44 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300
They are repeated 4 times. Also Awesome Auto Archive does not seem to complete, I have left it running for hours and I still have a Stop Now option at the top.
Any ideas on this? Is there any other information that I could provide?
You should send me messages in error console generated by AAA, like:
OK, there is a lot of it, I have selected the bits that look relevant. Awesome Auto Archive startup... 2014-08-19 22:04:07.458 rules: Array
-
0 (object) [object Object] | + enable (boolean) false | + action (string)'copy' | + src (string)'imap://mick%[email protected]/Sent' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/Sent' | + age (number) 30 | *
-
1 (object) [object Object] | + enable (boolean) true | + action (string)'copy' | + src (string)'imap://mick%[email protected]/WorkStuff' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/WorkStuff' | + age (number) 0 | *
-
2 (object) [object Object] | + enable (boolean) true | + action (string)'copy' | + src (string)'imap://mick%[email protected]/test' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/test' | + age (number) 0 | * * 2014-08-19 22:04:07.463 autoArchiveUtil initName 2014-08-19 22:04:07.464 Will wakeup @ 19/08/2014 22:04:17 2014-08-19 22:04:07.478 Awesome Auto Archive 0.6 2014-08-19 22:04:07.556 Load for chrome://messenger/content/messenger.xul Timestamp: 19/08/14 22:04:11 Warning: Use of getUserData() or setUserData() is deprecated. Use WeakMap or element.dataset instead. Source File: resource://gre/modules/addons/XPIProvider.jsm -> jar:file:///home/mick/.thunderbird/80svqf7o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/bootstrap.js -> jar:file:///home/mick/.thunderbird/80svqf7o.default/extensions/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D.xpi!/lib/requestNotifier.js Line: 63 2014-08-19 22:04:17.465 Computer already idle for 1 seconds 2014-08-19 22:04:17.465 Wait for 59 more seconds idle time 2014-08-19 22:04:24.359 autoArchiveService doArchive 2014-08-19 22:04:24.360 rules: Array
-
0 (object) [object Object] | + enable (boolean) false | + action (string)'copy' | + src (string)'imap://mick%[email protected]/Sent' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/Sent' | + age (number) 30 | *
-
1 (object) [object Object] | + enable (boolean) true | + action (string)'copy' | + src (string)'imap://mick%[email protected]/WorkStuff' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/WorkStuff' | + age (number) 0 | *
-
2 (object) [object Object] | + enable (boolean) true | + action (string)'copy' | + src (string)'imap://mick%[email protected]/test' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/test' | + age (number) 0 | * * 2014-08-19 22:04:24.360 Total 2 rule(s) 2014-08-19 22:04:24.363 this.rules: Array
-
0 (object) [object Object] | + enable (boolean) true | + action (string)'copy' | + src (string)'imap://mick%[email protected]/WorkStuff' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/WorkStuff' | + age (number) 0 | *
-
1 (object) [object Object] | + enable (boolean) true | + action (string)'copy' | + src (string)'imap://mick%[email protected]/test' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/test' | + age (number) 0 | * * 2014-08-19 22:04:24.364 Running rule copy imap://mick%[email protected]/WorkStuff to mailbox://nobody@Local%20Folders/Archive/WorkStuff with filter { age => 0 } 2014-08-19 22:04:24.373 updateFolder mailbox://nobody@Local%20Folders/Archive/WorkStuff 2014-08-19 22:04:24.385 FolderLoaded mailbox://nobody@Local%20Folders/Archive/WorkStuff 2014-08-19 22:04:24.385 updateFolder mailbox://nobody@Local%20Folders/Archive/WorkStuff/PGI 2014-08-19 22:04:24.397 FolderLoaded mailbox://nobody@Local%20Folders/Archive/WorkStuff/PGI 2014-08-19 22:04:24.397 updateFolder mailbox://nobody@Local%20Folders/Archive/WorkStuff/PGI/Travel 2014-08-19 22:04:24.399 FolderLoaded mailbox://nobody@Local%20Folders/Archive/WorkStuff/PGI/Travel
there are then many more 'updateFolder' and 'FolderLoaded' lines, then
2014-08-19 22:04:39.053 All FolderLoaded 2014-08-19 22:04:39.055 Searching imap://mick%[email protected]/WorkStuff imap://mick%[email protected]/WorkStuff/PGI imap://mick%[email protected]/WorkStuff/PGI/Travel imap://mick%[email protected]/WorkStuff/Projects imap://mick%[email protected]/WorkStuff/Projects/Panasonic imap://mick%[email protected]/WorkStuff/Projects/Stryker imap://mick%[email protected]/WorkStuff/Projects/Huawei imap://mick%[email protected]/WorkStuff/Projects/Uponor imap://mick%[email protected]/WorkStuff/Projects/Uponor/travel imap://mick%[email protected]/WorkStuff/Projects/BT imap://mick%[email protected]/WorkStuff/Projects/Cummins imap://mick%[email protected]/WorkStuff/Projects/WelshHealth imap://mick%[email protected]/WorkStuff/Projects/Numatic imap://mick%[email protected]/WorkStuff/Projects/GEHealthCare imap://mick%[email protected]/WorkStuff/Projects/MessierDowty imap://mick%[email protected]/WorkStuff/ContractAgencies imap://mick%[email protected]/WorkStuff/ContractAgencies/Ntrinsic imap://mick%[email protected]/WorkStuff/ContractAgencies/SquareOne imap://mick%[email protected]/WorkStuff/ContractAgencies/SigmarRecruitment imap://mick%[email protected]/WorkStuff/ContractAgencies/Provanis imap://mick%[email protected]/WorkStuff/ContractAgencies/NextVentures imap://mick%[email protected]/WorkStuff/ContractAgencies/IDPP imap://mick%[email protected]/WorkStuff/ContractAgencies/AbsoluteApplications imap://mick%[email protected]/WorkStuff/ContractAgencies/OracleContractors imap://mick%[email protected]/WorkStuff/ContractAgencies/Octopus imap://mick%[email protected]/WorkStuff/ContractAgencies/Maximus imap://mick%[email protected]/WorkStuff/ContractAgencies/AppsIT imap://mick%[email protected]/WorkStuff/ContractAgencies/InterimRegister imap://mick%[email protected]/WorkStuff/ContractAgencies/NetworkersMSB with AND (status,isn't,) 2014-08-19 22:04:39.500 Total 5679 messages hit 2014-08-19 22:04:39.500 skipReason: [object Object]
- duplicate (number) 3936
- exceed (number) 1643
- cantDelete (number) 0
- deleted (number) 0
- srcLocked (number) 0
- destLocked (number) 0
- flaged (number) 0
- unread (number) 0
- tags (number) 0
- cantArchive (number) 0
- offline (number) 0 * 2014-08-19 22:04:39.500 3936 messages already exists in target folder 2014-08-19 22:04:39.500 will copy 100 messages, total 6.80M bytes 2014-08-19 22:04:39.500 Need create these folders: [object Object] * 2014-08-19 22:04:39.502 will do copy in 2 steps 2014-08-19 22:04:39.502 groups: [object Object]
- imap://mick%[email protected]/WorkStuff/Projects/Huawei => mailbox://nobody@Local%20Folders/Archive/WorkStuff/Projects/Huawei (number) 0
- imap://mick%[email protected]/WorkStuff/Projects/Uponor => mailbox://nobody@Local%20Folders/Archive/WorkStuff/Projects/Uponor (number) 1 * 2014-08-19 22:04:39.502 self.copyGroups: Array
- 0 (object) [object Object] | + src (string)'imap://mick%[email protected]/WorkStuff/Projects/Huawei' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/WorkStuff/Projects/Huawei' | + action (string)'copy' | + messages (object) [xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr] | *
- 1 (object) [object Object] | + src (string)'imap://mick%[email protected]/WorkStuff/Projects/Uponor' | + dest (string)'mailbox://nobody@Local%20Folders/Archive/WorkStuff/Projects/Uponor' | + action (string)'copy' | + messages (object) [xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr],[xpconnect wrapped nsIMsgDBHdr] | * * 2014-08-19 22:04:39.503 OnStart copy
duplicate (number) 3936 exceed (number) 1643 3936 messages already exists in target folder 2014-08-19 22:04:39.500 will copy 100 messages, total 6.80M bytes
It seems you have set the limitation for only process 100 messages per run, please set it to 0 or bigger number first in advanced settings.
Thanks.
I have changed the limit to zero and run again. I now see some error messages -
Timestamp: 20/08/14 10:24:12 Error: 2014-08-20 10:24:12 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined
Source File: resource:///modules/gloda/log4moz.js Line: 693 Timestamp: 20/08/14 10:24:12 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300
The error is still from autosync, not from AAA.