Enigmail no longer works after updating to 0.96

If you have problems installing Enigmail, post them here.

Enigmail no longer works after updating to 0.96

Postby brausch » 8th Aug 2009 14:58

Hi,
I've been using enigmail for years and never had a problem with it, but after updating to version 0.96 it doesn't work any longer. I always get the message "Error accessing the enigmail service" (sorry, I don't know the exact wording since I'm using the German version. It says "Fehler beim Zugriff auf enigmail Dienste"). If I open the Enigmail preferences, it says that it doesn't find GnuPG, but the path is correct. I also tried to copy the excecutable to the thunderbird folder or any other folder in my path. If I start the OpenGPG-Wizard, I get stuck at the place where I should point to the gpg executable. I select the gpg executable, but then the wizard says, it doesn't find gpg and shows the same dialog again. I tried to trace the thunderbird start with sysinternal's processmonitor and it doesn't show any obvious errors. I can even see that the gpg executable is successfully referenced. I also tried to reinstall thunderbird and enigmail, but I still can't use enigmail.

I hope someone can help, thanks in advance.

My System: WinXP SP3 as non-Admin user, thunderbird 2.0.0.22, enigmail 0.96.0, gpg 1.4.9.

The contents of the enigdbug file (no other debug files are created):
2009-08-08 15:47:18.062 enigmail.js: Logging debug output to c:\misc\enigdbug.txt
2009-08-08 15:47:18.062 enigmail.js: Enigmail version 0.96.0
2009-08-08 15:47:18.062 enigmail.js: OS/CPU=Windows NT 5.1
2009-08-08 15:47:18.062 enigmail.js: Platform=Windows
2009-08-08 15:47:18.062 enigmail.js: composeSecure=true
2009-08-08 15:47:18.062 enigmail.js: Enigmail.initialize: gEnvList = ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users,APPDATA=C:\Dokumente und Einstellungen\Bernd\Anwendungsdaten,COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien,COMSPEC=C:\WINDOWS\system32\cmd.exe,HOMEDRIVE=C:,HOMEPATH=\Dokumente und Einstellungen\Bernd,LANG=DE,PATH=C:\Programme\Mozilla Thunderbird;C:\Programme\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;C:\Programme\Gemeinsame Dateien\Adobe\AGL;C:\Programme\IsoBuster;C:\Programme\Subversion\bin;C:\Programme\QuickTime\QTSystem\,PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH,PROGRAMFILES=C:\Programme,SYSTEMDRIVE=C:,SYSTEMROOT=C:\WINDOWS,TEMP=C:\DOKUME~1\Bernd\LOKALE~1\Temp,TMP=C:\DOKUME~1\Bernd\LOKALE~1\Temp,USERPROFILE=C:\Dokumente und Einstellungen\Bernd,WINDIR=C:\WINDOWS
2009-08-08 15:47:18.062 enigmail.js: EnigConvertToUnicode: utf-8
2009-08-08 15:47:18.062 EnigmailAgentPath=C:\Programme\GnuPG\gpg.exe
brausch
Novice User
Novice User
 
Posts: 5
Joined: 1st Aug 2009 10:19

Re: Enigmail no longer works after updating to 0.96

Postby patrick » 8th Aug 2009 16:15

Do you have the addon "Outlook PST v1.2" installed? If so, please disable or uninstall it (it uses an old, now incompatible version of the Enigmail binary library).
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Re: Enigmail no longer works after updating to 0.96

Postby brausch » 9th Aug 2009 09:21

No, the only other addon is the German dictionary (version 1.0.1). Disabling this Addon doesn't help.
brausch
Novice User
Novice User
 
Posts: 5
Joined: 1st Aug 2009 10:19

Re: Enigmail no longer works after updating to 0.96

Postby patrick » 9th Aug 2009 17:58

