obsidian-time-ruler icon indicating copy to clipboard operation
obsidian-time-ruler copied to clipboard

Cannot add calendar: Time Ruler: Error creating calendar – Cannot add property 0, object is not extensible

Open jnnkB opened this issue 1 year ago • 2 comments

Describe the bug Adding an iCal calendar does not work.

To Reproduce Steps to reproduce the behavior:

  1. Go to settings and add a link towards an iCal calendar
  2. You get the message "Time Ruler: Error creating calendar – Cannot add property 0, object is not extensible"

As a first attempt of narrowing down the issue, I created an own ICS file that I uploaded to my server. Unfortunately, the error remains when using that file. You can download it here: demo.txt.

Expected behavior The calendar should be added.

Obsidian Version: Tested on desktop version only.

If there is any further information, I am happy to provide that.

jnnkB avatar Apr 05 '24 16:04 jnnkB

Thanks I'll take a look! Probably a readonly object that needs to be copied.

j-palindrome avatar Apr 06 '24 04:04 j-palindrome

Getting the same issue when I get my Google Calendar shareable ICS format link:

image image

eden-chan avatar Apr 28 '24 13:04 eden-chan

As far as I know this is fixed.

j-palindrome avatar Jun 02 '24 03:06 j-palindrome

I'm getting the same exact error. Edit: After uninstalling Time Ruler, completely closing Obsidian, and reinstalling, it now lets me add it. Go figure.

jenpritchard avatar Jun 15 '24 04:06 jenpritchard

Huh...yeah this seems like one of those obscure low-level incompatibility bugs. Glad it's fixed!

j-palindrome avatar Jun 23 '24 16:06 j-palindrome