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] Plugin fails sometimes #20

Open
FeralFlora opened this issue May 19, 2023 · 0 comments
Open

[BUG] Plugin fails sometimes #20

FeralFlora opened this issue May 19, 2023 · 0 comments

Comments

@FeralFlora
Copy link

FeralFlora commented May 19, 2023

See these console errors:

TypeError: Cannot read properties of undefined (reading 'dataset') app.js:1 
    at setCount (folder-count.ts:85:18)
    at eval (folder-count.ts:78:14)
    at iterateItems (misc.ts:23:9)
    at setupCount (folder-count.ts:75:5)
    at eval (fec-main.ts:79:13)
    at tryGetView (fec-main.ts:71:21)
    at doWithFileExplorer (fec-main.ts:74:13)
    at FileExplorerNoteCount.initialize (fec-main.ts:117:9)
    at t.<anonymous> (app.js:1:1877575)
    at app.js:1:235927

And:

Plugin failure: file-explorer-note-count TypeError: Cannot read properties of undefined (reading 'dataset') app.js:1 
    at removeCount (folder-count.ts:94:22)
    at eval (folder-count.ts:77:21)
    at iterateItems (misc.ts:23:9)
    at setupCount (folder-count.ts:75:5)
    at eval (fec-main.ts:79:13)
    at tryGetView (fec-main.ts:71:21)
    at doWithFileExplorer (fec-main.ts:74:13)
    at FileExplorerNoteCount.initialize (fec-main.ts:117:9)
    at FileExplorerNoteCount.onunload (fec-main.ts:129:14)
    at e.unload (app.js:1:733229)

My debug info:

SYSTEM INFO:
	Obsidian version: v1.2.8
	Installer version: v1.2.8
	Operating system: Windows 10 Home 10.0.19045
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 11
	Restricted mode: off
	Plugins installed: 103
	Plugins enabled: 90

I am using version 1.2.1 of File Explorer Note Count.
After reinstalling, I got it working again for now.

@FeralFlora FeralFlora changed the title [BUG] Plugin stopped working again. [BUG] Plugin fails sometimes May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant