Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Paul Bibbings <paul.bibbings@gmail.com>
To: info-gnus-english@gnu.org
Subject: Re: Debugging an imap connection in gnus
Date: Thu, 25 Mar 2010 01:44:51 +0000	[thread overview]
Message-ID: <87y6hh899o.fsf@gmail.com> (raw)
In-Reply-To: <87k4t1b7s3.fsf@gmail.com>

Paul Bibbings <paul.bibbings@gmail.com> writes:

> I've been reading my gmail in gnus for some while now, and without
> issue.  I'm running gnus v0.11, emacs 23.1.1 (i386-mingw-nt6.0.6002) on
> Windows Vista.  To connect to my gmail I've been using imap with an ssl
> connection that uses a version of openssl bundled with the Cygwin
> environment.  Today there was a major upgrade of Cygwin to 1.7.2-1
> coupled with a release upgrade of openssl to 0.9.8m-1.  After the
> upgrades, I can no longer connect to the imap server from gnus.

<snip />

Responding to myself, I have managed to solve this without having to try
and decipher the error messages I was getting from Gnus.  It turned out
to be something very remote from either Gnus, or Cygwin for that
matter.  In my environment variables on my Windows installation I had
(for whatever reason)

   SHELL=C:\cygwin\bin\bash.exe

That's odd, in itself, since Windows doesn't need bash as a shell, and
Cygwin would need this to be /usr/bin/bash.exe.  Having upgraded Cygwin
today I found that this EV confused both mintty and xterm and so I
changed it to SHELL=/usr/bin/bash.exe and they both started working
again.  But it was /this/ change that broke openssl when it was called
from Emacs, while it still worked from bash.  The truth is, all three -
mintty, xterm and Emacs (Gnus) /would/ read this EV if it was there, but
none needed it.  So, it was simply a matter of removing it and
everything works fine again.

I notice that other people who have upgraded Cygwin today are having
similar problems, so this is just to post something in case anyone else
is scratching their heads over similar problems.

Aside from that, apologies for the noise.

Regards

Paul Bibbings

  reply	other threads:[~2010-03-25  1:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-24 23:48 Paul Bibbings
2010-03-25  1:44 ` Paul Bibbings [this message]
2010-03-25 14:15   ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y6hh899o.fsf@gmail.com \
    --to=paul.bibbings@gmail.com \
    --cc=info-gnus-english@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).