zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
27.2k stars 1.9k forks source link

(Bug report) 0.62 Keeps sending me error messages #4401

Closed Joackk closed 11 months ago

Joackk commented 11 months ago

Trilium Version

0.62

What operating system are you using?

Windows

What is your setup?

Local (no sync)

Operating System Version

wind10

Description

It was nice to see the new beta release, but when I opened the notes while using it he kept prompting me with an error message I did not open the server at this time, is it because I did not open the server? Did he make any difference? d94a4a1f36fa7300023e9e1ff8c1aec8 You're passing an async function to api.runOnBackend() which will likely not work as you intended. Either make the function synchronous (by removing 'async' keyword), or use api.runAsyncOnBackendWithManualTransactionHandling()

Error logs

No response

Joackk commented 11 months ago

Oh, I confirmed the problem. One of my plugins uses this function

zerebos commented 11 months ago

Do you know which plugin does this? You may want to inform the creator that they are using runOnBackend incorrectly.

Joackk commented 11 months ago

Do you know which plugin does this? You may want to inform the creator that they are using runOnBackend incorrectly.

https://github.com/SiriusXT/trilium-back-to-history

zerebos commented 11 months ago

Looks like they have already fixed it https://github.com/SiriusXT/trilium-back-to-history/commit/a6a1be744089ad1f5e77ef8b46cfa12f96d1c28d

Joackk commented 11 months ago

Looks like they have already fixed it SiriusXT/trilium-back-to-history@a6a1be7

Yes, the author and I seem to be in the same communication group, and in the morning he also encountered this problem