Gnus development mailing list
 help / color / mirror / Atom feed
From: TSUCHIYA Masatoshi <tsuchiya@namazu.org>
To: ding@gnus.org
Subject: Failed to open IMAP server
Date: Thu, 30 Oct 2014 13:02:37 +0900	[thread overview]
Message-ID: <87fve6mcgy.fsf@tsuchiya.vaj.namazu.org> (raw)

Hi,

I face a quite mysterious trouble and am seeking advices.

My using softwares are:

    emacs-version => "24.3.1"
    gnus-version => "Ma Gnus v0.12"

I have just simplified my configuration into:

    (setq gnus-select-method '(nnimap "imap.example.net"))

However, Gnus failed to open the IMAP server.  Its error message is:

    Unable to open server nnimap+imap.example.net due to: Wrong type
    argument: listp, #<process *nnimap*>

I used edebug to investigate the cause of this trouble, and found that
open-network-stream() is called wihtout `parameters' argument.

In order to confirm my observation, I evaluated the following code and
tried re-connection.

    (defadvice open-network-stream
      (around check-parameters activate compile)
      (unless parameters
        (error "Unrecognizable error!!!"))
      ad-do-it)

Gnus's error message changed into:

    Unable to open server nnimap+imap.example.net due to: Unrecognizable
    error!!!

I believe that this is an evidence of my observation.

However, nnimap-open-connection-1() calles open-network-stream() with
`parameters' argument, as you know.

I cannot understand my observation and cannot imagine its cause.
Any comments and suggestions?

-- 
TSUCHIYA Masatoshi



             reply	other threads:[~2014-10-30  4:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30  4:02 TSUCHIYA Masatoshi [this message]
2014-10-30  5:21 ` Katsumi Yamaoka
2014-10-30  5:36   ` Katsumi Yamaoka
2014-10-30  5:59   ` TSUCHIYA Masatoshi
2014-11-17 14:22 ` TSUCHIYA Masatoshi

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=87fve6mcgy.fsf@tsuchiya.vaj.namazu.org \
    --to=tsuchiya@namazu.org \
    --cc=ding@gnus.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).