joplin-plugin-knowledge-graph icon indicating copy to clipboard operation
joplin-plugin-knowledge-graph copied to clipboard

Version 1.1.0 does not display any nodes

Open NathanAuckett opened this issue 3 years ago • 17 comments

After updating today to version 1.1.0 I'm unable to see any nodes.

When first starting Joplin only the graph controls show, no nodes. After hiding then re-showing the graph, the controls do not show anymore either.

image

Restarting Joplin entirely allows me to see the graph controls again but at no stage can i see nodes anymore.

NathanAuckett avatar Jan 19 '22 00:01 NathanAuckett

Thanks for reporting @NathanAuckett. Any error logs in the console when turning on Tools > Toggle development tools?

agerardin avatar Jan 19 '22 14:01 agerardin

Me too, didn't show anything

LintaoAmons avatar Jan 21 '22 14:01 LintaoAmons

Also, the tag filter didn't pop up hints of possible tags

LintaoAmons avatar Jan 21 '22 14:01 LintaoAmons

Should be the issue about version 1.1.0, I pulled your repo to local and checkout to 1.0.7, then build the plugin file.

Use that plugin archive file can successfully render the graph

LintaoAmons avatar Jan 21 '22 14:01 LintaoAmons

Sorry for the delayed. I turned on development tools and watched the console with this plugin enabled but unfortunately I see no related errors.

Here's the log export in case there's something useful in there though: -1642796443212.log

NathanAuckett avatar Jan 21 '22 20:01 NathanAuckett

I got no error from the development tools. But the diagram didn't show up.

image

LintaoAmons avatar Jan 22 '22 14:01 LintaoAmons

Apologies for the delayed response @LintaoAmons @NathanAuckett, I have been away for a few days. This is not something I manage to reproduce. The only similar problem that has been reported so far is this one. Removing and reinstalling the plugin fixed it, but there was at least an error message in the console. I don't see anything off with the logs @NathanAuckett , it seems the plugin has started normally. Maybe it would worth looking at the plugin options and settings things back to default? Maybe the graph is out of bounds? Have you tried to zoom out?

I should publish a new release this week that provides better controls and defaults for the graph visualization so this could help. Otherwise we will have to figure out what may have gone wrong with your specific configuration.

agerardin avatar Jan 24 '22 14:01 agerardin

I tried uninstalling and reinstalling the plugin but the results are the same for me.

  • No nodes to be seen, even after zooming out.
  • After hiding and re-showing the graph, the controls are also no where to be seen.

I'll need to try this on an alternate computer to see if its just my laptop that's having a problem for some reason. Once I do I'll report back.

NathanAuckett avatar Jan 27 '22 20:01 NathanAuckett

Hi @agerardin, I have the same issue on 2 different computers (Win 10 with Joplin in the normal mode and Win 11 with Joplin in the portable mode). No error on the dev console... But nothing is displayed, I have a beautiful dark block! I have tried to reinstall your plugin and to deactivate all other plugins, but it nothing change the situation. Graph v.1.0.7 was worked fine. Otherwise, you plugin is fantastic and very usefull for me! A great job!

christophelebot avatar Jan 28 '22 09:01 christophelebot

Same as @christophelebot here : Joplin (v2.6.10) is on two Windows 10 computers, I have installed Graph 1.1.0 and have nothing except a big black screen where Graph is supposed to be.

It was working previously, but not anymore now. Maybe something went wrong after updating Graph, but I can't be sure of this.

Cmely avatar Feb 18 '22 21:02 Cmely

I tried loading the plugin as a development plugin but I see nothing in the developer console. I tried opening a fresh dev profile and import all my existing notes, the graphs shows correctly in that case, so it's not about the number of the notes or the notes content.

I tried reinstall the plugin and disable all other plugins in my "production" profile, but nothign fixes it.

shinglyu avatar Feb 21 '22 16:02 shinglyu

I don't know if this can be of any help, but I've tried the other graph plugin (Link Graph UI) and I got the exact same result : no graph display at all.

Cmely avatar Feb 22 '22 09:02 Cmely

Hi, I'd really like to explore this plugin but I'm seeing the same blank page as everybody else when installing from the Joplin plugin manager (which installs version 1.1.0). Is there any way to install v1.0.7 using the Joplin plugin manager?

ben-kenney avatar Apr 17 '22 23:04 ben-kenney

You can checkout his repo's commit, and build it from here On Apr 18, 2022, 7:12 AM +0800, ben-kenney @.***>, wrote:

Hi, I'd really like to explore this plugin but I'm seeing the same blank page as everybody else when installing from the Joplin plugin manager (which installs version 1.1.0). Is there any way to install v1.0.7 using the Joplin plugin manager? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: @.***>

LintaoAmons avatar Apr 18 '22 02:04 LintaoAmons

I found a pre-built version of 1.0.7 on the Joplin git repo. For anybody who doesn't want to go through the hassle of building the plugin, you can just go back in time in the repo. download the .jpl file and install the plugin from file. This version works for me and it's very neat to see all the nodes linked by tag!

I decided to go this route after trying to build the plugin myself and getting the following error:

$ npm run dist [email protected] dist /root/Downloads/tmp/joplin-plugin-knowledge-graph webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive [webpack-cli] Error: Unknown option '--joplin-plugin-config' [webpack-cli] Run 'webpack --help' to see available commands and options npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] dist: webpack --joplin-plugin-config buildMain && webpack --joplin-plugin-config buildExtraScripts && webpack --joplin-plugin-config createArchive npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] dist script.

...my first time trying to build a plugin.

ben-kenney avatar Apr 18 '22 19:04 ben-kenney

I also have a blank black box instead of displaying nodes in the latest version installed through Joplin, but manually installing the 1.0.7 version linked by @ben-kenney (https://github.com/joplin/plugins/tree/2d565df5604fca97ddb9f577029dd3fc96d55cd5/plugins/joplin-plugin-knowledge-graph) worked for me.

mshuflin avatar Nov 03 '22 00:11 mshuflin

Hello, I have same issue. No node are displayed in version 1.1.0. I am using Joplin on Windows 10 and Manjaro. This plugin works on Windows 10 and does not work on Manjaro. I do not see any error in dev tools.


Just tested: Plugin works in Joplin v.2.8.8, do not work in version 2.9.17

tilldeathcoder avatar Feb 28 '23 13:02 tilldeathcoder