From: Guido Van Hoecke <guivho@gmail.com>
To: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Problem with Google Calendar Synchronization
Date: Wed, 08 May 2013 17:45:43 +0200 [thread overview]
Message-ID: <m24nedzd94.fsf@gmail.com> (raw)
In-Reply-To: <874ned6fhj.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Wed, 8 May 2013 09:30:16 +0100")
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> Guido Van Hoecke <guivho@gmail.com> writes:
>
>> Hi,
>>
>> Thank you guys for your help.
>>
>> Got gawk from macports.
>
> Glad you got it. I did make use of whatever GNU awk provided and did
> not try to keep to vanilla awk. Sorry about that!
No prob at all!
>> Hitting data error now:
>>
>> gawk: ./importGoogleCalendar.awk:143: (FILENAME=- FNR=34026) fatal:
>> strftime: second argument less than 0 or too big for time_t
>>
>> I am investigating this now and will report my findings
> Keep us posted. I've not seen this error before but I am not confident
> that the parsing of date and time stamps in the awk script is
> comprehensive. If you don't track it down, I would be happy to look at
> your calendar file.
There's no error in the script :)
My ics file had a.o. my elder sister's birthday, and unfortunately her's
as well as mine is (way) before the start of the epoch, so mktime
returns a negative timestamp at line 63 and strftime at line 143 doesn't
grok it.
Anyway, I don't need these records as I have them in a separate
anniversaries.org file that uses diary-style sexp entries for the
birthdays.
So Eric, rest assured, the script works fine for events occurring since
the start of the epoch. It was quite a help to me.
Thanks for your effort and for sharing it,
Guido
--
APL is a write-only language. I can write programs
in APL, but I can't read any of them.
-- Roy Keir
next prev parent reply other threads:[~2013-05-08 16:11 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-07 8:40 Problem with Google Calendar Synchronization Guido Van Hoecke
2013-05-07 10:26 ` Tassilo Horn
2013-05-07 13:04 ` Henning Weiss
2013-05-07 20:23 ` Guido Van Hoecke
2013-05-08 8:30 ` Eric S Fraga
2013-05-08 15:45 ` Guido Van Hoecke [this message]
2013-05-09 9:54 ` Eric S Fraga
2013-05-09 13:24 ` Guido Van Hoecke
2013-05-09 14:05 ` Eric S Fraga
2013-05-09 18:00 ` Guido Van Hoecke
2013-05-09 20:39 ` Eric S Fraga
2013-05-10 9:04 ` Guido Van Hoecke
2013-05-10 13:56 ` Eric S Fraga
2013-05-10 21:39 ` Guido Van Hoecke
2013-05-11 15:53 ` Guido Van Hoecke
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m24nedzd94.fsf@gmail.com \
--to=guivho@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).