obsidian-callout-manager icon indicating copy to clipboard operation
obsidian-callout-manager copied to clipboard

Bug: Missing Stylesheet

Open brimwats opened this issue 2 years ago • 3 comments

This plugin takes a long time to load. Did some digging and it's because of this I think

plugin:callout-manager:1620 Unable to fetch Obsidian stylesheet. Error: [obsidian-extra]: Obsidian 1.2.2 has not been tested with this function
    at eval (plugin:callout-manager:154:13)
    at Generator.next (<anonymous>)
    at eval (plugin:callout-manager:147:67)
    at new Promise (<anonymous>)
    at __awaiter (plugin:callout-manager:129:10)
    at fetchObsidianStyles (plugin:callout-manager:152:10)
    at StylesheetWatcher.checkForChangesObsidian (plugin:callout-manager:1612:35)
    at StylesheetWatcher.checkForChanges (plugin:callout-manager:1594:28)
    at StylesheetWatcher.watch (plugin:callout-manager:1531:10)
    at eval (plugin:callout-manager:2983:37)

brimwats avatar Apr 07 '23 14:04 brimwats

That message is shown when using newer Obsidian versions than I tested, since I use some undocumented functions that might break between Obsidian releases. I haven't had the chance to finish my upcoming changes, but that message will be permanently fixed with the next plugin release :)

In either case, though, it shouldn't affect startup time. What OS are you running Obsidian on?

eth-p avatar Apr 18 '23 05:04 eth-p

I haven't opened the dev console in a while, but, as an fyi, this is still an issue. I'm running MacOS 14.2.1 (Sonoma)

plugin:callout-manager:1620 Unable to fetch Obsidian stylesheet. Error: [obsidian-extra]: Obsidian 1.5.3 has not been tested with this function
    at eval (plugin:callout-manager:154:13)
    at Generator.next (<anonymous>)
    at eval (plugin:callout-manager:147:67)
    at new Promise (<anonymous>)
    at __awaiter (plugin:callout-manager:129:10)
    at fetchObsidianStyles (plugin:callout-manager:152:10)
    at StylesheetWatcher.checkForChangesObsidian (plugin:callout-manager:1612:35)
    at StylesheetWatcher.checkForChanges (plugin:callout-manager:1594:28)
    at StylesheetWatcher.watch (plugin:callout-manager:1531:10)
    at eval (plugin:callout-manager:2983:37)


rokville avatar Jan 24 '24 16:01 rokville

As of version 1.1.0, this should no longer happen :)

eth-p avatar Jun 02 '24 02:06 eth-p