Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-2010, 01:01 AM
Intermediate Member
 
Posts: 16
Default Zimbra won't import iCal file

Hello

I'm running 6.07 NE here and I've got some strange issues trying to import an ical file from highrise.

Contents of the file are
Code:
BEGIN:VCALENDAR
CALSCALE:GREGORIAN
X-WR-CALNAME:Test.GmbH tasks for Florian K.
X-WR-TIMEZONE:Europe/Amsterdam
VERSION:2.0
BEGIN:VEVENT
DTSTART;VALUE=DATE:20100705
DTEND;VALUE=DATE:20100706
SUMMARY:Meier neuer termin
UID:7191975
DTSTAMP:20100705T193500
LAST-MODIFIED:20100705T223102
SEQUENCE:1278361862
END:VEVENT
BEGIN:VEVENT
DTSTART:20100713T223000
DTEND:20100713T223000
SUMMARY:[DEMO] besuch
UID:7191986
DTSTAMP:20100705T193544
LAST-MODIFIED:20100705T193544
SEQUENCE:1278351344
END:VEVENT
BEGIN:VEVENT
DTSTART:20100802T220000
DTEND:20100802T220000
SUMMARY:[FOLLOW-UP] nochmal anrufen (re: Meier )
UID:7191663
DTSTAMP:20100705T190325
LAST-MODIFIED:20100705T190325
SEQUENCE:1278349405
END:VEVENT
END:VCALENDAR
Google calendar and Mozilla Lightning import the file without any problems, but Zimbra chokes on it with these messages

Code:
com.zimbra.common.service.ServiceException: parse error: could not parse feed
ExceptionId:btpool0-2771://mail.mykita.com/service/soap/CreateFolderRequest:1278403007173:d7ae8cc30fdfccf6
Code:service.PARSE_ERROR
        at com.zimbra.common.service.ServiceException.PARSE_ERROR(ServiceException.java:266)
        at com.zimbra.cs.service.FeedManager.retrieveRemoteDatasource(FeedManager.java:193)
        at com.zimbra.cs.mailbox.Mailbox.importFeed(Mailbox.java:6004)
        at com.zimbra.cs.mailbox.Mailbox.synchronizeFolder(Mailbox.java:5994)
        at com.zimbra.cs.service.mail.CreateFolder.handle(CreateFolder.java:75)
        at com.zimbra.soap.SoapEngine.dispatchRequest(SoapEngine.java:420)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:274)
        at com.zimbra.soap.SoapEngine.dispatch(SoapEngine.java:158)
        at com.zimbra.soap.SoapServlet.doWork(SoapServlet.java:291)
        at com.zimbra.soap.SoapServlet.doPost(SoapServlet.java:212)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at com.zimbra.cs.servlet.ZimbraServlet.service(ZimbraServlet.java:181)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
        at com.zimbra.cs.servlet.SetHeaderFilter.doFilter(SetHeaderFilter.java:79)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
        at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
        at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
        at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
        at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
        at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
        at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
        at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
        at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
        at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.handler.DebugHandler.handle(DebugHandler.java:77)
        at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
        at org.mortbay.jetty.Server.handle(Server.java:326)
        at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:543)
        at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:939)
        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
        at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
        at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:451)
Caused by: org.dom4j.DocumentException: Error on line 21 of document  : Open quote is expected for attribute "target" associated with an  element type  "a". Nested exception: Op
en quote is expected for attribute "target" associated with an  element type  "a".
        at org.dom4j.io.SAXReader.read(SAXReader.java:350)
        at org.dom4j.io.SAXReader.read(SAXReader.java:264)
        at com.zimbra.common.soap.Element.parseXML(Element.java:413)
        at com.zimbra.common.soap.Element.parseXML(Element.java:411)
        at com.zimbra.cs.service.FeedManager.retrieveRemoteDatasource(FeedManager.java:179)
So it somehow can't properly parse the stream. I also tried disabling SSL in Highrise, using wget I can download the file without any problems to my server, it's just that Zimbra doesn't know what to do with it.

Any advice would be greatly appreciated

wirtsi
Reply With Quote
  #2 (permalink)  
Old 07-06-2010, 05:33 AM
Moderator
 
Posts: 1,554
Default

you should file a bug report with the ics file attached. doesn't help with immediate problem but it will most likely happen again in the future so if you file the bug it can be fixed in a later release.
Reply With Quote
  #3 (permalink)  
Old 07-06-2010, 08:17 AM
Intermediate Member
 
Posts: 16
Default

Hi

I found out what the problem is ... Zimbra uses

Code:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) Zimbra/2.0
as user agent which triggers an unsupported browser error page on the remote server.

I'm just wondering why a really cool linux software like zimbra would use an user agent from the stone ages

wirtsi
Reply With Quote
  #4 (permalink)  
Old 12-13-2010, 01:25 PM
Starter Member
 
Posts: 1
Default Exporting Events in Bulk to Zimbra

Hi,

How can i import all calendar events in single Soap Request,similar to ImportContactsRequest ct="\csv\"

Thanks.
MS
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.