From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71102 Path: news.gmane.org!not-for-mail From: Frank Schmitt Newsgroups: gmane.emacs.gnus.general Subject: Re: Not enough arguments for format string Date: Sun, 19 Sep 2010 17:55:27 +0200 Organization: Hamme net, kren mer och nimmi Message-ID: <877hihzq1c.fsf@mid.gehheimdienst.de> References: <87tylmzpqk.fsf@mid.gehheimdienst.de> <87iq22yrey.fsf@mid.gehheimdienst.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1284912010 16661 80.91.229.12 (19 Sep 2010 16:00:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Sep 2010 16:00:10 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19475@lists.math.uh.edu Sun Sep 19 18:00:07 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OxMJC-0000Ma-LN for ding-account@gmane.org; Sun, 19 Sep 2010 18:00:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1OxMJ9-0000nQ-LM; Sun, 19 Sep 2010 11:00:03 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OxMJ8-0000n9-3B for ding@lists.math.uh.edu; Sun, 19 Sep 2010 11:00:02 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OxMJ3-0007fe-Ii for ding@lists.math.uh.edu; Sun, 19 Sep 2010 11:00:01 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OxMJ2-0003oB-00 for ; Sun, 19 Sep 2010 17:59:56 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OxMIz-0000Ho-La for ding@gnus.org; Sun, 19 Sep 2010 17:59:53 +0200 Original-Received: from zoidberg.uni-koblenz.de ([141.26.69.172]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Sep 2010 17:59:53 +0200 Original-Received: from ich by zoidberg.uni-koblenz.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 Sep 2010 17:59:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 70 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: zoidberg.uni-koblenz.de X-Face: :EL9TzGRN){7|oE2~xQ8Q(VjpjsXgX$~gi&rYD5J5p)$w\Thdl~v:7h`/n)J!8nXT%_+Wj6}@EHM8}QbA(9nX-wrQ:ch1%DauV[?kFasXUcnL#+"K8zOx&$@/M'/},q-eztaJra1|?C+p$h\2XnK-HB"8_U Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71102 Archived-At: Lars Magne Ingebrigtsen 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.