wangvisual / autoarchive

A Thunderbird extension that can move or archive your mails based on rules.
GNU General Public License v3.0
41 stars 13 forks source link

Copy will not go to local #40

Closed micksulley closed 10 years ago

micksulley commented 10 years ago

I have set up a single rule as follows Action = Copy Source Folder = imap://mick@sulley.info.../Sent Scope = hierarchy Destination Folder = mailbox://nobody@Local Folders/Archive

But it is copying to an Archive folder in that mail account rather than Local Folders. Is this a bug or have I done something wrong? Running Awesome 0.6 on Thunderbird 31.0 on Linux Mint

Thanks Mick

wangvisual commented 10 years ago

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

micksulley commented 10 years ago

Thanks for the fast reply. Here is the error log Timestamp: 02/08/14 09:00:13 Error: 2014-08-02 09:00:13 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined

Source File: resource:///modules/gloda/log4moz.js Line: 693

Timestamp: 02/08/14 09:00:13 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300

Timestamp: 02/08/14 09:00:17 Error: 2014-08-02 09:00:17 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined

Source File: resource:///modules/gloda/log4moz.js Line: 693

Timestamp: 02/08/14 09:00:17 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300

Timestamp: 02/08/14 09:00:22 Error: 2014-08-02 09:00:22 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined

Source File: resource:///modules/gloda/log4moz.js Line: 693

Timestamp: 02/08/14 09:00:22 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300

wangvisual commented 10 years ago

This errors are from TB build-in module autosync, not from autoarchive. You need to check the warnings/messages in the error console like:

2014-08-02 16:25:04.367 Running rule archive imap://we...@...s.com/Work/P4 Review with filter { age => 0, from => bella } 2014-08-02 16:25:04.371 needCheck mail server: we@com 2014-08-02 16:25:04.375 Checking if server server4 on line using imap://wei@ys.com:1143/verifyLogon 2014-08-02 16:25:04.428 OnStopRunningUrl: server server4 2014-08-02 16:25:04.428 imap://we@om:1143 OK 2014-08-02 16:25:04.428 All servers checking done, has bad server? : false 2014-08-02 16:25:04.428 updateFolder imap://wei@ys.com/Work/P4 Review ...

micksulley commented 10 years ago

Thanks for the fast reply. Here is the error log Timestamp: 02/08/14 09:00:13 Error: 2014-08-02 09:00:13 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined

Source File: resource:///modules/gloda/log4moz.js Line: 693

Timestamp: 02/08/14 09:00:13 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300

Timestamp: 02/08/14 09:00:17 Error: 2014-08-02 09:00:17 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined

Source File: resource:///modules/gloda/log4moz.js Line: 693

Timestamp: 02/08/14 09:00:17 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300

Timestamp: 02/08/14 09:00:22 Error: 2014-08-02 09:00:22 autosyncActivities ERROR onDownloadCompleted: TypeError: this._syncInfoPerFolder[folder.URI] is undefined

Source File: resource:///modules/gloda/log4moz.js Line: 693

Timestamp: 02/08/14 09:00:22 Error: this._syncInfoPerFolder[folder.URI] is undefined Source File: resource:///modules/activity/autosync.js Line: 300

micksulley commented 10 years ago

Sorry for the confusion, it was working correctly but I had misinterpreted what was happening. Sorry for wasting your time and thank you for your help. Mick