eyalroz / removedupes

Remove Duplicate Messages
https://addons.thunderbird.net/en-US/thunderbird/addon/removedupes/
Other
87 stars 6 forks source link

Uncaught TypeError: folderMessageHdrsIterator is undefined #42

Open shg opened 3 years ago

shg commented 3 years ago

I got an error "Uncaught TypeError: folderMessageHdrsIterator is undefined" when I ran Remove Duplicate Messages on a folder on an Exchange server (outlook.office.com). The add-on works with out any error on my another account using IMAP. Is this add-on supposed to work with an Exchange server?

Using Thunderbird 78.7.0 (64-bit) on macOS 11.2

Screen Shot 2021-02-03 at 7 36 36 Screen Shot 2021-02-03 at 7 40 37 Screen Shot 2021-02-03 at 7 40 46
eyalroz commented 3 years ago

Well, I've never tried using it with an Exchange Server. But - what I use are standard Thunderbird APIs, which should be available for every account. I guess somehow they aren't, for Exchange Server's.

I would look into this, but currently I am banned from the mailing lists, bug tracker and other systems of the Thunderbird project - for dissenting from the accepted project leadership positions on various issues, and since they have a draconian "secret trial with no ability to defend yourself" kind of mechanism which results in bans. I would check this independently, but I don't have access to any Exchange Server on which I could create an account. :-(

eyalroz commented 3 years ago

I'll at least try and fail more gracefully than that.

shg commented 3 years ago

@eyalroz Oh, that's too bad that Thunderbird project banned you from accessing the resources. I would appreciate if you fix this but I understand it might also be difficult without an access to any Exchange server.

By the way I forgot to mention that using an Exchange server is enabled in Thunderbird by another add-on named "Owl for Exchange". This might make it even more difficult for you to figure out the issue.

Thanks anyway for the useful add-on.

eyalroz commented 3 years ago

@shg : If only it was just a ban. I was partially banned in the middle of council elections as a means of removing me as a candidate.

Anyway, yes, I know about Owl. Maybe I can ask Ben Buksch about this.

shg commented 3 years ago

Umm I see. I don't know the details of the election process but it would be bad if it wasn't conducted democratically. I find this add-on very helpful and use it for the other accounts. Hope things are fixed.

eyalroz commented 3 years ago

Hello @shg,

Sorry for having taken a long while to get around to this. I just wrote Ben Buksch. I don't suppose you have an Exchange account I could use to try this out?

Also, please check whether this still occurs with TB 91 and the new beta release (0.5.2b2).

shg commented 3 years ago

Hi @eyalroz,

I tested 0.5.2b2 and got the same error.

err

I was trying to test TB 91 beta too but I couldn't because Owl does not support the version.

The Exchange account I am using now is a company account so I can't let you use it. Does a personal Office 365 account work for testing? If so, I am happy to offer a temporary account for debugging this.

eyalroz commented 3 years ago

So, I've been told that one can get a free MS Exchange account through Microsoft (hotmail? Windows online?) - I need to find some time to get one of those, then see if I can reproduce this issue.

PS - v0.5.2b2 is now deprecated in favor of v0.5.2b3 (at #57); but that will probably not have any effect on this issue.

eyalroz commented 3 years ago

I can now, unfortunately, verify the problem. I don't know what caused it though. Let me at least try to fail more gracefully first...

eyalroz commented 3 years ago

Well, for now, I'm faced with Owl crashes:

https://bugzilla.mozilla.org/show_bug.cgi?id=1728517

so I can't really work on this. But it teaches me that Exchange support is not as perfect as we might like.

As a workaround, for now, consider:

  1. Moving/copying all messages to a local folder, and applying dupe removal there.
  2. Setting TB up to access your server using IMAP.