kidd / org-gcal.el

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

After first fetch and restart, fetch returns now errror #190

Open ouboub opened 2 years ago

ouboub commented 2 years ago

Hi

So finally I could succesfully fetch data from my main gcalc calendar. After an emacs restart I tried to fetch again, but obtain an error I attach but don't understand regards bug-gcalc.txt

telotortium commented 2 years ago

I don't actually have org-gcal-auto-archive set to t in my config, so I'm not surprised if it's broken.

Do you have a test case? Try running (progn (trace-function #'org-gcal--archive-old-event) (trace-function #'re-search-forward)) and then rerunning the fetch. That will help narrow down at which headline in the buffer org-gcal--archive-old-event fails.