From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.help Subject: Re: gnus-icalendar errors in emacs 24.5 Date: Tue, 23 Feb 2016 12:41:58 +1100 Message-ID: <87y4acurrt.fsf@gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1456191775 22400 80.91.229.3 (23 Feb 2016 01:42:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 01:42:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Jan Tatarik To: Kostas Zorbadelos Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 23 02:42:46 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aY1zv-0002wx-Pg for geh-help-gnu-emacs@m.gmane.org; Tue, 23 Feb 2016 02:42:43 +0100 Original-Received: from localhost ([::1]:53132 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1zv-0001kU-AE for geh-help-gnu-emacs@m.gmane.org; Mon, 22 Feb 2016 20:42:43 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1zj-0001k4-41 for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aY1ze-0004Br-UC for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:31 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:39415) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aY1ze-0004Bf-NL for help-gnu-emacs@gnu.org; Mon, 22 Feb 2016 20:42:26 -0500 Original-Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aY1zG-0004Ud-V2; Tue, 23 Feb 2016 02:42:03 +0100 In-Reply-To: (Kostas Zorbadelos's message of "Mon, 22 Feb 2016 20:48:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aY1zG-0004Ud-V2 MailScanner-NULL-Check: 1456796523.86498@osFC7baSqf9VLP/C+xLmWw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.224.195 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109263 Archived-At: Kostas Zorbadelos writes: > Org file exists and has a 'Calendar' headline. > On export of a calendar mail (attached the calendar MIME part) I get the > attached backtrace. I get the same backtrace even when I send a gmail > calendar invitation. Any suggestions? [...] > Debugger entered--Lisp error: (error "Invalid date: 2016-02-25 =A6=B0=A6= =C5=A6=CC") > signal(error ("Invalid date: 2016-02-25 =A6=B0=A6=C5=A6=CC")) > error("Invalid date: %s" "2016-02-25 =A6=B0=A6=C5=A6=CC") > date-to-time("2016-02-25 =A6=B0=A6=C5=A6=CC") This is definitely a bug, and it comes from here: (cl-defmethod gnus-icalendar-event:org-timestamp ((event gnus-icalendar-eve= nt)) "Build `org-mode' timestamp from EVENT start/end dates and recurrence inf= o." (let* ((start (gnus-icalendar-event:start-time event)) (end (gnus-icalendar-event:end-time event)) (start-date (format-time-string "%Y-%m-%d %a" start)) %a is the locale's day name, and that's not something `date-to-time' can parse. But I'm not familiar with gnus-icalendar, so I'm not sure what the right fix is here. Jan, is the week day supposed to be in these date strings at all? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no