unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29116: 24.5; Parsing dates from VCAL
@ 2017-11-02  8:57 Vegard Vesterheim
  2017-11-05 10:19 ` Robert Pluim
  0 siblings, 1 reply; 6+ messages in thread
From: Vegard Vesterheim @ 2017-11-02  8:57 UTC (permalink / raw)
  To: 29116

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






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

end of thread, other threads:[~2017-11-06 11:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-02  8:57 bug#29116: 24.5; Parsing dates from VCAL Vegard Vesterheim
2017-11-05 10:19 ` 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

Code repositories for project(s) associated with this public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).