brausch wrote:The contents of the enigdbug file (no other debug files are created):
2009-08-08 15:47:18.062 enigmail.js: Logging debug output to c:\misc\enigdbug.txt
2009-08-08 15:47:18.062 enigmail.js: Enigmail version 0.96.0
2009-08-08 15:47:18.062 enigmail.js: OS/CPU=Windows NT 5.1
2009-08-08 15:47:18.062 enigmail.js: Platform=Windows
2009-08-08 15:47:18.062 enigmail.js: composeSecure=true
2009-08-08 15:47:18.062 enigmail.js: Enigmail.initialize: gEnvList = ALLUSERSPROFILE=C:\Dokumente und Einstellungen\All Users,APPDATA=C:\Dokumente und Einstellungen\Bernd\Anwendungsdaten,COMMONPROGRAMFILES=C:\Programme\Gemeinsame Dateien,COMSPEC=C:\WINDOWS\system32\cmd.exe,HOMEDRIVE=C:,HOMEPATH=\Dokumente und Einstellungen\Bernd,LANG=DE,PATH=C:\Programme\Mozilla Thunderbird;C:\Programme\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Programme\Gemeinsame Dateien\GTK\2.0\bin;C:\Programme\Gemeinsame Dateien\Adobe\AGL;C:\Programme\IsoBuster;C:\Programme\Subversion\bin;C:\Programme\QuickTime\QTSystem\,PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH,PROGRAMFILES=C:\Programme,SYSTEMDRIVE=C:,SYSTEMROOT=C:\WINDOWS,TEMP=C:\DOKUME~1\Bernd\LOKALE~1\Temp,TMP=C:\DOKUME~1\Bernd\LOKALE~1\Temp,USERPROFILE=C:\Dokumente und Einstellungen\Bernd,WINDIR=C:\WINDOWS
2009-08-08 15:47:18.062 enigmail.js: EnigConvertToUnicode: utf-8
2009-08-08 15:47:18.062 EnigmailAgentPath=C:\Programme\GnuPG\gpg.exe


The log file indicates that gpg.exe is located correclty. As next step I would expect to see something about trying to execute the found program. Are you sure that there is nothing more in the log file? Is there anything in the Thunderbird Error console (Tools > Error Console)?
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Re: Enigmail no longer works after updating to 0.96

Postby brausch » 10th Aug 2009 19:10

Yes, there is nothing more in the enigmail logfile. But I didn't look at the thunderbird error console before. It says:

Fehler: this.ipcService.runPipe is not a function
Quelldatei: file:///C:/Dokumente%20und%20Einstellungen/Bernd/Anwendungsdaten/Thunderbird/Profiles/rcyryhxb.default/extensions/%7B847b3a00-7ab1-11d4-8f02-006008948af5%7D/components/enigmail.js
Zeile: 1605

I hope someone knows what causes this error.
brausch
Novice User
Novice User
 
Posts: 5
Joined: 1st Aug 2009 10:19

Re: Enigmail no longer works after updating to 0.96

Postby patrick » 11th Aug 2009 14:28

This is really weird. It seems like if an old version of the binary library is still around.

Could you search in your profile folder and in the Thunderbird installation tree for enigmime.dll and ipc.dll and post the date and exact file sizes of the found files?
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Re: Enigmail no longer works after updating to 0.96

Postby brausch » 11th Aug 2009 18:00

enigmime.dll is in folder "Mozilla Thunderbird\components": 184 KB (188.416 Bytes), 1st Oct. 2004

That's the only occurance. I don't see ipc.dll in the thunderbird or profile folder. What I do see are the files enigmail.xpt and ipc.xpt in different locations.

"Mozilla Thunderbird\components"
enigmime.xpt: 1,65 KB (1.692 Bytes), 1st Oct. 2004
ipc.xpt: 3,02 KB (3.098 Bytes), 1st Oct. 2004

"Profiles\...\extensions\{847b3a00-7ab1-11d4-8f02-006008948af5}\components"
enigmime.xpt: 1,91 KB (1.957 Bytes), 11th June 2009
ipc.xpt: 3,06 KB (3.140 Bytes), 11th June 2009
brausch
Novice User
Novice User
 
Posts: 5
Joined: 1st Aug 2009 10:19

Re: Enigmail no longer works after updating to 0.96

Postby patrick » 12th Aug 2009 08:15

brausch wrote:enigmime.dll is in folder "Mozilla Thunderbird\components": 184 KB (188.416 Bytes), 1st Oct. 2004

That's the only occurance. I don't see ipc.dll in the thunderbird or profile folder. What I do see are the files enigmail.xpt and ipc.xpt in different locations.

"Mozilla Thunderbird\components"
enigmime.xpt: 1,65 KB (1.692 Bytes), 1st Oct. 2004
ipc.xpt: 3,02 KB (3.098 Bytes), 1st Oct. 2004

Please delete the two files above (and also the file enigmail.xpt if it exists). They are definitely disturbing Enigmail. I wonder where they come from -- did you install an old version of Enigmail into Thunderbird or did you in the past install Enigmail globally?
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Re: Enigmail no longer works after updating to 0.96

Postby brausch » 12th Aug 2009 20:05

OK, thanks for your help, enigmail works again. I did the following:

