Closed Bug 1389399 Opened 7 years ago Closed 7 years ago

Enigmail doesn't work in Thunderbird 56 beta, with "NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import] mime.jsm:16"

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: dholbert, Unassigned)

Details

(Whiteboard: [addon: Enigmail])

Attachments

(1 file)

I was just upgraded to Thunderbird 56, and it seems this made Enigmail stop working.

My encrypted emails are no longer decrypted -- and if I try to interact with Enigmail UI, it doesn't do anything and triggers various warnings in my Ctrl+Shift+J Browser Console.

At startup, I see this in Browser Console:
NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import]  mime.jsm:16
Contract ID '@mozilla.org/enigmail/cline-handler;1' was registered as a command line handler for entry 'cline-enigmail', but could not be created.
NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import] mime.jsm:16

Note: the line referenced there (mime.jsm:16) is for this line of source code
> Components.utils.import("resource://gre/modules/jsmime.jsm"); /*global jsmime: false*/

If I click the Enigmail menu (on Thunderbird's menu toolbar), the menu opens, but I see this appear in my Browser Console:
TypeError: Enigmail.msg is undefined[Learn More] messenger.xul:1:1

And then if I choose "Setup Wizard" or "Preferences" from its menu, I see this appear in my Browser Console:
ReferenceError: EnigmailWindows is not defined[Learn More]  messenger.xul:1:1
Note: I am on the thunderbird "beta" channel (hence getting 56 as an update this week).

Also, https://addons.mozilla.org/en-US/thunderbird/addon/enigmail/ indicates that the add-on is expected to work with "52.0 - 56.0".

Also, I was running the latest Enigmail release version (which I believe was 1.9.8.1) when I first encountered this bug -- and I've tried installing the add-on's "development channel" version, 1.9.8b1 -- that's what I was actually using when I copypasted Browser Console contents for comment 0 here. (But I think the latest release version behaves the same.)  (I think the development version might also be older than the release, too, based on its version number -- not sure.)

Patrick, have you encountered any issues like this with Thunderbird 56 beta?  I'm on Linux and I don't have any other Thunderbird add-ons installed, for what it's worth.
Flags: needinfo?(patrick)
Summary: Enigmail doesn't work in Thunderbird 56, with "NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import] mime.jsm:16" → Enigmail doesn't work in Thunderbird 56 beta, with "NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIXPCComponents_Utils.import] mime.jsm:16"
Patrick is aware of this and has fixed it in his Nightly build.

FYI, this
  Components.utils.import("resource://gre/modules/jsmime.jsm");
should be
  Components.utils.import("resource:///modules/jsmime.jsm");

Closing the bug since it's an add-on problem.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INVALID
Whiteboard: [addon: Enigmail]
I updated the compatibility info on AMO; Enigmail 1.9.8.1 is no only compatible with TB up to 55.0.
Thanks to you both!

I can confirm that this issue is fixed in the Enigmail nightly build, which is available here:
 https://www.enigmail.net/index.php/en/download/nightly-build
Flags: needinfo?(patrick)
You need to log in before you can comment on or make changes to this bug.