emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Melleus <melleus@openmailbox.org>
To: emacs-orgmode@gnu.org
Subject: Re: Cannot sync with caldav anymore
Date: Fri, 16 Feb 2018 16:43:52 +0200	[thread overview]
Message-ID: <87d115kn9z.fsf@openmailbox.org> (raw)
In-Reply-To: 873721hyll.fsf@nicolasgoaziou.fr

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.

      reply	other threads:[~2018-02-16 14:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-16 11:10 Cannot sync with caldav anymore basilio
2018-02-16 13:07 ` Nicolas Goaziou
2018-02-16 14:43   ` Melleus [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87d115kn9z.fsf@openmailbox.org \
    --to=melleus@openmailbox.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).