- Uninstalled Enigmail as normal user. Confirmed that it was deleted from Profiles folder.
- Uninstalled Thunderbird (as admin). Some files in the program files/thunderbird folder remained. For example enigmime.dll, enigmime.xpt and ipc.xpt in the components folder and enigmime.jar in the chrome folder. There were also files from an old plugin (PalmSyncProxy) that should not be there.
- Deleted program files/thunderbird (as admin)
- Reinstalled thunderbird (as admin)
- Reinstalled enigmail (AddOns -> Install ->enigmail-0.96.0-tb+sm-win.xpi) (as normal user)

I'm using enigmail since a few years on this computer, so I'm not really sure, what happended. I think I installed a version of enigmail, using the Addons Dialog and choosing a downloaded xpi file. Since then I always used the integrated update function and updated if there was a new version. All this as non admin user (I know, since some files got copied in the program files folder that I must have done something as admin in the past, but I really don't know what). What do you mean "Installed enigmail globally?"

Do you need any further information, or should we close this case, since it seems to be some mis-installation of me.
brausch
Novice User
Novice User
 
Posts: 5
Joined: 1st Aug 2009 10:19

Re: Enigmail no longer works after updating to 0.96

Postby UncleOp » 24th Sep 2009 01:22

[um, nevermind? I either completely missed the "OpenPGP" in the menu bar, or it magically started working when I installed pinentry, mentioned in the FAQ here but NOT called out in the ./configure scripts of any of the tools I said I installed below..]

I'm running Thunderbird on a Linux system (CentOS 5.3), using enigmail 0.96.0. I installed by hand the latest versions of pth (2.0.7), libksba (1.0.7) libassuan (1.0.5), libgcrypt (1.4.4). I started using the CentOS-native version of Thunderbird (2.0.0.22), but then tried to use the latest from mozilla.org (2.0.0.23). No luck. Enigmail says it installs each time, but I don't see any icons in the menu bar nor any evidence of Enigmail except in the Add-ons; there's a "Preferences" button on the Add-ons page for Enigmail, but clicking it does nothing. If I click "Uninstall", it says it will be gone on next restart, but it isn't. It still says it will uninstall on the next Thunderbird restart.

Since I did "standard" ./configure and make installs of the newer libraries and tools, they went to /usr/local/wherever. So I still have an old "gpg" in /usr/bin, but I do have "gpg2" in /usr/local/bin. I am loath to completely nuke the CentOS-supplied version of gpg (1.4.5), but it is a older version than Enigmail claims to support.

Thoughts? Do I have to play some path games? Should I do some creative soft-linking? Do I have to actively rpm -e the old package(s)?

Thanks for any suggestions.
UncleOp
Novice User
Novice User
 
Posts: 5
Joined: 23rd Sep 2009 20:42

Re: Enigmail no longer works after updating to 0.96

Postby patrick » 24th Sep 2009 08:02

This looks like a corrupted extension directory. Search for Enigmail (or actually for a directory called {847b3a00-7ab1-11d4-8f02-006008948af5}) it in your profile directory and delete it from there. Also delete extensions.cache, extensions.ini, extensions.rdf and XUL.mfasl.

Then start Thunderbird and check if Enigmail is completely gone (also from the add-ons menu). If yes, then install Enigmail again.
User avatar
patrick
Developer
Developer
 
Posts: 517
Joined: 13th Nov 2005 22:16
Location: Zurich, Switzerland

Re: Enigmail no longer works after updating to 0.96

Postby UncleOp » 24th Sep 2009 19:07

patrick wrote:This looks like a corrupted extension directory. Search for Enigmail (or actually for a directory called {847b3a00-7ab1-11d4-8f02-006008948af5}) it in your profile directory and delete it from there. Also delete extensions.cache, extensions.ini, extensions.rdf and XUL.mfasl.

Then start Thunderbird and check if Enigmail is completely gone (also from the add-ons menu). If yes, then install Enigmail again.


I had found that directory already. In addition to deleting it, I also edited Extensions.rdf to remove the reference(s). I did this cycle of install->remove a couple of times. It was only after I installed pinentry-gtk that "OpenPGP" showed up in my TB menu bar. Honest.

Since it's "working" for me now - and I have left the distro's gpg alone - I'm not too worried for me. But it seems someone's ./configure list (or other dependency) list is out of whack. OBTW, EnigMail seems to look for "gpg" first, and not "gpg2"; in my (oddball) case, I have both: gpg is the distro's, in /usr/bin, and gpg2 is the hand-installed, in /usr/local/bin. I did the Basic Settings:Files and Directories override to point to gpg2 and it has been fine. So far. I haven't done much more than sign a message to my self and then encrypt a message to myself as a couple of smoke tests.
UncleOp
Novice User
Novice User
 
Posts: 5
Joined: 23rd Sep 2009 20:42


Return to Enigmail Installation Problems