file-explorer-note-count icon indicating copy to clipboard operation
file-explorer-note-count copied to clipboard

[BUG] Plugin fails sometimes

Open FeralFlora opened this issue 2 years ago • 0 comments

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 avatar May 19 '23 21:05 FeralFlora