new.lds.org - Calendars - Import iCal Events

Discussions about the Calendar Tool at lds.org. Questions about the calendar on the classic site should be posted in the LUWS forum.
mzundel
New Member
Posts: 33
Joined: Fri Jan 19, 2007 8:08 am

#11

Post by mzundel »

The event I posted came from an export of the calendar at new.lds.org. We entered our stake calendar into a google calendar and then exported it. I then tried to import it into new.lds.org which failed. I then thought there was something wrong with the file so I tried to import it into outlook (2010) which worked just fine. I then exported from outlook to import -- which failed as well. That is when I decided to get to a basic file. I do not think it is very feasible as I would be spending the same if not more time "fixing" the file rather than manually adding each calendar item.
mzundel
New Member
Posts: 33
Joined: Fri Jan 19, 2007 8:08 am

Export from Google Calendar

#12

Post by mzundel »

It still seems like the import function is missing something from the iCal standard.

This is an export form Google Calendar, which does not work either:

BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTART;VALUE=DATE:20111231
DTEND;VALUE=DATE:20120101
DTSTAMP:20101203T161522Z
UID:CSVConvert32ded60d050733c54c1d1a109ab1fb9a
CREATED:20101128T151621Z
DESCRIPTION:
LAST-MODIFIED:20101128T151621Z
LOCATION:United States
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:New Year's Eve
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
User avatar
aebrown
Community Administrator
Posts: 15153
Joined: Tue Nov 27, 2007 8:48 pm
Location: Draper, Utah

#13

Post by aebrown »

mzundel wrote:It still seems like the import function is missing something from the iCal standard.

This is an export form Google Calendar, which does not work either:

BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTART;VALUE=DATE:20111231
DTEND;VALUE=DATE:20120101
DTSTAMP:20101203T161522Z
UID:CSVConvert32ded60d050733c54c1d1a109ab1fb9a
CREATED:20101128T151621Z
DESCRIPTION:
LAST-MODIFIED:20101128T151621Z
LOCATION:United States
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:New Year's Eve
TRANSP:TRANSPARENT
END:VEVENT
END:VCALENDAR
hmm. It worked fine for me. I simply copied and pasted that exact text into a text file called test.ics and imported it. I was told that it imported successfully, and indeed the New Year's Eve 2011 event was on the calendar.

What leads you to say it didn't work? Did you get an error message, or did the event simply not appear?
Questions that can benefit the larger community should be asked in a public forum, not a private message.
mzundel
New Member
Posts: 33
Joined: Fri Jan 19, 2007 8:08 am

#14

Post by mzundel »

The error that I receive is:
"We encountered an error with your ICS file. You may need to create a new ICS file, or try again later."
n.oliver
New Member
Posts: 30
Joined: Sun May 09, 2010 9:21 pm
Location: USA, AZ

#15

Post by n.oliver »

Also of note is that the importer throws an error when using the one-way sync files it generates.

Granted this shouldn't be used much/at all :D (Our stake isn't using the calendar yet, so I created all of the stake events in a ward-level calendar and was then trying to make a copy to push to stake level. I want a copy just so my work isn't "lost" and we fly blind again :) )

Specific error message:
"There was an error while trying to parse your ICS file. We currently support ICAL files created by Google Calendar or Outlook. If you are importing from one of these applications please report the issues to customer service."
n.oliver
New Member
Posts: 30
Joined: Sun May 09, 2010 9:21 pm
Location: USA, AZ

#16

Post by n.oliver »

For me it would be helpful to know which event in the ICS file had an error/what the error is so I can correct it. In order to keep it user friendly perhaps the prompt could operate like the Windows Vista (& 7?) copy dialog where there's the general message and then a "more information" describing the technical aspects.

I tried to repair the files using regular expression replacements in Notepad++
find

Code: Select all

DTSTART:([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])$
replace with

Code: Select all

 DTSTART;VALUE=DATE:\1
which successfully implemented mstauff's suggestion, but was given the same error message.
mstauff
Member
Posts: 101
Joined: Thu Dec 02, 2010 9:25 am
Location: Lehi, UT USA

#17

Post by mstauff »

mzundel wrote:The error that I receive is:
"We encountered an error with your ICS file. You may need to create a new ICS file, or try again later."
What browser(s) have you tried it in? I think I saw that error in chrome, but then tried it in FF and IE and it worked in both of them. I realize it's a long shot that that would be the issue, but at least worth considering since that event imported for Alan_Brown.
nerenberg
New Member
Posts: 1
Joined: Fri Dec 31, 2010 1:30 pm

import ical events

#18

Post by nerenberg »

I tried the above mentioned date changing and it still doesn't import for me with that same error message "We encountered an error with your ICS file. You may need to create a new ICS file, or try again later."

My sample file:
BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20101231T152728Z
DTSTART;VALUE=DATE:20110101
SUMMARY:News Year's Day
UID:629958A
END:VEVENT
END:VCALENDAR
User avatar
aebrown
Community Administrator
Posts: 15153
Joined: Tue Nov 27, 2007 8:48 pm
Location: Draper, Utah

#19

Post by aebrown »

nerenberg wrote:I tried the above mentioned date changing and it still doesn't import for me with that same error message "We encountered an error with your ICS file. You may need to create a new ICS file, or try again later."

My sample file:
BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTAMP:20101231T152728Z
DTSTART;VALUE=DATE:20110101
SUMMARY:News Year's Day
UID:629958A
END:VEVENT
END:VCALENDAR
I saved your sample data as test.ics and imported it into our stake's calendar on lds.org/church-calendar using Options > Import iCal Events. It worked exactly as expected -- the event was imported on 1 Jan 2011.

Are you a calendar administrator ("approver") for your unit? Are you an editor for the calendar you are trying to import this event into? Is it a regular public calendar, or a private calendar?
Questions that can benefit the larger community should be asked in a public forum, not a private message.
sweenig
New Member
Posts: 7
Joined: Tue Jun 11, 2013 11:43 am

Re: new.lds.org - Calendars - Import iCal Events

#20

Post by sweenig »

I had this problem, well sort of. Instead of getting an error, the dialog box just kept spinning like it was importing 45 billion events. I opened the ICS in Notepad++ and did and EOL conversion to Linux/Unix style and the ICS imported in the twinkle of an eye.

This is a problem with the importer code. It should either recognize that some people use Windows (so EOL characters are \r\n) or convert EOL characters to \r\n.
Post Reply

Return to “Calendar”