[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error viewing (usually forwarded) messages



On Sun, 09 Sep 2012 15:16:33 +0200, David Maus spake thus:
> At Sat, 08 Sep 2012 17:47:43 -0400, William Léchelle wrote:
> > Since a few weeks, I cannot read (nor save) some — and especially no
> > forwarded – emails anymore. Copy is local, brought by offlineimap. Backtrace
> > goes :
> Please re-create the backtrace with WL running on uncompiled elisp.

After running 'make clean' and restarting emacs, on such (this one is
forwarded, but I also have 2 non-forwarded ones which fail) messages I can't
read, I get the following backtrace :

Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
  signal(wrong-type-argument (number-or-marker-p nil))
  (condition-case err (with-current-buffer hit (when ... ...) (unless entity ...) (wl-message-display-internal entity display-type)) (quit (wl-message-buffer-cache-delete) (error "Display message %s/%s is quitted" fname number)) (error (wl-message-buffer-cache-delete) (signal ... ...) nil))
  (progn (condition-case err (with-current-buffer hit ... ... ...) (quit ... ...) (error ... ... nil)))
  (if (or force-reload redisplay) (progn (condition-case err ... ... ...)))
  (when (or force-reload redisplay) (condition-case err (with-current-buffer hit ... ... ...) (quit ... ...) (error ... ... nil)))
  (let* ((msg-id ...) (fname ...) (hit ...) (redisplay nil) entity) (when (and hit ...) (wl-message-buffer-cache-delete ...) (setq hit nil)) (if hit (progn ... ...) (setq hit ...) (setq redisplay t)) (when (or force-reload redisplay) (condition-case err ... ... ...)) hit)
  wl-message-buffer-display([elmo-maildir-folder [0 0 0 0 0 0 0] maildir ".ENS/INBOX" "." "/home/villiam/.elmo/maildir/ shome svilliam sMail sENS sINBOX" [modb-standard [0 0 0 0 0 0 0] "/home/villiam/.elmo/maildir/ shome svilliam sMail sENS sINBOX" (41) t x-ctext (19558 19901 20234 20693 20816) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] (... ...) nil] nil nil t nil nil x-ctext ((19558 . "1308490101_0.28818.villian,U=6478,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20816 . "1348254433.2836_5.villian") (19901 . "1347313176_0.9024.villian,U=34982,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20234 . "1347692371_0.15775.villian,U=35326,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20693 . "1348084362_0.21216.villian,U=35861,FMD5=7e33429f656f1e6e9d79b29c3f82c57e")) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
 0 0 0 0 0 0 0 0 0 1347692371_0\.15775\.villian\,U=35326\,FMD5=7e33429f656f1e6e9d79b29c3f82c57e 0 0 0 0 0 0 0 0 0 ...] 20816 "/home/villiam/Mail/ENS/INBOX" nil nil ("1308490101_0.28818.villian,U=6478,FMD5=7e33429f656f1e6e9d79b29c3f82c57e")] 20816 mime-partial-header nil)
  (setq wl-message-buffer (wl-message-buffer-display folder number display-type force-reload))
  (let* ((default-mime-charset wl-mime-charset) (buffer-read-only nil) (summary-buf ...) message-buf entity summary-win flags) (setq buffer-read-only nil) (setq wl-message-buffer (wl-message-buffer-display folder number display-type force-reload)) (setq message-buf wl-message-buffer) (wl-message-select-buffer wl-message-buffer) (set-buffer message-buf) (wl-deactivate-region) (make-local-variable (quote truncate-partial-width-windows)) (setq truncate-partial-width-windows nil) (setq truncate-lines wl-message-truncate-lines) (setq buffer-read-only nil) (setq wl-message-buffer-cur-summary-buffer summary-buf) (setq wl-message-buffer-cur-folder (elmo-folder-name-internal folder)) (setq wl-message-buffer-cur-number number) (setq wl-message-buffer-flag-indicator (wl-message-flag-indicator ...)) (wl-line-formatter-setup wl-message-buffer-mode-line-formatter wl-message-mode-line-format wl-message-mode-line-format-spec-alist) (setq mode-line-buffer-identification (funcall wl-message-bu
 ffer-mode-line-formatter)) (ignore-errors (wl-message-narrow-to-page)) (goto-char (point-min)) (when (re-search-forward "^$" nil t) (wl-message-add-buttons-to-header ... ...) (wl-message-add-buttons-to-body ... ...)) (when (and wl-message-use-header-narrowing ...) (wl-message-header-narrowing)) (goto-char (point-min)) (ignore-errors (run-hooks ...)) (set-buffer-modified-p nil) (setq buffer-read-only t) (set-buffer summary-buf) (setq summary-win (get-buffer-window summary-buf)) (if (window-live-p summary-win) (select-window summary-win)))
  wl-message-redisplay([elmo-maildir-folder [0 0 0 0 0 0 0] maildir ".ENS/INBOX" "." "/home/villiam/.elmo/maildir/ shome svilliam sMail sENS sINBOX" [modb-standard [0 0 0 0 0 0 0] "/home/villiam/.elmo/maildir/ shome svilliam sMail sENS sINBOX" (41) t x-ctext (19558 19901 20234 20693 20816) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] (... ...) nil] nil nil t nil nil x-ctext ((19558 . "1308490101_0.28818.villian,U=6478,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20816 . "1348254433.2836_5.villian") (19901 . "1347313176_0.9024.villian,U=34982,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20234 . "1347692371_0.15775.villian,U=35326,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20693 . "1348084362_0.21216.villian,U=35861,FMD5=7e33429f656f1e6e9d79b29c3f82c57e")) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
  0 0 0 0 0 0 1347692371_0\.15775\.villian\,U=35326\,FMD5=7e33429f656f1e6e9d79b29c3f82c57e 0 0 0 0 0 0 0 0 0 ...] 20816 "/home/villiam/Mail/ENS/INBOX" nil nil ("1308490101_0.28818.villian,U=6478,FMD5=7e33429f656f1e6e9d79b29c3f82c57e")] 20816 mime-partial-header nil)
  (progn (setq wl-summary-buffer-disp-msg t) (wl-summary-push-message wl-summary-buffer-current-msg) (if (and ... ...) (if ... ...)) (setq wl-current-summary-buffer (current-buffer)) (wl-message-redisplay folder num (wl-message-make-display-type ... ...) (or force-reload ...)) (when (elmo-message-use-cache-p folder num) (elmo-message-set-cached folder num t)) (ignore-errors (if ... ... ... ... ...)) (setq wl-summary-buffer-current-msg num) (when wl-summary-recenter (recenter ...) (if ... ...)) (wl-highlight-summary-displaying) (wl-message-buffer-prefetch-next folder num (min ... ...) (current-buffer) wl-summary-buffer-mime-charset) (run-hooks (quote wl-summary-redisplay-hook)))
  (if num (progn (setq wl-summary-buffer-disp-msg t) (wl-summary-push-message wl-summary-buffer-current-msg) (if ... ...) (setq wl-current-summary-buffer ...) (wl-message-redisplay folder num ... ...) (when ... ...) (ignore-errors ...) (setq wl-summary-buffer-current-msg num) (when wl-summary-recenter ... ...) (wl-highlight-summary-displaying) (wl-message-buffer-prefetch-next folder num ... ... wl-summary-buffer-mime-charset) (run-hooks ...)) (message "No message to display."))
  (let* ((folder ...) (num ...) (wl-mime-charset wl-summary-buffer-mime-charset) (default-mime-charset wl-summary-buffer-mime-charset) fld-buf fld-win thr-entity (elmo-message-fetch-confirm ...)) (if (and wl-thread-open-reading-thread ... ... ...) (wl-thread-force-open)) (if num (progn ... ... ... ... ... ... ... ... ... ... ... ...) (message "No message to display.")))
  wl-summary-redisplay-internal([elmo-maildir-folder [0 0 0 0 0 0 0] maildir ".ENS/INBOX" "." "/home/villiam/.elmo/maildir/ shome svilliam sMail sENS sINBOX" [modb-standard [0 0 0 0 0 0 0] "/home/villiam/.elmo/maildir/ shome svilliam sMail sENS sINBOX" (41) t x-ctext (19558 19901 20234 20693 20816) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] (... ...) nil] nil nil t nil nil x-ctext ((19558 . "1308490101_0.28818.villian,U=6478,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20816 . "1348254433.2836_5.villian") (19901 . "1347313176_0.9024.villian,U=34982,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20234 . "1347692371_0.15775.villian,U=35326,FMD5=7e33429f656f1e6e9d79b29c3f82c57e") (20693 . "1348084362_0.21216.villian,U=35861,FMD5=7e33429f656f1e6e9d79b29c3f82c57e")) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
 0 0 0 0 0 0 0 0 0 0 0 1347692371_0\.15775\.villian\,U=35326\,FMD5=7e33429f656f1e6e9d79b29c3f82c57e 0 0 0 0 0 0 0 0 0 ...] 20816 "/home/villiam/Mail/ENS/INBOX" nil nil ("1308490101_0.28818.villian,U=6478,FMD5=7e33429f656f1e6e9d79b29c3f82c57e")] 20816)
  (if (and (string= ... ...) (eq number ...)) (progn (set-buffer wl-message-buffer) t) (wl-summary-redisplay-internal folder number) (when (buffer-live-p wl-message-buffer) (set-buffer wl-message-buffer)) nil)
  (let ((folder wl-summary-buffer-elmo-folder) (number ...) cur-folder cur-number message-last-pos) (when (buffer-live-p wl-message-buffer) (save-window-excursion ... ... ... ...)) (if (and ... ...) (progn ... t) (wl-summary-redisplay-internal folder number) (when ... ...) nil))
  wl-summary-set-message-buffer-or-redisplay(ignore-original)
  (if (wl-summary-set-message-buffer-or-redisplay (quote ignore-original)) (progn (set-buffer cur-buf) (if ... ...)))
  (when (wl-summary-set-message-buffer-or-redisplay (quote ignore-original)) (set-buffer cur-buf) (if (wl-message-next-page) (wl-summary-down t)))
  (let ((cur-buf ...)) (wl-summary-toggle-disp-msg (quote on)) (when (wl-summary-set-message-buffer-or-redisplay ...) (set-buffer cur-buf) (if ... ...)))
  wl-summary-read()
  call-interactively(wl-summary-read nil nil)

(Still concerning up-to-date git, I also get an error due to file wl-news.el
being wl-news.el.in, which I have to rename by hand each time I 'make clean')

--
William

P.S. : Regarding mime translation, I think it's launched by
wl-message-buffer-display, in wl-message.el, around line 575 maybe. Only having
uncompiled again, I don't get no-mime-translation anymore, but rather the error
I expected, so it doesn't matter anymore.