[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
erc-open-ssl-stream: Wrong type argument: stringp, nil
From: |
intrigeri |
Subject: |
erc-open-ssl-stream: Wrong type argument: stringp, nil |
Date: |
Fri, 06 Apr 2007 20:48:27 +0200 |
User-agent: |
M-x gnus |
Hello,
[I'm not subscribed to emacs-pretest-bug list, please Cc: me]
after upgrading from my one-month-old Romain Françoise's
emacs-snapshot (1:20070302-1) + Debian sid's ERC (5.1.4-4) to the
brand new Romain's package (1:20051124-1) with ERC 5.2 included, I can
not connect to IRC anymore ; running erc-ssl fails, saying :
erc-open-ssl-stream: Wrong type argument: stringp, nil
I digged a bit into the code, and found that my issue disappears if
I hack the erc-server-connect function to replace :
(let ((process (funcall erc-server-connect-function
(format "erc-%s-%s" server port)
nil server port)))
with :
(let ((process (funcall erc-server-connect-function
(format "erc-%s-%s" server port)
buffer server port)))
Hint : I'm using gnutls instead of the default starttls, thanks to the
following lines in my .emacs :
(when (locate-library "ssl") (require 'ssl))
(when (locate-library "starttls")
(require 'starttls)
(when (boundp 'starttls-gnutls-program)
; use gnutls as it performs more verification of the certificates
(setq starttls-use-gnutls
(if (executable-find starttls-gnutls-program) t nil))))
In GNU Emacs 22.0.97.1 (i486-pc-linux-gnu)
of 2007-04-06 on pacem, modified by Debian
(Debian emacs-snapshot package, version 1:20070406-1)
configured using `configure '--build' 'i486-linux-gnu' '--host'
'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/22.0.97/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.0.97/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.0.97/leim'
'--with-x=no' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu'
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2''
Important settings:
value of $LC_ALL: fr_FR.UTF-8
value of $LC_COLLATE: nil
value of $LC_CTYPE: UTF-8
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: fr_FR.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
erc-services-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-notify-mode: t
erc-netsplit-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-autojoin-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-irccontrols-mode: t
erc-scrolltobottom-mode: t
shell-dirtrack-mode: t
global-auto-revert-mode: t
show-paren-mode: t
desktop-save-mode: t
display-lunar-phase-mode: t
display-time-mode: t
encoded-kbd-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent messages:
For information about the GNU Project and its goals, type <f1> C-p.
Connecting to irc.indymedia.org:994...
Opening TLS connection to `irc.indymedia.org'...
Opening TLS connection with `gnutls-cli -p %p %h'...
erc-open-ssl-stream: Wrong type argument: stringp, nil
Loading emacsbug...done
Ciao,
--
intrigeri <address@hidden>
- erc-open-ssl-stream: Wrong type argument: stringp, nil,
intrigeri <=