Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > <basi...@gmx.com> writes: > >> After updating to Org mode version 9.1.6 (9.1.6-48-gfe7619-elpa) I lost >> ability to sync with caldav (which I use for syncing my schedule with >> Nextcloud <-> Android). Before the update everything was perfect. And I >> beleive that everything is ok with org-caldav as there were no updates >> for it this time. I use emacs package system for updating and therefore >> I cannot downgrade the org-mode. And I heavily rely on it in my daily >> routines. So I'm stuck and need some advice. >> >> Debugger entered--Lisp error: (wrong-type-argument stringp ARCHIVE) >> string-match("{.+?}" ARCHIVE) >> org-tags-expand(ARCHIVE t) >> #[257 "\300\301\"\207" [org-tags-expand t] 4 "\n\n(fn TAG)"](ARCHIVE) >> mapcar(#[257 "\300\301\"\207" [org-tags-expand t] 4 "\n\n(fn TAG)"] >> (ARCHIVE)) >> cl-mapcar(#[257 "\300\301\"\207" [org-tags-expand t] 4 "\n\n(fn TAG)"] >> (ARCHIVE)) >> apply(cl-mapcar #[257 "\300\301\"\207" [org-tags-expand t] 4 "\n\n(fn >> TAG)"] (ARCHIVE) nil) >> cl-mapcan(#[257 "\300\301\"\207" [org-tags-expand t] 4 "\n\n(fn TAG)"] >> (ARCHIVE)) > > This is difficult to tell because the backtrace is not complete, and it > is compiled. AFAICT, somewhere, you have a list of tags like '(ARCHIVE) > but it should be '("ARCHIVE"). > > If that doesn't ring a bell, please a complete, un-compiled backtrace > (i.e., using C-u M-x org-reload). > > Regards,
The bell just have rung. I got exactly that in my .emacs: (setq org-caldav-exclude-tags '(ARCHIVE)) after changing it to: (setq org-caldav-exclude-tags '("ARCHIVE")) the syncing works again. I just cannot understand why it was working before. And sorry for bothering you with that backtrace file. The issue is solved. Thank you a lot.