Results 1 to 7 of 7

Thread: Curl ICS File

  1. #1
    drhughes is offline Senior Member
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    6

    Default Curl ICS File

    My Version of Zimbra: Release 5.0.13_GA_2791.SLES10_64_20090206110511 SLES10_64 NETWORK edition

    I am trying to migrate data from Messaging Architects Groupwise Archiver into Zimbra. I have the Calendar items converted to ical, but when I use curl to inject them into Zimbra I get the following error.

    Code:
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <title>Error 500 </title>
    </head>
    <body><h2>HTTP ERROR: 500</h2><pre>system failure: ics formatter failure</pre>
    <p>RequestURI=/service/home/drhughes-archive/calendar</p><h3>Caused by:</h3><pre>com.zimbra.common.service.ServiceException: system failure: ics formatter failure
    ExceptionId:btpool0-3175:1239717295454:9b806e0ce4990e30
    Code:service.FAILURE
    Example of my ical file:
    Code:
    BEGIN:VCALENDAR
    PRODID:-//SVSU GWArchive Converter//1.0//EN
    VERSION:2.0
    METHOD:PUBLISH
    BEGIN:VEVENT
    UID:10654429981499277@example.edu
    SUMMARY:Vacation Day
    LAST-MODIFIED:20031006T122318Z
    DTSTAMP:20031006T122318Z
    TRANSP:OPAQUE
    PERCENT-COMPLETE:0
    CREATED:20030120T133841Z
    DTSTART:20030120T130000Z
    CLASS:PRIVATE
    LOCATION:Home
    DTEND:20030120T133000Z
    DESCRIPTION:
    SOURCE:personal
    ORGANIZER;MAILTO:userid@example.edu
    BEGIN:VALARM
    TRIGGER:-P0M
    ACTION:REMINDER
    END:VALARM
    END:VEVENT

    Any thoughts on what my problem could be?

    Thanks

  2. #2
    dustys is offline Partner (VAR/HSP)
    Join Date
    Feb 2007
    Location
    Sioux Falls, SD
    Posts
    67
    Rep Power
    7

    Default

    I ran into a similar issue a while back. (Exporting calendars from SunBird and then importing)

    Since iCal on Mac seems to work with Zimbra, I imported the ics file into iCal and then re-exported it. Once I did this, I was able to push it to Zimbra without error.

    What is the output from this account in your mailbox.log?

    Thanks
    Dusty
    CoSentry - www.cosentry.com - Co-Location & Business Resiliency Solutions

  3. #3
    drhughes is offline Senior Member
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    6

    Default

    mailbox - UserServlet received file unknown - 240 request bytes

  4. #4
    thorng is offline Active Member
    Join Date
    Apr 2009
    Posts
    46
    Rep Power
    5

    Default

    Missing an END:VCALENDAR?

    Not sure if it is just your incompleted copy, but All BEGIN: must be completed with an END:

  5. #5
    drhughes is offline Senior Member
    Join Date
    Dec 2007
    Posts
    50
    Rep Power
    6

    Default

    Quote Originally Posted by thorng View Post
    Missing an END:VCALENDAR?

    Not sure if it is just your incompleted copy, but All BEGIN: must be completed with an END:
    It actually does have the END:VCALENDAR on the end. Some how I didn't get the whole thing pasted into my message.

    Here's the interesting part.

    I logged into web interface and exported my calendar as a ICS and then tried to use curl to bring it over and I get the same message as above. Zimbra doesn't even like it's own exports.

    I think it is time to open a case with Zimbra.

  6. #6
    nrc
    nrc is offline Special Member
    Join Date
    Mar 2007
    Location
    Columbus, OH
    Posts
    166
    Rep Power
    7

    Default

    One of my recent tickets was about an ICS event that wouldn't load and it turned out that WebEx simply generates invalid ICS. So I've started validating ICS files before I complain if they don't work.

    According to the validator below, that ICS isn't valid. It complains that "SOURCE" is an invalid property. If you remove that, it will complain about the ORGANIZER line. If you then change the ";" in the ORGANIZER line to a ":" it validates. MAILTO is part of the value, not a parameter so it should be a ":".

    iCalendar Validator

  7. #7
    ab5602 is offline Project Contributor
    Join Date
    Nov 2007
    Location
    Detroit, MI
    Posts
    67
    Rep Power
    6

    Default

    I found this issue to be related to if the imported appointments spanned daylight savings time. I fixed it by adding a TZID in the iCal header:

    Code:
    BEGIN:VTIMEZONE
    TZID:US-Eastern
    BEGIN:STANDARD
    DTSTART:20071104T020000
    TZOFFSETTO:-0500
    TZOFFSETFROM:-0400
    RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
    END:STANDARD
    BEGIN:DAYLIGHT
    DTSTART:20070311T020000
    TZOFFSETTO:-0400
    TZOFFSETFROM:-0500
    RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
    END:DAYLIGHT
    END:VTIMEZONE
    Where "US-Eastern" is the TZID specified in the appointments.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. speed up the net
    By mcesari in forum Administrators
    Replies: 10
    Last Post: 04-25-2008, 11:24 AM
  2. centos 5 zimbra 4.5.6 no statistics
    By rutman286 in forum Installation
    Replies: 9
    Last Post: 08-14-2007, 09:30 AM
  3. Opensource backup Question.
    By nfear24 in forum Administrators
    Replies: 3
    Last Post: 03-31-2007, 11:47 PM
  4. Traslation SVN tree status
    By meikka in forum I18N/L10N - Translations
    Replies: 7
    Last Post: 02-13-2007, 10:13 AM
  5. M3 problem with shares
    By titangears in forum Users
    Replies: 4
    Last Post: 01-12-2006, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •