Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Missing Stylesheet #4

Open
brimwats opened this issue Apr 7, 2023 · 3 comments
Open

Bug: Missing Stylesheet #4

brimwats opened this issue Apr 7, 2023 · 3 comments
Labels
bug Something isn't working plugin Related to the Obsidian plugin

Comments

@brimwats
Copy link

brimwats commented Apr 7, 2023

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)

@eth-p eth-p added bug Something isn't working plugin Related to the Obsidian plugin labels Apr 18, 2023
@eth-p
Copy link
Owner

eth-p commented Apr 18, 2023

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?

@rokville
Copy link

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)


@eth-p
Copy link
Owner

eth-p commented Jun 2, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working plugin Related to the Obsidian plugin
Projects
None yet
Development

No branches or pull requests

3 participants