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

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

Open
SeptemberHX opened this issue Oct 4, 2022 · 23 comments
Open

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

SeptemberHX opened this issue Oct 4, 2022 · 23 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@SeptemberHX
Copy link
Owner

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

@bepolymathe
Copy link

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
Copy link
Owner Author

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
Copy link

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

Capture.video.du.05-10-2022.06.34.13.webm

@SeptemberHX
Copy link
Owner Author

SeptemberHX commented Oct 5, 2022

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

@SeptemberHX SeptemberHX added bug Something isn't working help wanted Extra attention is needed labels Oct 12, 2022
@bepolymathe
Copy link

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

@SeptemberHX
Copy link
Owner Author

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?

@SeptemberHX SeptemberHX changed the title Bugs: Related Notes not work on Linux Bugs: Related Notes not work on Linux & Windows Oct 13, 2022
@bepolymathe
Copy link

bepolymathe commented Oct 13, 2022

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
Copy link

bepolymathe commented Oct 13, 2022

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
Copy link
Owner Author

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

@SeptemberHX
Copy link
Owner Author

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
Copy link

Indeed I no longer have this error.

The other plugins installed (a lot)

Capture.video.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
Copy link

Capture.video.du.14-10-2022.20.23.22.webm

@bepolymathe
Copy link

What do you think about this comment about Quirks Mode ?

image

@SeptemberHX
Copy link
Owner Author

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
Copy link

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
Copy link

bepolymathe commented Oct 17, 2022

New message (windows)

image

@SeptemberHX
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link

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
Copy link
Owner Author

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

@bepolymathe
Copy link

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
Copy link

I need to try on linux tonight.

The problem persist on linux...

image

@bepolymathe
Copy link

bepolymathe commented Oct 28, 2022

A screenshot with the new version using papers (linux)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants