* Cannot sync with caldav anymore
@ 2018-02-16 11:10 basilio
2018-02-16 13:07 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: basilio @ 2018-02-16 11:10 UTC (permalink / raw)
To: emacs-orgmode
Hi to all!
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.
Thanks ahead.
PS Org-caldav version is 20170615.724
PPS I'm not proficient at Lisp unfortunately, but the error is following:
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))
*** some very, very long lines ***
org-caldav-sync-calendar()
org-caldav-sync()
funcall-interactively(org-caldav-sync)
call-interactively(org-caldav-sync record nil)
command-execute(org-caldav-sync record)
execute-extended-command(nil "org-caldav-sync" "org-caldav-sy")
funcall-interactively(execute-extended-command nil "org-caldav-sync" "org-caldav-sy")
call-interactively(execute-extended-command nil nil)
command-execute(execute-extended-command)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cannot sync with caldav anymore
2018-02-16 11:10 Cannot sync with caldav anymore basilio
@ 2018-02-16 13:07 ` Nicolas Goaziou
2018-02-16 14:43 ` Melleus
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2018-02-16 13:07 UTC (permalink / raw)
To: basilio; +Cc: emacs-orgmode
Hello,
<basilio@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,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cannot sync with caldav anymore
2018-02-16 13:07 ` Nicolas Goaziou
@ 2018-02-16 14:43 ` Melleus
0 siblings, 0 replies; 3+ messages in thread
From: Melleus @ 2018-02-16 14:43 UTC (permalink / raw)
To: emacs-orgmode
Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
> Hello,
>
> <basilio@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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-02-16 14:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-02-16 11:10 Cannot sync with caldav anymore basilio
2018-02-16 13:07 ` Nicolas Goaziou
2018-02-16 14:43 ` Melleus
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.