Gnus development mailing list
 help / color / mirror / Atom feed
* Crash on startup with recent gnus-agent.el patch
@ 2006-05-30  8:07 Simon Josefsson
  2006-05-30  8:34 ` Katsumi Yamaoka
  0 siblings, 1 reply; 5+ messages in thread
From: Simon Josefsson @ 2006-05-30  8:07 UTC (permalink / raw)


These changes:

2006-05-30  Katsumi Yamaoka  <yamaoka@jpl.org>

	* gnus-agent.el (directory-files-and-attributes): Move forward.

2006-05-29  Kevin Greiner  <kevin.greiner@compsol.cc>

	* gnus-agent.el (Added gnus-agent-flush*) to purge agent info.
	(gnus-agent-read-agentview): Fixed handling of end-of-file error.
	(gnus-agent-read-local): All symbols allocated in my-obarray
	(gnus-agent-set-local): Skip invalid entries (min and/or max is nil).
	(gnus-agent-regenerate-group): Check numeric names to see if they are
	messages or groups.
	(gnus-agent-total-fetched-for): Ignore 'dummy.group' (there should be a
	better way of do this...)

appear to cause problems for me when I start Gnus, I get the backtrace
below.  If I revert to 7.57 of gnus-agent.el, it works.

Debugger entered--Lisp error: (file-error "Opening directory" "no such file or directory" "/home/jas/News/agent/nntp/news.gmane.org/gmane.ietf.techspec")
  directory-files-and-attributes("/home/jas/News/agent/nntp/news.gmane.org/gmane.ietf.techspec" nil "^[0-9]+$" t)
  (let* (alist (file-attributes ...)) (while file-attributes (let* ... ...)) alist)
  (condition-case nil (progn (nnheader-insert-file-contents file) (goto-char ...) (let ... ... ... alist)) ((end-of-file file-error) (let* ... ... alist)))
  (save-current-buffer (set-buffer temp-buffer) (condition-case nil (progn ... ... ...) (... ...)))
  (with-current-buffer temp-buffer (condition-case nil (progn ... ... ...) (... ...)))
  (unwind-protect (with-current-buffer temp-buffer (condition-case nil ... ...)) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
  (let ((temp-buffer ...)) (unwind-protect (with-current-buffer temp-buffer ...) (and ... ...)))
  (with-temp-buffer (condition-case nil (progn ... ... ...) (... ...)))
  gnus-agent-read-agentview("/home/jas/News/agent/nntp/news.gmane.org/gmane.ietf.techspec/.agentview")
  gnus-cache-file-contents("/home/jas/News/agent/nntp/news.gmane.org/gmane.ietf.techspec/.agentview" gnus-agent-file-loading-cache gnus-agent-read-agentview)
  (setq gnus-agent-article-alist (gnus-cache-file-contents (gnus-agent-article-name ".agentview" group) (quote gnus-agent-file-loading-cache) (quote gnus-agent-read-agentview)))
  (let ((gnus-agent-read-agentview group)) (setq gnus-agent-article-alist (gnus-cache-file-contents ... ... ...)))
  gnus-agent-load-alist("nntp+news.gmane.org:gmane.ietf.techspec")
  (let* ((gnus-agent-article-alist gnus-agent-article-alist) (gnus-agent-file-loading-cache gnus-agent-file-loading-cache) (alist ...)) (when alist (setq minmax ...) (gnus-agent-set-local group ... ... gmane gnus-command-method local)))
  (if minmax nil (let* (... ... ...) (when alist ... ...)))
  (unless minmax (let* (... ... ...) (when alist ... ...)))
  (let* ((gmane ...) (gnus-command-method ...) (local ...) (symb ...) (minmax ...)) (unless minmax (let* ... ...)) minmax)
  gnus-agent-get-local("nntp+news.gmane.org:gmane.ietf.techspec")
  (let* ((local ...) (active-min ...) (active-max ...) (agent-min ...) (agent-max ...)) (when (< agent-min active-min) (setcar active agent-min)) (when (> agent-max active-max) (setcdr active agent-max)) (when (and info ...) (let ... ...) (gnus-agent-set-local group agent-min ...)))
  (progn (let* (... ... ... ... ...) (when ... ...) (when ... ...) (when ... ... ...)))
  (if (gnus-agent-method-p gnus-command-method) (progn (let* ... ... ... ...)))
  (when (gnus-agent-method-p gnus-command-method) (let* (... ... ... ... ...) (when ... ...) (when ... ...) (when ... ... ...)))
  (let* ((gnus-command-method ...)) (when (gnus-agent-method-p gnus-command-method) (let* ... ... ... ...)))
  gnus-agent-possibly-alter-active("nntp+news.gmane.org:gmane.ietf.techspec" (1 . 236) ("nntp+news.gmane.org:gmane.ietf.techspec" 3 ((1 . 236)) ((seen ... ... ... 222 225 228 230 232 ...)) "nntp:news.gmane.org"))
  gnus-get-unread-articles(nil)
  gnus-setup-news(nil nil nil)
  byte-code("\b\x0e	\x0eà ‚QÃÃ!�\n!\f\x1e\r!à \x0eƒ+ÃÃÃ\"�ÃÃ\"�Ã\x0e\b#�Ã!� �^[!� �Ã!� �Ã!�" [dont-connect did-connect gnus-startup-file gnus-current-startup-file gnus-slave gnus-use-dribble-file gnus-group-quit gnus-run-hooks gnus-startup-hook gnus-make-newsrc-file gnus-dribble-read-file gnus-request-create-group "queue" (nndraft "") "drafts" (nndraft "") gnus-setup-news nil gnus-setup-news-hook gnus-start-draft-setup gnus-group-list-groups gnus-group-first-unread-group gnus-configure-windows group gnus-group-set-mode-line gnus-started-hook gnus-agent level] 4)
  gnus-1(nil nil nil)
  gnus(nil)
  call-interactively(gnus)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-05-30 23:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-30  8:07 Crash on startup with recent gnus-agent.el patch Simon Josefsson
2006-05-30  8:34 ` Katsumi Yamaoka
2006-05-30  9:01   ` Simon Josefsson
2006-05-30 12:37     ` gdt
2006-05-30 23:29     ` Katsumi Yamaoka

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).