[Remind-Fans] From remind to Google calendar
Daniel Martins
danielemc at gmail.com
Mon May 19 16:29:47 EDT 2008
I used the $VERSION = "0.5.2" you sent me
here is two trials : the term inside () do not appear on the terminal
daniel at martins:~$ ical2rem.pl basic.ics
(wait a lot without nothing happening)
REM MSG Calendar Events:%"%"%
Invalid local time for date in time zone: America/Sao_Paulo
daniel at martins:~$
daniel at martins:~$ cat *.ics | ical2rem.pl
(wait a lot without nothing happening)
REM MSG Calendar Events:%"%"%
Invalid local time for date in time zone: America/Sao_Paulo
daniel at martins:~$
2008/5/19 Justin Alcorn <justin at jalcorn.net>:
> You must have a very old version. We converted the code to use it as a
> pipe a long time ago:
>
> # version 0.5.2 2007-03-23
> # - BUG: leadtime for recurring events had a max of 4 instead of
> DEFAULT_LEAD_TIME
> # - remove project-lead-time, since Category was a non-standard attribute
> # - NOTE: There is a bug in iCal::Parser v1.14 that causes multiple
> calendars to
> # fail if a calendar with recurring events is followed by a calendar
> with no
> # recurring events. This has been reported to the iCal::Parser
> author.
> # version 0.5.1 2007-03-21
> # - BUG: Handle multiple calendars on STDIN
> # - add --heading option for priority on section headers
> # version 0.5 2007-03-21
> # - Add more help options
> # - --project-lead-time option
> # - Supress printing of heading if there are no todos to print
> # version 0.4
> # - Version 0.4 changes all written or inspired by, and thanks to Mark
> Stosberg
> # - Change to GetOptions
> # - Change to pipe
> # - Add --label, --help options
> # - Add Help Text
> # - Change to subroutines
> # - Efficiency and Cleanup
> # version 0.3
> # - Convert to GPL (Thanks to Mark Stosberg)
> # - Add usage
> # version 0.2
> # - add command line switches
> # - add debug code
> # - add SCHED _sfun keyword
> # - fix typos
> # version 0.1 - ALPHA CODE.
>
> you use it now by doing:
>
> cat *.ics | ical2rem.pl
>
> http://jalcorn.net/public/ical2rem.pl
>
>
> On Mon, May 19, 2008 at 7:04 AM, Daniel Martins <danielemc at gmail.com>
> wrote:
>
>>
>> I did this. I am repeating here the sequence in another machine from
>> scratch.
>>
>> daniel at martins:~$
>> daniel at martins:~$ ical2rem.pl
>> can't opendir local/cal: Arquivo ou diretório inexistente at
>> /home/daniel/bin/ical2rem.pl line 47.
>> daniel at martins:~$ mkdir local
>> daniel at martins:~$ mkdir local/cal
>> daniel at martins:~$ ical2rem.pl
>> MSG Calendar ToDos:%"%"%
>> REM MSG %"%"%
>> MSG Calendar Events:%"%"%
>> daniel at martins:~$ ical2rem.pl basic.ics
>> MSG Calendar ToDos:%"%"%
>> REM MSG %"%"%
>> MSG Calendar Events:%"%"%
>> daniel at martins:~$
>> daniel at martins:~$ cp basic.ics local/cal/
>> daniel at martins:~$ ical2rem.pl basic.ics
>> (wait a lot without nothing happening)
>> Invalid local time for date in time zone: America/Sao_Paulo
>> daniel at martins:~$ ical2rem.pl local/cal/basic.ics
>> (wait a lot without nothing happening)
>> Invalid local time for date in time zone: America/Sao_Paulo
>>
>>
>> I hope this helps !
>>
>>
>> Daniel
>>
>>
>>
>> 2008/5/19 Akshay Joshi <joshi.a at gmail.com>:
>>
>> Maybe try creating the directory first, that may help.
>>>
>>>
>>> On Sun, May 18, 2008 at 10:51 AM, Daniel Martins <danielemc at gmail.com>
>>> wrote:
>>>
>>>> Working a bit more I surpassed the Perl problems in my two differente
>>>> machines
>>>>
>>>> Now the problem is
>>>>
>>>>
>>>> :~$ ical2rem.pl basic.ics
>>>> can't opendir local/cal: File or directory non-existent at
>>>> /home/daniel/bin/ical2rem.pl line 47.
>>>>
>>>> The line 47 is
>>>> my $cal_dir = "local/cal";
>>>>
>>>> I have to change ical2rem by hand there?
>>>>
>>>> This local/cal is the directory which will contain all my *.ics files ?
>>>>
>>>> Thanks Eyolf for your patience ...
>>>>
>>>> Daniel
>>>>
>>>> 2008/5/16 Daniel Martins <danielemc at gmail.com>:
>>>>
>>>> The solution:
>>>>>
>>>>> I had to remove ~/.cpan
>>>>>
>>>>> then I used
>>>>>
>>>>> > cpan
>>>>>
>>>>> exit
>>>>>
>>>>>
>>>>> on the shell I used again
>>>>> > sudo cpan -i iCal::Parser DateTime
>>>>>
>>>>> Now ical2rem seems to work partially
>>>>>
>>>>> However it requests local time zone
>>>>>
>>>>> $ ical2rem.pl
>>>>> Cannot determine local time zone
>>>>> Attempt to free unreferenced scalar: SV 0x878df18, Perl interpreter:
>>>>> 0x8153008.
>>>>>
>>>>>
>>>>> 2008/5/15 Daniel Martins <danielemc at gmail.com>:
>>>>>
>>>>> In my Ubuntu 8.04 I cannot use
>>>>>>
>>>>>> ical2rem
>>>>>>
>>>>>>
>>>>>> I tried
>>>>>>
>>>>>> cpan -i iCal::Parser DateTime as root. as recommended in
>>>>>>
>>>>>> http://wiki.43folders.com/index.php/ICal2Rem
>>>>>>
>>>>>>
>>>>>> The result is always
>>>>>>
>>>>>> $ ical2rem.pl
>>>>>> Can't locate iCal/Parser.pm in @INC (@INC contains: /etc/perl
>>>>>> /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5
>>>>>> /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8
>>>>>> /usr/local/lib/site_perl .) at /home/daniel/bin/ical2rem.pl line 38.
>>>>>> BEGIN failed--compilation aborted at /home/daniel/bin/ical2rem.pl line
>>>>>> 38.
>>>>>>
>>>>>>
>>>>>> 2007/10/3 Eyolf Østrem <eyolf at oestrem.com>:
>>>>>>
>>>>>>
>>>>>>> On 20.09.2007 (11:05), Justin Alcorn wrote:
>>>>>>> > http://wiki.43folders.com/index.php/Remind_Sync_FAQ
>>>>>>> >
>>>>>>> > Start putting answers in there.
>>>>>>>
>>>>>>> Excellent! perhaps one could add one thing to this (from the page):
>>>>>>>
>>>>>>> # use wget within a cron job to download that calendar on a regular
>>>>>>> basis. put them in a folder names /here/are/my/calendars
>>>>>>> # use the ical2rem.pl file above just change the $cal_dir into your
>>>>>>> /here/are/my/calendars folder.
>>>>>>>
>>>>>>> If you don't absolutely need to have the google.ics file itself
>>>>>>> locally, the two steps can be combined into one:
>>>>>>>
>>>>>>> wget -O - http://secret.address.to.google.calendar/basic.ics |
>>>>>>> ical2rem.pl > ~/.calendars/google.rem
>>>>>>>
>>>>>>> or whichever name and location one wants to use.
>>>>>>>
>>>>>>> I tried to register at the wiki, but there wasn't a "create account"
>>>>>>> option at the "Log in/create account" page...
>>>>>>>
>>>>>>> eyolf
>>>>>>>
>>>>>>> --
>>>>>>> Lt. Dan: "Have you found Jesus yet Gump?"
>>>>>>> Forrest Gump: "I didn't know I was supposed to be looking
>>>>>>> for him - Sir!"
>>>>>>> _______________________________________________
>>>>>>> Remind-fans mailing list
>>>>>>> Remind-fans at lists.whatexit.org
>>>>>>> http://lists.whatexit.org/mailman/listinfo/remind-fans
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Remind-fans mailing list
>>>> Remind-fans at lists.whatexit.org
>>>> http://lists.whatexit.org/mailman/listinfo/remind-fans
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Remind-fans mailing list
>>> Remind-fans at lists.whatexit.org
>>> http://lists.whatexit.org/mailman/listinfo/remind-fans
>>>
>>>
>>
>> _______________________________________________
>> Remind-fans mailing list
>> Remind-fans at lists.whatexit.org
>> http://lists.whatexit.org/mailman/listinfo/remind-fans
>>
>>
>
>
> --
> --
> Justin B. Alcorn
>
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.whatexit.org
> http://lists.whatexit.org/mailman/listinfo/remind-fans
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.roaringpenguin.com/pipermail/remind-fans/attachments/20080519/a57638ff/attachment.htm>
More information about the Remind-fans
mailing list