* bug#16166: 24.3.50; can't use news.gmane.org with gnus and gnutls since r115532
@ 2013-12-16 16:19 Nicolas Richard
2013-12-16 16:30 ` Nicolas Richard
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Richard @ 2013-12-16 16:19 UTC (permalink / raw)
To: 16166
hello,
Recipe:
./emacs -Q --batch --eval '(setq gnus-select-method (quote (nntp "news.gmane.org")))' --eval '(gnus)'
Result:
>>> (wrong-type-argument listp nil)
nntp (news.gmane.org) open error: '>>> (wrong-type-argument listp nil)'. Continue? (y or n)
Additionnaly, it took me some time to figure out how to obtain a
backtrace, but it worked by evaluting these from -Q:
;; first try opening gnus, to autoload stuff
(let ((gnus-select-method '(nntp "news.gmane.org")))
(gnus nil t))
;; then get the backtrace
(let ((gnus-opened-servers) ; forget that it just failed
(debug-on-signal t)) ; force entering debugger
(gnus-open-server (list 'nntp "news.gmane.org")))
the backtrace then is (byte code contains NUL, which will be stripped
when I send this message):
Debugger entered--Lisp error: (wrong-type-argument listp nil)
gnutls-boot(#<process nntpd> gnutls-x509pki (:priority "NORMAL" :hostname "news.gmane.org" :loglevel 0 :min-prime-bits 256 :trustfiles ("/etc/ssl/certs/ca-certificates.crt") :crlfiles nil :keylist nil :verify-flags nil :verify-error nil :callbacks nil))
gnutls-negotiate(:process #<process nntpd> :hostname "news.gmane.org" :keylist nil)
byte-code("\303\304\b\305 \306\n\205\f\nC&\207" [stream host cert gnutls-negotiate :process :hostname :keylist] 7)
network-stream-open-starttls("nntpd" #<buffer *server news.gmane.org nntp *nntpd**> "news.gmane.org" "nntp" (:type network :end-of-command "^\\([2345]\\|[.]\\).*\n" :capability-command "HELP\n" :success "^3" :starttls-function #[(capabilities) "\301\302\b\"\205\b\303\207" [capabilities string-match "STARTTLS" "STARTTLS\n"] 3]))
open-protocol-stream("nntpd" #<buffer *server news.gmane.org nntp *nntpd**> "news.gmane.org" "nntp" :type network :end-of-command "^\\([2345]\\|[.]\\).*\n" :capability-command "HELP\n" :success "^3" :starttls-function #[(capabilities) "\301\302\b\"\205\b\303\207" [capabilities string-match "STARTTLS" "STARTTLS\n"] 3])
byte-code("\306\211\307\x19\310\v\b\"\203*\311\312\f\x0e\313\310\v\b\"\211A@\262\314\315\316\317\320\321\322\323&\202-\v\f!+\207" [map coding-system-for-write coding-system-for-read nntp-open-connection-function pbuffer nntp-address binary ((nntp-open-network-stream network) (network-only plain) (nntp-open-plain-stream plain) (nntp-open-ssl-stream tls) (nntp-open-tls-stream tls)) assoc open-protocol-stream "nntpd" :type :end-of-command "^\\([2345]\\|[.]\\).*\n" :capability-command "HELP\n" :success "^3" :starttls-function #[(capabilities) "\301\302\b\"\205\b\303\207" [capabilities string-match "STARTTLS" "STARTTLS\n"] 3] nntp-port-number] 15)
nntp-open-connection(#<buffer *nntpd*>)
nntp-open-server("news.gmane.org" nil)
byte-code("\b A@ AA\"\207" [open-server-function gnus-command-method] 3)
gnus-open-server((nntp "news.gmane.org"))
(let ((gnus-opened-servers) (debug-on-signal t)) (gnus-open-server (list (quote nntp) "news.gmane.org")))
eval-region(141 302 t #[257 "\300\242b\210\301\207" [(302) (let ((gnus-opened-servers) (debug-on-signal t)) (gnus-open-server (list (quote nntp) "news.gmane.org")))] 2 "\n\n(fn IGNORE)"]) ; Reading at buffer position 200
eval-defun-2()
eval-defun(nil)
call-interactively(eval-defun nil nil)
command-execute(eval-defun)
the "problem" is that :verify-error is nil.
--
Nico.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-16 17:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-16 16:19 bug#16166: 24.3.50; can't use news.gmane.org with gnus and gnutls since r115532 Nicolas Richard
2013-12-16 16:30 ` Nicolas Richard
2013-12-16 17:37 ` Ted Zlatanov
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).