SeptemberHX / joplin-plugin-bundle

Gather several plugins together into one panel with more elegant UI design!
58 stars 8 forks source link

Bugs: Related Notes not work on Linux & Windows #14

Open SeptemberHX opened 2 years ago

SeptemberHX commented 2 years ago

Bugs: Related Notes not work on Linux. And windows is also reported.

bepolymathe commented 2 years ago

Hi @SeptemberHX

I just tried the new version but I still have the same behavior.

plugin_com.septemberhx.pluginBundle.js:315          GET https://api.zotero.org/users/454202/items/MSEHZ3VC/children?format=json 400 (Bad Request)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
r @ plugin_com.septemberhx.pluginBundle.js:315
o @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
t @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
r @ plugin_com.septemberhx.pluginBundle.js:315
o @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
t @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
L @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
getAnnotation @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
n @ plugin_com.septemberhx.pluginBundle.js:3
getAnnotation @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
setTimeout (async)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
c @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
setTimeout (async)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
c @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_index.js:92
emit @ node:events:390
onMessage @ node:electron/js2c/renderer_init:69
plugin_com.septemberhx.pluginBundle.js:315 Uncaught (in promise) Error: 400: Bad Request
    at plugin_com.septemberhx.pluginBundle.js:315:378196
    at Generator.next (<anonymous>)
    at r (plugin_com.septemberhx.pluginBundle.js:315:388092)
    at o (plugin_com.septemberhx.pluginBundle.js:315:388291)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
r @ plugin_com.septemberhx.pluginBundle.js:315
o @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
setTimeout (async)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
c @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
s @ plugin_com.septemberhx.pluginBundle.js:315
Promise.then (async)
d @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
setTimeout (async)
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:3
c @ plugin_com.septemberhx.pluginBundle.js:3
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
n @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_com.septemberhx.pluginBundle.js:315
(anonymous) @ plugin_index.js:92
emit @ node:events:390
onMessage @ node:electron/js2c/renderer_init:69

image

SeptemberHX commented 2 years ago

com.septemberhx.pluginBundle.jpl.zip

Please try again with the new version to check whether these error messages show again. They should disappear now.

However, only the last error of parent_id is related to the Related Note. Hope it can fix the problem.

bepolymathe commented 2 years ago

Sorrry but same bahavior with this version without logs...

Capture vidéo du 05-10-2022 06:34:13.webm

SeptemberHX commented 2 years ago

Strange... I will test it again on Windows11 and Ubuntu

bepolymathe commented 2 years ago

Did you find a way to reproduce this bahaviour ? Have the problem with windows too 🤔

SeptemberHX commented 2 years ago

Sadly, no. I tested it on both Window11 22H2 and Ubuntu 22.04, and they all worked fine.

Maybe it is related to the content of notes? Can you test it with a new installed joplin without user notes?

bepolymathe commented 2 years ago

Yes you are right. I tried to start with an empty new "Test" profile and everything seems to be working normally.

image

However i have errors

image

Are there characters that could cause problems in the titles ? I sometimes have emojis in the note or notebook titles for example...

bepolymathe commented 2 years ago

I spoke too quickly. The problem comes up even with these two notes alone.

image

In the warnings i have this

image

image

Perhaps a compatibility problem with another plugin ?

SeptemberHX commented 2 years ago

I will check the red error message first. It is more likely the reason that causes this bug.

SeptemberHX commented 2 years ago

com.septemberhx.pluginBundle.jpl.zip

This should fix the 'parent_id' error. However, it seems does not affect the function even with this error.

What other plugins do you install? I still cannot reproduce this problem

bepolymathe commented 2 years ago

Indeed I no longer have this error.

The other plugins installed (a lot)

Capture vidéo du 14-10-2022 20:16:44.webm

Besides, I have already tried to deactivate quite a few to see but without success.... I have to do it more methodically.

bepolymathe commented 2 years ago

Capture vidéo du 14-10-2022 20:23:22.webm

bepolymathe commented 2 years ago

What do you think about this comment about Quirks Mode ?

image

SeptemberHX commented 2 years ago

I also have the Quirks Mode message, but it works fine.

It is really lots of plugins you have installed... It would be nice if you can disable all other plugins to test whether where is a conflict between this and other plugins.

Or, create a new windows user and switch to the new user. You should get a clean new Joplin without plugins. And you can safely delete the new created user after testing.

bepolymathe commented 2 years ago

I tried to deactivate and then uninstall all the plugins but that doesn't change anything. This thing is hell. Not a clue to where it can come from... 🤔

bepolymathe commented 2 years ago

New message (windows)

image

SeptemberHX commented 2 years ago

This should be caused by the Papers plugin when it fails to parse the date from your zotero item. I will fix it soon.

SeptemberHX commented 2 years ago

Have you tried to disable other sub-plugins and only enable Related Notes? It is possible that other sub-plugins break the initialization of Related Notes

bepolymathe commented 2 years ago

Yes

I tried to deactivate and then uninstall all the plugins but that doesn't change anything. This thing is hell. Not a clue to where it can come from... 🤔

SeptemberHX commented 2 years ago

I mean disable other features provided by joplin-plugin-bundle: Outline, Inline Todo, Papers, etc.

bepolymathe commented 2 years ago

Okay, sorry, I read too quickly. Indeed, it is "papers" that is the problem. It works if it deactivates it.

This is the situation under windows. I need to try on linux tonight.

bepolymathe commented 2 years ago

I need to try on linux tonight.

The problem persist on linux...

image

bepolymathe commented 2 years ago

A screenshot with the new version using papers (linux)

image