[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Cannot connect to mail server with NoGnus version, well with Gnus
From: |
Sébastien Vauban |
Subject: |
Re: Cannot connect to mail server with NoGnus version, well with Gnus |
Date: |
Mon, 04 Apr 2011 21:47:25 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) |
Hi Lars,
Lars Magne Ingebrigtsen wrote:
> Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:
>
>> Warning: Opening nnimap server on mc...failed: ; Unable to open server
>> nnimap+mc due to: Wrong number of arguments: nil, 0
>> What can we do to further debug this?
>
> Could you call the open function directly?
>
> Like
>
> (nnimap-open-server "mc.server.name")
>
> or whatever the definition of the "mc" server is.
Procedure:
1. Launch Gnus dev => no connection to company mail server (imap), well to
newsgroups... this is the described situation
2. Quit Gnus
3. Eval the above sexpr, resulting in:
--8<---------------cut here---------------start------------->8---
Mark set [2 times]
Opening connection to mail.company.com via tls...
Opening TLS connection to `mail.company.com'...
Opening TLS connection with `gnutls-cli --insecure -p imaps
mail.company.com'...failed
Opening TLS connection with `gnutls-cli --insecure -p imaps mail.company.com
--protocols ssl3'...failed
Opening TLS connection with `openssl s_client -connect mail.company.com:imaps
-no_ssl2 -ign_eof'...failed
Opening TLS connection to `mail.company.com'...failed
Error: wrong-number-of-arguments; Data: (nil 0)
Mark set [2 times]
--8<---------------cut here---------------end--------------->8---
4. Activate debugs:
--8<---------------cut here---------------start------------->8---
(setq debug-on-error t
debug-on-signal t
debug-on-quit t)
--8<---------------cut here---------------end--------------->8---
5. Eval the above sexpr, resulting in backtrace:
--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (wrong-number-of-arguments nil 0)
signal(wrong-number-of-arguments (nil 0))
open-protocol-stream("*nnimap*" #<buffer *nnimap mail.company.com nil
nil*<2>> "mail.company.com" "imaps" :type ssl :shell-command "ssh %s imapd"
:capability-command "1 CAPABILITY
\n" :success " OK " :starttls-function #[(capabilities) "\305\306\307\310
\n #,\205 \311\207" [capabilities start string regexp
inhibit-changing-match-data "STARTTLS" nil t string-match "1 STARTTLS
\n"] 4])
nnimap-open-connection-1(#<killed buffer>)
nnimap-open-connection(#<killed buffer>)
nnimap-open-server("mail.company.com")
eval((nnimap-open-server "mail.company.com"))
(cond ((and eval-expr-honor-debug-on-error debug-on-error) (eval
ee::expression)) (t (condition-case ee::err-data ... ...)))
(let* ((ee::error nil) (ee::result ...)) (cond (ee::error ... ...)
(ee::insert-value ...) (t ... ...)) ee::result)
eval-expression((nnimap-open-server "mail.company.com") nil)
call-interactively(eval-expression nil nil)
--8<---------------cut here---------------end--------------->8---
Is there food for you?
Best regards,
Seb
--
Sébastien Vauban