| 
      
      
      From: Brian P. <bp...@re...> - 2004-04-06 16:46:23
      
     | 
| I've been getting some errors recently, and just got motivated enough to make sure that it's not one of my customizations that's screwing it up. This is something that interferes with my autojoin, but after the error is raised,I can manually join channels. It's not obvious to me what exactly is going on here. Namely, I start with clean fresh copy of erc from cvs. I start up XEmacs 21.5 (beta16) "celeriac" (+CVS-20040111) [Lucid] (sparc-sun-solaris2.9) with debug-on-error set to true. I then do M-x erc-select RET irc.freenode.net RET 6667 RET bpalmer2 RET RET Signaling: (wrong-type-argument stringp #<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run>) string-match("^/g?away.*$" #<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run>) (not (string-match "^/g?away.*$" line)) (and erc-auto-discard-away (not (string-match "^/g?away.*$" line))) (if (and erc-auto-discard-away (not ...)) (erc-autoaway-set-back line)) (when (and erc-auto-discard-away (not ...)) (erc-autoaway-set-back line)) erc-autoaway-reset-idletime(#<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run> ["001" "kornbluth.freenode.net" "bpalmer2" "Welcome to the freenode IRC Network bpalmer2" nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) run-hook-with-args-until-success(erc-autoaway-reset-idletime #<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run> ["001" "kornbluth.freenode.net" "bpalmer2" "Welcome to the freenode IRC Network bpalmer2" nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) (progn (run-hook-with-args-until-success hook proc msg) nil) (if (and hook (symbol-value hook)) (progn (run-hook-with-args-until-success hook proc msg) nil) (run-hook-with-args-until-success (quote erc-default-server-hook) proc msg) nil) (let ((hook ...)) (if (and hook ...) (progn ... nil) (run-hook-with-args-until-success ... proc msg) nil) (with-current-buffer (erc-server-buffer) (run-hook-with-args ... ...))) erc-call-hooks(#<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run> ["001" "kornbluth.freenode.net" "bpalmer2" "Welcome to the freenode IRC Network bpalmer2" nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil nil]) (if (member (aref msg 0) erc-prevent-duplicates) (progn (if ... ...) (puthash ... ... erc-duplicates)) (erc-call-hooks proc msg)) (let ((posn ...) (msg ...) (n 2)) (aset msg 1 (if ... erc-session-server ...)) (aset msg 0 (let* ... ... ...)) (while (and posn ...) (aset msg n ...) (setq n ...)) (if posn (aset msg n ...)) (if (member ... erc-prevent-duplicates) (progn ... ...) (erc-call-hooks proc msg))) (progn (let (... ... ...) (aset msg 1 ...) (aset msg 0 ...) (while ... ... ...) (if posn ...) (if ... ... ...))) (unwind-protect (progn (let ... ... ... ... ... ...)) (store-match-data match-data)) (let ((match-data ...)) (unwind-protect (progn ...) (store-match-data match-data))) (save-match-data (let (... ... ...) (aset msg 1 ...) (aset msg 0 ...) (while ... ... ...) (if posn ...) (if ... ... ...))) (if (string= string "") nil (save-match-data (let ... ... ... ... ... ...))) (unless (string= string "") (save-match-data (let ... ... ... ... ... ...))) erc-parse-line-from-server(#<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run> ":kornbluth.freenode.net 001 bpalmer2 :Welcome to the freenode IRC Network bpalmer2") (lambda (line) (erc-parse-line-from-server proc line))(":kornbluth.freenode.net 001 bpalmer2 :Welcome to the freenode IRC Network bpalmer2") mapc-internal((lambda (line) (erc-parse-line-from-server proc line)) (":kornbluth.freenode.net 001 bpalmer2 :Welcome to the freenode IRC Network bpalmer2" ":kornbluth.freenode.net 002 bpalmer2 :Your host is kornbluth.freenode.net[kornbluth.freenode.net/6667], running version dancer-ircd-1.0.35" "NOTICE bpalmer2 :*** Your host is kornbluth.freenode.net[kornbluth.freenode.net/6667], running version dancer-ircd-1.0.35" ":kornbluth.freenode.net 003 bpalmer2 :This server was cobbled together Sun Feb 15 03:16:50 UTC 2004" ":kornbluth.freenode.net 004 bpalmer2 kornbluth.freenode.net dancer-ircd-1.0.35 aAbBcCdDeEfFGhHiIjkKlLmMnNopPQrRsStUvVwWxXyYzZ0123459*@ bcdefFhiIklmnoPqstv" ":kornbluth.freenode.net 005 bpalmer2 MODES=4 CHANLIMIT=#:20 NICKLEN=16 USERLEN=10 HOSTLEN=63 TOPICLEN=450 KICKLEN=450 CHANNELLEN=30 KEYLEN=23 CHANTYPES=# PREFIX=(ov)@+ CASEMAPPING=ascii CAPAB IRCD=dancer :are available on this server" ":kornbluth.freenode.net 251 bpalmer2 :There are 8044 victims and 8269 h! iding on 32 servers" ":kornbluth.freenode.net 252 bpalmer2 41 :flagged staff members")) mapc((lambda (line) (erc-parse-line-from-server proc line)) (":kornbluth.freenode.net 001 bpalmer2 :Welcome to the freenode IRC Network bpalmer2" ":kornbluth.freenode.net 002 bpalmer2 :Your host is kornbluth.freenode.net[kornbluth.freenode.net/6667], running version dancer-ircd-1.0.35" "NOTICE bpalmer2 :*** Your host is kornbluth.freenode.net[kornbluth.freenode.net/6667], running version dancer-ircd-1.0.35" ":kornbluth.freenode.net 003 bpalmer2 :This server was cobbled together Sun Feb 15 03:16:50 UTC 2004" ":kornbluth.freenode.net 004 bpalmer2 kornbluth.freenode.net dancer-ircd-1.0.35 aAbBcCdDeEfFGhHiIjkKlLmMnNopPQrRsStUvVwWxXyYzZ0123459*@ bcdefFhiIklmnoPqstv" ":kornbluth.freenode.net 005 bpalmer2 MODES=4 CHANLIMIT=#:20 NICKLEN=16 USERLEN=10 HOSTLEN=63 TOPICLEN=450 KICKLEN=450 CHANNELLEN=30 KEYLEN=23 CHANTYPES=# PREFIX=(ov)@+ CASEMAPPING=ascii CAPAB IRCD=dancer :are available on this server" ":kornbluth.freenode.net 251 bpalmer2 :There are 8044 victims and 8269 hiding on ! 32 servers" ":kornbluth.freenode.net 252 bpalmer2 41 :flagged staff members")) (save-current-buffer (set-buffer (process-buffer proc)) (mapc (lambda ... ...) (erc-split-multiline string))) (with-current-buffer (process-buffer proc) (mapc (lambda ... ...) (erc-split-multiline string))) erc-process-filter(#<network connection "erc-irc.freenode.net-6667" (6667 . "irc.freenode.net") state:run> ":kornbluth.freenode.net 001 bpalmer2 :Welcome to the freenode IRC Network bpalmer2\n:kornbluth.freenode.net 002 bpalmer2 :Your host is kornbluth.freenode.net[kornbluth.freenode.net/6667], running version dancer-ircd-1.0.35\nNOTICE bpalmer2 :*** Your host is kornbluth.freenode.net[kornbluth.freenode.net/6667], running version dancer-ircd-1.0.35\n:kornbluth.freenode.net 003 bpalmer2 :This server was cobbled together Sun Feb 15 03:16:50 UTC 2004\n:kornbluth.freenode.net 004 bpalmer2 kornbluth.freenode.net dancer-ircd-1.0.35 aAbBcCdDeEfFGhHiIjkKlLmMnNopPQrRsStUvVwWxXyYzZ0123459*@ bcdefFhiIklmnoPqstv\n:kornbluth.freenode.net 005 bpalmer2 MODES=4 CHANLIMIT=#:20 NICKLEN=16 USERLEN=10 HOSTLEN=63 TOPICLEN=450 KICKLEN=450 CHANNELLEN=30 KEYLEN=23 CHANTYPES=# PREFIX=(ov)@+ CASEMAPPING=ascii CAPAB IRCD=dancer :are available on this server\n:kornbluth.freenode.net 251 bpalmer2 :Th! ere are 8044 victims and 8269 hiding on 32 servers\n:kornbluth.freenode.net 252 bpalmer2 41 :flagged staff members\n:kornbluth.freenode.net 254 bpalmer2 ") ("execute_internal_event()" "[internal]") (dispatch-event "[internal]") The erc variables I customize are '(erc-auto-query 'window-noselect) '(erc-autoaway-idle-seconds 3600) '(erc-autoaway-message "I'm gone (autoaway)") '(erc-autojoin-channels-alist '(("freenode.net" "#perl" "#java" "#emacs") '(erc-insert-post-hook '(erc-truncate-buffer erc-make-read-only) '(erc-modules '(autoaway autojoin button completion fill netsplit pcomplete ring services) '(erc-send-post-hook '(erc-make-read-only) '(erc-server-NOTICE-hook '(erc-auto-query erc-nickserv-identify-autodetect erc-server-PRIVMSG-or-NOTICE) '(erc-track-exclude-types '("JOIN" "KICK" "NICK" "PART" "QUIT") in my init.el, I do (require 'erc) (require 'erc-truncate) (require 'erc-autojoin) (require 'erc-track) -- I'm awfully glad I'm a Beta, because I don't work so hard. |