kidd / org-gcal.el

Org sync with Google Calendar. (active maintained project as of 2019-11-06)
432 stars 47 forks source link

"deferred error" and also dangling org-gcal drawer #220

Open wrn opened 1 year ago

wrn commented 1 year ago

I sometimes (and today) saw this error in the Message buffer:

deferred error : (search-failed "\\(?:^[    ]*$\\)*\\([^z-a]*?\\)
?[  ]*:END:")
deferred error : (search-failed "\\(?:^[    ]*$\\)*\\([^z-a]*?\\)
?[  ]*:END:")
org-gcal-sync-buffer: error: (search-failed \(?:^[  ]*$\)*\([^z-a]*?\)
?[  ]*:END:)

And I will also see dangling empty :org-gcal: drawer without the ":END:", like this:

:org-gcal:

I do not know for sure if these two are linked, and I do not know exactly how to reproduce it. Using version [3cc48a9]

telotortium commented 1 year ago
  1. What command are you running?
  2. What does this file look like around the dangling :org-gcal: drawers before you run the commands? (Feel free to redact any sensitive details.)
wrn commented 1 year ago

I was running "org-gcal-fetch". Now I can see that the "deferred error" happens even when dangling :org-gcal: does not happen.

I need to wait for the next time when this dangling :org-gcal: happens to get the context of the file. It does not happen often, but I believe I have seen it twice.

ruanxiang commented 5 months ago

Just wonder if this bug has been fixed. I met this deferred error couple days ago, until that I was able to use org-gcal without any problems. I don't know what happened, but now my org-gcal suddenly has broken, with "deferred error: (search-failed ..... " error.when org-gcal-sync.

Any progress or advice on this error?

Thank you in advance.