daledesilva / obsidian_ink

Other
269 stars 7 forks source link

When Using the ink, I can't open other notes unless reloading obsidian. #5

Closed rabby0101 closed 3 months ago

rabby0101 commented 3 months ago

I am facing this weird bug, when I'm using the ink , after that, if I want to open any existing note, it does nothing. It just opening a new blank tab.

daledesilva commented 3 months ago

Oh, wow. I'll have a look when I get a chance.

Can you try disabling the plug-in and see if it still occurs. If so, try enabling it again but in the plugins settings, disable both handwriting and drawing and see if you can reproduce that way too.

Also, what's your device and obsidian version?

RvBjx commented 3 months ago

I'm having the same issue.

Even with only "Writing" enabled I can't open any files, if I click "open in new tab" the following error is displayed:

Cannot read properties of undefined (reading 'get cache')

RvBjx commented 3 months ago

If I disable the plugin (without restarting Obsidian or reloading anything else) the error persists. If I disable the plugin (with restarting Obsidian ) the error goes away. If I disable the writing and drawing functions (also separate, all 4 ways) and reload Obsidian (without deactivating the plugin in the community plugins tab), the error will go away.

Device: Asus ROG Flow X16 GV601RM (Nvidia RTX 3060) (AMD Ryzen 7 6800HS) Obsidian version: 1.5.11 (installer version: 1.4.16)

Edit # 2: Operating System: Windows (Edition Windows 11 Home, Version 23H2)

Edit # 3: The error starts with creating a writing / drawing section with both ctrl+p and slash commander.

oyes77 commented 3 months ago

Came here to report the same issue on mobile.

daledesilva commented 3 months ago

Thanks for reporting everyone. Sorry it's so broken for you.can I ask you all what device types, operating systems, and obsidian versions your on?

rabby0101 commented 3 months ago
daledesilva commented 3 months ago

If y'all don't mind. Could you write out or screenshot your plugin list? It might be conflicting with another plugin somehow.

rabby0101 commented 3 months ago

Screenshot 2024-04-02 161500 Here is a list of plugins I have right now..

rabby0101 commented 3 months ago

Screenshot 2024-04-02 161500 Here is a list of plugins I have right now..

Nah, you are right probably. there could be one or some conflicting plugins that causing the issue. Right now I have this plugins and the problem has gone. but when I was facing the issue, there were a lot of plugins installed. I can't point out which one was the culprit.

RvBjx commented 3 months ago

Here's a screen shot. As rabby0101 said, the error must be connected to one of these plug ins.

Screenshot 2024-04-02 195339
RvBjx commented 3 months ago

It seems to be connected to a plugin called "DB Folder" which I use to display my notes in database form. Without that plugin the error goes away after reloading obsidian.

fredjoe7 commented 3 months ago

i dont have the DB folder plugin, still i got the same problem

here is the list of my plugins enabled

image

fredjoe7 commented 3 months ago

i looked into the console while pressing control + N to create new tab which was failing in when i use ink embed..

for me its the hover editor plugin , image

after disabling the hover editor plugin, pressing control + N seems to work normally while having ink handwritten embeds

daledesilva commented 3 months ago

I've been able to reproduce this with DB Folder. Looking into the solution now

daledesilva commented 3 months ago

I believe this should be fixed now. Please update and let me know if there are further issues.

Turns out it was an issue internal to the tldraw framework. Updating the framework seems to have fixed it.

Updating: Brat supposedly updates plugins on startup, so try starting Obsidian, give it a minute to update, then close and restart obsidian again. Check that Ink is now 1.15 or higher.

If it hasn't updated that way, you may have to uninstall it through BRAT and the normal plugin area and then install it with BRAT again.

daledesilva commented 3 months ago

Closing this... let me know if the issue is still persisting.