[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "cannot determine image type"
At Sat, 02 Oct 2010 09:33:04 +0900,
Kazuhiro Ito wrote:
>
> condition-case() hides the true position where error occurs. For the
> more informative backtrace, re-get it after redefining
> wl-message-buffer-display() as below. I think presenting the error
> reproducable message is always welcome.
Aha! Here it is. Not sure about the best place for a fix for this
one, though.
Debugger entered--Lisp error: (error "Cannot determine image type")
signal(error ("Cannot determine image type"))
error("Cannot determine image type")
image-type("~/.emacs-gravatar/lbarra@itic_org_s=50" nil nil)
create-image("~/.emacs-gravatar/lbarra@itic_org_s=50")
wl-gravatar-insert()
wl-highlight-headers()
wl-mime-display-header([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] ((body-presentation-method . wl-mime-display-text/plain) (body . visible) (encoding . "quoted-printable") ("charset" . "us-ascii") (subtype . plain) (type . text) (entity-button . invisible) (header . visible) (major-mode . wl-original-message-mode)))
mime-display-entity([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] nil ((entity-button . invisible) (header . visible) (major-mode . wl-original-message-mode)) #<buffer *WL:Message*<7>>)
ad-Orig-mime-display-message([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] #<buffer *WL:Message*<7>> nil (keymap (S-mouse-wheel1 . wl-message-wheel-dispatcher) (mouse-wheel1 . wl-message-wheel-dispatcher) (S-mouse-5 . wl-message-wheel-up) (S-mouse-4 . wl-message-wheel-down) (mouse-5 . wl-message-wheel-up) (mouse-4 . wl-message-wheel-down) (119 . wl-draft) (3 keymap (58 keymap ... ...)) (108 . wl-message-toggle-disp-summary) (68 . wl-message-delete-current-part)) wl-original-message-mode nil)
mime-display-message([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] #<buffer *WL:Message*<7>> nil (keymap (S-mouse-wheel1 . wl-message-wheel-dispatcher) (mouse-wheel1 . wl-message-wheel-dispatcher) (S-mouse-5 . wl-message-wheel-up) (S-mouse-4 . wl-message-wheel-down) (mouse-5 . wl-message-wheel-up) (mouse-4 . wl-message-wheel-down) (119 . wl-draft) (3 keymap (58 keymap ... ...)) (108 . wl-message-toggle-disp-summary) (68 . wl-message-delete-current-part)) wl-original-message-mode)
#[(entity preview-buffer &optional original-major-mode keymap) "\306\307\310\n\311\f
%*\207" [default-mime-charset elmo-message-displaying entity preview-buffer keymap original-major-mode t x-unknown mime-display-message nil] 6]([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] #<buffer *WL:Message*<7>> wl-original-message-mode (keymap (S-mouse-wheel1 . wl-message-wheel-dispatcher) (mouse-wheel1 . wl-message-wheel-dispatcher) (S-mouse-5 . wl-message-wheel-up) (S-mouse-4 . wl-message-wheel-down) (mouse-5 . wl-message-wheel-up) (mouse-4 . wl-message-wheel-down) (119 . wl-draft) (3 keymap (58 keymap ... ...)) (108 . wl-message-toggle-disp-summary) (68 . wl-message-delete-current-part)))
apply(#[(entity preview-buffer &optional original-major-mode keymap) "\306\307\310\n\311\f
%*\207" [default-mime-charset elmo-message-displaying entity preview-buffer keymap original-major-mode t x-unknown mime-display-message nil] 6] ([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> (... ... ...) nil nil nil nil "quoted-printable" (...) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] #<buffer *WL:Message*<7>> wl-original-message-mode (keymap (S-mouse-wheel1 . wl-message-wheel-dispatcher) (mouse-wheel1 . wl-message-wheel-dispatcher) (S-mouse-5 . wl-message-wheel-up) (S-mouse-4 . wl-message-wheel-down) (mouse-5 . wl-message-wheel-up) (mouse-4 . wl-message-wheel-down) (119 . wl-draft) (3 keymap ...) (108 . wl-message-toggle-disp-summary) (68 . wl-message-delete-current-part))))
luna-call-next-method()
luna-apply-generic([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] elmo-mime-entity-display [mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] #<buffer *WL:Message*<7>> wl-original-message-mode (keymap (S-mouse-wheel1 . wl-message-wheel-dispatcher) (mouse-wheel1 . wl-message-wheel-dispatcher) (S-mouse-5 . wl-message-wheel-up) (S-mouse-4 . wl-message-wheel-down) (mouse-5 . wl-message-wheel-up) (mouse-4 . wl-message-wheel-down) (119 . wl-draft) (3 keymap (58 keymap ... ...)) (108 . wl-message-toggle-disp-su
mmary) (68 . wl-message-delete-current-part)))
elmo-mime-entity-display([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] #<buffer *WL:Message*<7>> wl-original-message-mode (keymap (S-mouse-wheel1 . wl-message-wheel-dispatcher) (mouse-wheel1 . wl-message-wheel-dispatcher) (S-mouse-5 . wl-message-wheel-up) (S-mouse-4 . wl-message-wheel-down) (mouse-5 . wl-message-wheel-up) (mouse-4 . wl-message-wheel-down) (119 . wl-draft) (3 keymap (58 keymap ... ...)) (108 . wl-message-toggle-disp-summary) (68 . wl-message-delete-current-part)))
wl-message-display-internal([mime-elmo-buffer-entity [0 0 0 0 0 0 0] #<buffer *Original* *WL:Message*<7>> ((type . text) (subtype . plain) ("charset" . "us-ascii")) nil nil nil nil "quoted-printable" ((Content-Transfer-Encoding . "quoted-printable")) nil #<buffer *Original* *WL:Message*<7>> 1 1717 1718 4361 nil] mime-partial-header)
(save-current-buffer (set-buffer hit) (when (or force-reload ... ... ...) (setq entity ...)) (unless entity (error "Cannot display message %s/%s" fname number)) (wl-message-display-internal entity display-type))
(with-current-buffer hit (when (or force-reload ... ... ...) (setq entity ...)) (unless entity (error "Cannot display message %s/%s" fname number)) (wl-message-display-internal entity display-type))
(progn (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)))
(if (or force-reload redisplay) (progn (with-current-buffer hit ... ... ...) (quit ... ...)))
(when (or force-reload redisplay) (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)))
(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) (with-current-buffer hit ... ... ...) (quit ... ...)) hit)
wl-message-buffer-display([elmo-imap4-folder [0 0 0 0 0 0 0] imap4 "%INBOX" "%" "/Users/dave/.elmo/imap/imap.gmail.com/dave@boostpro.com/inbox" [modb-standard [0 0 0 0 0 0 0] "/Users/dave/.elmo/imap/imap.gmail.com/dave@boostpro.com/inbox" nil t x-ctext (7903 7933 7936 7938 7947 7949 7951 7952 7953 7955 7958 7959 7961 7962 7963 7964 7965 7968 7969 7970 7971 7972 7973 7974 7975 7976 7978 7979 7980 7981 7982 7983) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <i91ckh+op3a@eGroups\.com> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 hide nil x-ctext "dave@boostpro.com" clear "imap.gmail.com" 993 ("!" ssl ssl open-ssl-stream) "INBOX"] 7963 mime-partial-header nil)
wl-message-redisplay([elmo-imap4-folder [0 0 0 0 0 0 0] imap4 "%INBOX" "%" "/Users/dave/.elmo/imap/imap.gmail.com/dave@boostpro.com/inbox" [modb-standard [0 0 0 0 0 0 0] "/Users/dave/.elmo/imap/imap.gmail.com/dave@boostpro.com/inbox" nil t x-ctext (7903 7933 7936 7938 7947 7949 7951 7952 7953 7955 7958 7959 7961 7962 7963 7964 7965 7968 7969 7970 7971 7972 7973 7974 7975 7976 7978 7979 7980 7981 7982 7983) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <i91ckh+op3a@eGroups\.com> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 hide nil x-ctext "dave@boostpro.com" clear "imap.gmail.com" 993 ("!" ssl ssl open-ssl-stream) "INBOX"] 7963 mime-partial-header nil)
wl-summary-redisplay-internal([elmo-imap4-folder [0 0 0 0 0 0 0] imap4 "%INBOX" "%" "/Users/dave/.elmo/imap/imap.gmail.com/dave@boostpro.com/inbox" [modb-standard [0 0 0 0 0 0 0] "/Users/dave/.elmo/imap/imap.gmail.com/dave@boostpro.com/inbox" nil t x-ctext (7903 7933 7936 7938 7947 7949 7951 7952 7953 7955 7958 7959 7961 7962 7963 7964 7965 7968 7969 7970 7971 7972 7973 7974 7975 7976 7978 7979 7980 7981 7982 7983) [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 <i91ckh+op3a@eGroups\.com> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ...] [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 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 hide nil x-ctext "dave@boostpro.com" clear "imap.gmail.com" 993 ("!" ssl ssl open-ssl-stream) "INBOX"] 7963)
wl-summary-set-message-buffer-or-redisplay(ignore-original)
wl-summary-next-line-content()
wl-summary-enter-handler(nil)
call-interactively(wl-summary-enter-handler nil nil)
--
Dave Abrahams
BoostPro Computing
http://www.boostpro.com