emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [bug] org-caldav-sync broken if entries have tables?


From: Eric S Fraga
Subject: [O] [bug] org-caldav-sync broken if entries have tables?
Date: Wed, 11 Sep 2013 12:17:23 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

Hello,

I have just upgraded both org and org-caldav and now I can no longer
sync to my Google calendar.  I get the following error:

Debugger entered--Lisp error: (args-out-of-range [left left right left] 4)
  org-export-table-cell-alignment((table-cell (:begin 49232 :end 49241 
  org-ascii-table-cell((table-cell (:begin 49232 :end 49241
  org-export-data((table-cell (:begin 49232 :end 49241 
  ...
  org-export-data((org-data nil (section (:begin 1 :end 103 
  org-export-as(icalendar nil nil t (:ascii-charset utf-8 
:icalendar-agenda-view nil))
  ...
  org-icalendar--combine-files(nil "~/s/notes/diary.org" 
"~/s/notes/googlecalendar.org")
  apply(org-icalendar--combine-files nil ("~/s/notes/diary.org" 
"~/s/notes/googlecalendar.org"))
  (if (featurep (quote ox-icalendar)) (apply (quote 
org-icalendar--combine-files) nil orgfiles) (apply (quote org-export-icalendar) 
t orgfiles))
  (let ((icalendar-file (if (featurep (quote ox-icalendar)) (quote 
org-icalendar-combined-agenda-file) (quote 
org-combined-agenda-icalendar-file))) (orgfiles (append org-caldav-files (list 
org-caldav-inbox))) (org-icalendar-store-UID t) 
(org-icalendar-include-bbdb-anniversaries nil) (icalendar-uid-format 
"orgsexp-%h") (org-icalendar-date-time-format (cond ((and 
org-icalendar-timezone (string= org-icalendar-timezone "UTC")) 
":%Y%m%dT%H%M%SZ") (org-icalendar-timezone ";TZID=%Z:%Y%m%dT%H%M%S") (t 
":%Y%m%dT%H%M%S")))) (set icalendar-file (make-temp-file "org-caldav-")) 
(org-caldav-debug-print 1 (format "Generating ICS file %s." (symbol-value 
icalendar-file))) (if (featurep (quote ox-icalendar)) (apply (quote 
org-icalendar--combine-files) nil orgfiles) (apply (quote org-export-icalendar) 
t orgfiles)) (find-file-noselect (symbol-value icalendar-file)))
  org-caldav-generate-ics()
  (setq org-caldav-ics-buffer (org-caldav-generate-ics))
  (if (and org-caldav-event-list (y-or-n-p "Last sync seems to have been 
aborted. Should I try to resume? ")) nil (setq org-caldav-ics-buffer 
(org-caldav-generate-ics)) (setq org-caldav-event-list nil) (setq 
org-caldav-sync-result nil) (org-caldav-load-sync-state) (progn (let 
((--dolist-tail-- org-caldav-event-list) cur) (while --dolist-tail-- (setq cur 
(car --dolist-tail--)) (org-caldav-event-set-status cur nil) (setq 
--dolist-tail-- (cdr --dolist-tail--))))) (org-caldav-update-eventdb-from-org 
org-caldav-ics-buffer) (org-caldav-update-eventdb-from-cal))
  org-caldav-sync()
  call-interactively(org-caldav-sync nil nil)
  command-execute(org-caldav-sync)

  
There is nothing particularly strange about the table found at location
49232 in my diary.

Deleting the table and one other, possibly leaving no tables in my
diary, allows syncing to work again.

thanks,
eric

-- 
: Eric S Fraga (0xFFFCF67D), Emacs 24.3.50.1, Org release_8.1.1-7-gaecdf5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]