Error message while importing ical file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Error message while importing ical file

Matthias Fechner
Dear list,

I try to import my ical file to migrate to owncloud.

But the logfile gives me:
{"app":"PHP","message":"DateTimeZone::__construct(): Unknown or bad
timezone (Romance Standard Time) at
\/usr\/local\/www\/owncloud\/3rdparty\/Sabre\/VObject\/TimeZoneUtil.php#307","level":3,"time":"2014-01-30T10:53:57+00:00"}
{"app":"vobject","message":"Invalid VObject, line 27855 did not follow
the icalendar\/vcard format","level":3,"time":"2014-01-30T10:54:11+00:00"}
{"app":"PHP","message":"Call to a member function __get() on a
non-object at
\/usr\/local\/www\/owncloud\/apps\/calendar\/lib\/import.php#361","level":3,"time":"2014-01-30T10:54:11+00:00"}
{"app":"vobject","message":"Invalid VObject, line 27855 did not follow
the icalendar\/vcard format","level":3,"time":"2014-01-30T10:54:13+00:00"}
{"app":"PHP","message":"Call to a member function __get() on a
non-object at
\/usr\/local\/www\/owncloud\/apps\/calendar\/lib\/import.php#361","level":3,"time":"2014-01-30T10:54:13+00:00"}
{"app":"vobject","message":"Invalid VObject, line 27855 did not follow
the icalendar\/vcard format","level":3,"time":"2014-01-30T10:54:21+00:00"}
{"app":"PHP","message":"Call to a member function __get() on a
non-object at
\/usr\/local\/www\/owncloud\/apps\/calendar\/lib\/import.php#361","level":3,"time":"2014-01-30T10:54:21+00:00"}
{"app":"vobject","message":"Invalid VObject, line 27855 did not follow
the icalendar\/vcard format","level":3,"time":"2014-01-30T10:54:24+00:00"}
{"app":"PHP","message":"Call to a member function __get() on a
non-object at
\/usr\/local\/www\/owncloud\/apps\/calendar\/lib\/import.php#361","level":3,"time":"2014-01-30T10:54:24+00:00"}
{"app":"vobject","message":"Invalid VObject, line 27855 did not follow
the icalendar\/vcard format","level":3,"time":"2014-01-30T11:09:54+00:00"}


Is there an option I can set to see what line in the ical/vcard file is
causing the problem?

Thanks,
Matthias

--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error message while importing ical file

Bart Visscher
On Friday 31 January 2014 10:00:14 Matthias Fechner wrote:
> Dear list,
>
> I try to import my ical file to migrate to owncloud.
>
[snip]
>
>
> Is there an option I can set to see what line in the ical/vcard file is
> causing the problem?

There isn't an option to see the line it self. But the error messages give
clues where/what the problems are:
> Unknown or bad timezone (Romance Standard Time)
The timezone "Romance Standard Time" is not valid, see
http://php.net/manual/en/timezones.php for a list of valid ones.
> Invalid VObject, line 27855 did not follow the icalendar\/vcard
Line 27855 is incorrect, take a look at that line and compare it with some
others, maybe you can correct that line.

Bart

>
> Thanks,
> Matthias

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error message while importing ical file

Matthias Fechner
Hi Bart,

Am 31.01.14 10:44, schrieb Bart Visscher:
> Line 27855 is incorrect, take a look at that line and compare it with some
> others, maybe you can correct that line.

thanks a lot for your answer, but I cannot see really were the problem
should be.
The entry seems to be (hopefully I extracted the right part of the file,
as the file has nearly 40k lines, I extracted the block from
BEGIN:VCALENDAR to END:VCALENDAR):
BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:Europe/Lisbon
X-LIC-LOCATION:Europe/Lisbon
BEGIN:STANDARD
TZOFFSETFROM:+0100
TZOFFSETTO:+0000
TZNAME:WET
DTSTART:19701025T020000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:+0000
TZOFFSETTO:+0100
TZNAME:WEST
DTSTART:19700329T010000
RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20120623T235536Z
LAST-MODIFIED:20120627T202616Z
DTSTAMP:20120627T202616Z
UID:6119F4A7-B55B-45B9-9F46-1FE34CC9C715
SUMMARY:Abfahrt zum Flughafen
X-MOZ-LASTACK:20120627T202616Z
DTSTART;TZID=Europe/Lisbon:20120624T150000
DTEND;TZID=Europe/Lisbon:20120624T160000
SEQUENCE:0
TRANSP:OPAQUE
X-MOZ-GENERATION:1
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT1H
DESCRIPTION:Event reminder
X-WR-ALARMUID:E7C680C0-8C4A-488A-877E-BD3DE10DE1C3
END:VALARM
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT15M
DESCRIPTION:Event reminder
X-WR-ALARMUID:CB06EB77-8BB7-48FE-85BB-6925536C9EB8
END:VALARM
END:VEVENT
END:VCALENDAR

The timezone Europe/Lisbon should be ok regarding the PHP documentation.
Maybe the problem is TZNAME?


Thanks
Matthias

--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error message while importing ical file

Randolph Carter
Have you tried searching for "Romance Standard Time" in the file?

On 31.01.2014 11:25, Matthias Fechner wrote:

> Hi Bart,
>
> Am 31.01.14 10:44, schrieb Bart Visscher:
>> Line 27855 is incorrect, take a look at that line and compare it
>> with some
>> others, maybe you can correct that line.
>
> thanks a lot for your answer, but I cannot see really were the
> problem
> should be.
> The entry seems to be (hopefully I extracted the right part of the
> file,
> as the file has nearly 40k lines, I extracted the block from
> BEGIN:VCALENDAR to END:VCALENDAR):
> BEGIN:VCALENDAR
> PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
> VERSION:2.0
> BEGIN:VTIMEZONE
> TZID:Europe/Lisbon
> X-LIC-LOCATION:Europe/Lisbon
> BEGIN:STANDARD
> TZOFFSETFROM:+0100
> TZOFFSETTO:+0000
> TZNAME:WET
> DTSTART:19701025T020000
> RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=10
> END:STANDARD
> BEGIN:DAYLIGHT
> TZOFFSETFROM:+0000
> TZOFFSETTO:+0100
> TZNAME:WEST
> DTSTART:19700329T010000
> RRULE:FREQ=YEARLY;BYDAY=-1SU;BYMONTH=3
> END:DAYLIGHT
> END:VTIMEZONE
> BEGIN:VEVENT
> CREATED:20120623T235536Z
> LAST-MODIFIED:20120627T202616Z
> DTSTAMP:20120627T202616Z
> UID:6119F4A7-B55B-45B9-9F46-1FE34CC9C715
> SUMMARY:Abfahrt zum Flughafen
> X-MOZ-LASTACK:20120627T202616Z
> DTSTART;TZID=Europe/Lisbon:20120624T150000
> DTEND;TZID=Europe/Lisbon:20120624T160000
> SEQUENCE:0
> TRANSP:OPAQUE
> X-MOZ-GENERATION:1
> BEGIN:VALARM
> ACTION:DISPLAY
> TRIGGER;VALUE=DURATION:-PT1H
> DESCRIPTION:Event reminder
> X-WR-ALARMUID:E7C680C0-8C4A-488A-877E-BD3DE10DE1C3
> END:VALARM
> BEGIN:VALARM
> ACTION:DISPLAY
> TRIGGER;VALUE=DURATION:-PT15M
> DESCRIPTION:Event reminder
> X-WR-ALARMUID:CB06EB77-8BB7-48FE-85BB-6925536C9EB8
> END:VALARM
> END:VEVENT
> END:VCALENDAR
>
> The timezone Europe/Lisbon should be ok regarding the PHP
> documentation.
> Maybe the problem is TZNAME?
>
>
> Thanks
> Matthias
>
> --
> "Programming today is a race between software engineers striving to
> build bigger and better idiot-proof programs, and the universe trying
> to
> produce bigger and better idiots. So far, the universe is winning."
> --
> Rich Cook
> _______________________________________________
> Owncloud mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/owncloud

_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error message while importing ical file

Matthias Fechner
Am 31.01.14 11:43, schrieb Randolph Carter:
> Have you tried searching for "Romance Standard Time" in the file?

yes I did, but could not find it.

Thanks
Matthias

--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error message while importing ical file

Matthias Fechner
Am 31.01.14 11:57, schrieb Matthias Fechner:
> Am 31.01.14 11:43, schrieb Randolph Carter:
>> Have you tried searching for "Romance Standard Time" in the file?
>
> yes I did, but could not find it.

I exported the caldav calender now using the apple calender program and
imported the file without any issues into owncloud.

Gruß,
Matthias

--
"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
_______________________________________________
Owncloud mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/owncloud
Reply | Threaded
Open this post in threaded view
|

Re: Error message while importing ical file

cchriste
This post has NOT been accepted by the mailing list yet.
In reply to this post by Matthias Fechner
Hello, I just found a tag not supported. After removing  this tag, my calendar was fully imported.
the tag is all X-LOTUS-blablabla like :

X-LOTUS-BROADCAST:TRUE
X-LOTUS-UPDATE-SEQ:1
X-LOTUS-UPDATE-WISL:$S:1\;$L:1\;$B:1\;$R:1\;$E:1\;$W:1\;$O:1\;$M:1
X-LOTUS-NOTESVERSION:2
X-LOTUS-NOTICETYPE:I
X-LOTUS-APPTTYPE:3
X-LOTUS-CHILD-UID:366C15C9F1DE8E86C1257AFE002A3530

hope that will help.
friendly,
Charles