[Obm] Import d'un ics provenant de lightning

balecan balecan at gmail.com
Fri May 7 16:16:02 CEST 2010


Merci

Cordialement,
Gilles

Le 7 mai 2010 14:29, RANDE Mehdi <mehdi.rande at aliasource.fr> a écrit :

> balecan a écrit :
> > Bonjour,
> > Je suis en OBM 2.3.6 sur Debian lenny et lorsque j'essaye d'importer un
> agenda exporté en ics de thunderbird 2.0.0.24/lightning0.9 dans l'agenda
> d'OBM je me prends des erreurs SQL cf dessous.
> > Au départ j'ai voulu tester avec mon agenda pro qui contient des
> centaines d'entrées mais même avec un seul évènement j'ai le problème.
> > Est-ce l'import qui bug?
>
>
> Bonjour,
> En effet c'est l'import qui bug, j'ai rajouté un bug qui sera normalement
> corrigé dans la prochaine version :
>
>
> https://www.obm.org/bugzilla/show_bug.cgi?id=1310
>
> > Merci par avance,
> > A+
> > Gilles
> > l'ics :
> > BEGIN:VCALENDAR
> > PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
> > VERSION:2.0
> > BEGIN:VTIMEZONE
> > TZID:Europe/Paris
> > X-LIC-LOCATION:Europe/Paris
> > BEGIN:DAYLIGHT
> > TZOFFSETFROM:+0100
> > TZOFFSETTO:+0200
> > TZNAME:CEST
> > DTSTART:19700329T020000
> > RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=3
> > END:DAYLIGHT
> > BEGIN:STANDARD
> > TZOFFSETFROM:+0200
> > TZOFFSETTO:+0100
> > TZNAME:CET
> > DTSTART:19701025T030000
> > RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=-1SU;BYMONTH=10
> > END:STANDARD
> > END:VTIMEZONE
> > BEGIN:VEVENT
> > CREATED:20100426T134038Z
> > LAST-MODIFIED:20100507T113606Z
> > DTSTAMP:20100505T055001Z
> > UID:e1155940-bdee-462a-a701-9c11e333385f
> > SUMMARY:AG1
> > DTSTART;TZID=Europe/Paris:20100504T123000
> > DTEND;TZID=Europe/Paris:20100504T133000
> > X-MOZ-LASTACK:20100504T130214Z
> > X-MOZ-GENERATION:4
> > END:VEVENT
> > END:VCALENDAR
> > Les erreurs SQL en retour :
> > Warning:  pg_query() [function.pg-query]: Query failed: ERREUR:  valeur
> en entrée invalide pour le enum vopacity : «  » in
> /usr/share/obm/www/obminclude/phplib/db_pgsql.inc on line 96
> > Database error: Invalid SQL: INSERT INTO Event (
> > event_ext_id,
> > event_timeupdate,
> > event_timecreate,
> > event_usercreate,
> > event_type,
> > event_origin,
> > event_owner,
> > event_timezone,
> > event_opacity,
> > event_title,
> > event_date,
> > event_description,
> > event_properties,
> > event_location,
> > event_category1_id,
> > event_priority,
> > event_privacy,
> > event_duration,
> > event_repeatkind,
> > event_repeatfrequence,
> > event_repeatdays,
> > event_allday,
> > event_tag_id,
> > event_allow_documents,
> > event_endrepeat,
> > event_domain_id)
> > VALUES (
> > 'e1155940-bdee-462a-a701-9c11e333385f',
> > NOW(),
> > NOW(),
> > '28',
> > 'VEVENT',
> > 'obm-ui-web-2.3.6',
> > '28',
> > 'Europe/Paris',
> > '',
> > 'AG1',
> > '2010-05-04 10:30:00',
> > '',
> > '',
> > '',
> > NULL,
> > 3,
> > 0,
> > '3600',
> > 'none',
> > '1',
> > '0000000',
> > FALSE,
> > NULL,
> > '0',
> > NULL,
> > 2)
> > PostgreSQL Error: 1 (ERREUR:  valeur en entrée invalide pour le enum
> vopacity : «  »)
> > Warning:  pg_query() [function.pg-query]: Query failed: ERREUR:  la
> dernière valeur (lastval) n'est pas encore définie dans cette session in
> /usr/share/obm/www/obminclude/phplib/db_pgsql.inc on line 96
> > Database error: Invalid SQL: SELECT LASTVAL() as id
> > PostgreSQL Error: 1 (ERREUR:  la dernière valeur (lastval) n'est pas
> encore définie dans cette session)
> > Warning:  pg_query() [function.pg-query]: Query failed: ERREUR:  erreur
> de syntaxe sur ou près de « ) »
> > LINE 3:     VALUES (3407, )
> > ^ in /usr/share/obm/www/obminclude/phplib/db_pgsql.inc on line 96
> > Database error: Invalid SQL: INSERT INTO EventEntity
> > (evententity_entity_id, evententity_event_id )
> > VALUES (3407, )
> > PostgreSQL Error: 1 (ERREUR:  erreur de syntaxe sur ou près de « ) »
> > LINE 3:     VALUES (3407, )
> > ^)
> > Warning:  pg_query() [function.pg-query]: Query failed: ERREUR:  erreur
> de syntaxe sur ou près de « , »
> > LINE 11:     ,
> > ^ in /usr/share/obm/www/obminclude/phplib/db_pgsql.inc on line 96
> > Database error: Invalid SQL: INSERT INTO EventLink (
> > eventlink_timecreate,
> > eventlink_usercreate,
> > eventlink_event_id,
> > eventlink_entity_id,
> > eventlink_required,
> > eventlink_state)
> > VALUES (
> > NOW(),
> > 28,
> > ,
> > (SELECT userentity_entity_id FROM UserEntity WHERE userentity_user_id  =
> 28),
> > 'REQ',
> > 'ACCEPTED')
> > PostgreSQL Error: 1 (ERREUR:  erreur de syntaxe sur ou près de « , »
> > LINE 11:     ,
> > ^)
>



-- 
---------------------
http://del.icio.us/trossevin
---------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.obm.org/pipermail/obm/attachments/20100507/fe21cde8/attachment-0001.htm 


More information about the Obm mailing list