all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug] org-caldav-sync broken if entries have tables?
@ 2013-09-11 11:17 Eric S Fraga
  2013-09-11 13:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Eric S Fraga @ 2013-09-11 11:17 UTC (permalink / raw)
  To: emacs-orgmode

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 orgf
 iles)) (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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-09-11 16:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-11 11:17 [bug] org-caldav-sync broken if entries have tables? Eric S Fraga
2013-09-11 13:09 ` Nicolas Goaziou
2013-09-11 15:23   ` Eric S Fraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.