all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vegard Vesterheim <vegard.vesterheim@uninett.no>
To: 29116@debbugs.gnu.org
Subject: bug#29116: 24.5; Parsing dates from VCAL
Date: Thu, 02 Nov 2017 09:57:08 +0100	[thread overview]
Message-ID: <1smv459hy3.fsf@voll.uninett.no> (raw)

I received an email containing a VCAL attachment which Gnus is unable to
render, the error in the minibuffer says:

  Wrong type argument: char-or-string-p, nil

The VCAL-attachment contains this:

    DTSTART;VALUE=DATE:20171208

The spec for DTSTART states that the value type for DTSTART can be
either DATE-TIME or DATE, so this seems like a valid format, so I am
inclined to think that this is a bug in emacs.

Here is the backtrace (parameters removed 
  timezone-make-arpa-date(2000 0 0 "01:00:00" (3600 "CET"))
  timezone-make-date-arpa-standard("20171208" nil nil)
  gnus-icalendar-event--decode-datefield(...)
  gnus-icalendar-event-from-ical(...)
  gnus-icalendar-event-from-buffer(...)
  gnus-icalendar-event-from-handle(...)
  gnus-icalendar-mm-inline(...)
  mm-display-inline(...)
  mm-display-part(...)
  gnus-mime-display-alternative(...)
  gnus-mime-display-part(..)
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(94599 nil)
  gnus-summary-display-article(94599)
  gnus-summary-next-article(nil)

Looking at the backtrace it seems that the problem is related to parsing
the date string: "20171208".






             reply	other threads:[~2017-11-02  8:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02  8:57 Vegard Vesterheim [this message]
2017-11-05 10:19 ` bug#29116: 24.5; Parsing dates from VCAL Robert Pluim
2017-11-06  7:45   ` Vegard Vesterheim
2017-11-06 10:01     ` Robert Pluim
2017-11-06 11:16       ` Vegard Vesterheim
2017-11-06 11:19         ` Robert Pluim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1smv459hy3.fsf@voll.uninett.no \
    --to=vegard.vesterheim@uninett.no \
    --cc=29116@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.