From: Frank Schmitt <ich@frank-schmitt.net>
To: ding@gnus.org
Subject: Re: Not enough arguments for format string
Date: Sun, 19 Sep 2010 17:55:27 +0200 [thread overview]
Message-ID: <877hihzq1c.fsf@mid.gehheimdienst.de> (raw)
In-Reply-To: <m3tyllykj4.fsf@quimbies.gnus.org>
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>>> But the backtrace seemed to be saying something about auth-sources.
>>> What the value of your `auth-source-debug' variable?
>>
>> Hmm. I don't have it.
>> Debugger entered--Lisp error: (void-variable auth-source-debug)
>> this after evaling in scratch after the unsuccessful attempt to start gnus.
>
> Hm. *scratches head* Your backtrace had stuff like:
>
> apply(message "Unable to open server nnimap+ltw due to: Wrong number of arguments: #[(mode host protocol)
>
> [...]
>
> gnus-open-server((nnimap "ltw" (nnimap-address "ltw.loris.tv") (nnimap-stream ssl) (nnimap-authenticator login)))
>
> And the only place I can find "mode host protocol" is in auth-source.el.
> Which defines that debug variable.
>
> You don't happen to have an older auth-source in your load path
> somewhere? What does M-x locate-library auth-source say?
This is *really* strange. It correctly says "Library is file
~/gnus/lisp/auth-source.elc" however during the failed attempt to
authenticate I get the following (look at the last line!)
Opening nnimap server on ltw...
Opening TLS connection to `ltw.loris.tv'...
Opening TLS connection with `gnutls-cli -p imaps ltw.loris.tv'...failed
Opening TLS connection with `gnutls-cli -p imaps ltw.loris.tv
--protocols ssl3'...failed
Opening TLS connection with `openssl s_client -connect
ltw.loris.tv:imaps -no_ssl2 -ign_eof'...done
Opening TLS connection to `ltw.loris.tv'...done
Unable to open server nnimap+ltw due to: Wrong number of arguments:
#[(mode host protocol) "\306\307\310^H
%\210^H<\211^[\203^S^@^H\202^U^@^HC^X\311\312^H
$^\\313^L^M\"\211^^^Q\203A^@\306\307\314^H\315^H\235\2035^@\316\2027^@^N^Q
&^F\210^N^Q\202D^@\317\320\215,\207" [mode host protocol listy cname
auth-source-cache gnus-message 9 "auth-source-user-o\
r-password: get %s for %s (%s)" format "%s %s:%s" gethash
"auth-source-user-or-password: cached %s=%s for %s (%s)" "passw\
ord" "SECRET" --cl-block-nil-- (byte-code "\306^H
\"\307^Z\211^[\203]^@^K@^R\310^L\311
\312\"^HC\313\314 \"C\315
!%\211^U\203Q^@\316\317\320^L\321^L\235\2032^@\322\2023^@^M^H
&^F\210^N^V\203A^@^M\202C^@^M\242\
^U^N^W\203Q^@\323^N^X^M^N^Y#\210\324\325^M\"\210^KA\211^S\204^K^@*\307\207"
[host protocol choice --cl-dolist-temp-- mode\
found auth-source-pick nil netrc-machine-user-or-password plist-get
:source format "%s" auth-source-protocol-defaults gn\
us-message 9 "auth-source-user-or-password: found %s=%s for %s (%s)"
"password" "SECRET" puthash throw --cl-block-nil-- l\
isty auth-source-do-cache cname auth-source-cache] 8) found] 8
("/usr/share/emacs/23.1/lisp/gnus/auth-source.elc" . 3601)\
], 5
What could be wrong there? I have
(setq load-path (cons (expand-file-name "~/gnus/lisp") load-path))
(require 'gnus-load)
in .emacs.
--
Have you ever considered how much text can fit in eighty columns? Given that a
signature typically contains up to four lines of text, this space allows you to
attach a tremendous amount of valuable information to your messages. Seize the
opportunity and don't waste your signature on bullshit that nobody cares about.
next prev parent reply other threads:[~2010-09-19 15:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-18 21:49 Frank Schmitt
2010-09-18 21:57 ` Lars Magne Ingebrigtsen
2010-09-19 10:11 ` Frank Schmitt
2010-09-19 12:39 ` Lars Magne Ingebrigtsen
2010-09-19 15:55 ` Frank Schmitt [this message]
2010-09-19 16:03 ` Lars Magne Ingebrigtsen
2010-09-19 16:22 ` Frank Schmitt
2010-09-19 9:31 ` [PATCH] Pass proper format string to gnus-message Andreas Schwab
2010-09-19 11:12 ` Knut Anders Hatlen
2010-09-19 12:22 ` Lars Magne Ingebrigtsen
2010-09-19 12:22 ` Lars Magne Ingebrigtsen
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=877hihzq1c.fsf@mid.gehheimdienst.de \
--to=ich@frank-schmitt.net \
--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).