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

Not working #2

Closed
blumenschwein opened this issue Nov 18, 2022 · 20 comments
Closed

Not working #2

blumenschwein opened this issue Nov 18, 2022 · 20 comments
Labels
bug Something isn't working

Comments

@blumenschwein
Copy link

I installed this plugin and excalidraw itself. Excalidraw is running correctly in the browser, but this Joplin plugin is not working. When I use excalidraw and reload the note, I still only see the text but cannot edit anything. The Joplin GUI did not change, either.

I am using Joplin 2.9.11.

@blumenschwein
Copy link
Author

blumenschwein commented Nov 18, 2022

I figured out: only in 2.8.8 (the latest release version) it is possible to install this plugin. But afterwards, when I removed 2.8.8 and installed 2.9.17, the plugin is still there and works well.

But this works only for the Windows version. In Ubuntu, the plugin is lost again after Ubuntu has been rebooted.

I wonder if there is some incompatibility during installation?

@Shahin-rmz
Copy link

same issue here.

@jorgomezga
Copy link

Same here, not working in Pop-os with Joplin 2.9.17

@dhdevdk
Copy link

dhdevdk commented Jan 2, 2023

Same here, not working with ubuntu 20.04 and joplin 2.9.17

@joshuacook-tamu
Copy link

Also not working on MacOS 12.6.2 and Joplin 2.9.17. I don't have the option to enable the Excalidraw interface. It no longer appears in the UI like it did before I upgraded from plugin version 1.0.0

@artikell artikell pinned this issue Jan 19, 2023
@stevemagruder
Copy link

Just tried this out today. Not working for me on Windows 10/11 and Joplin 2.10.4. The excalidraw UI isn't launched when re-opening the note with excalidraw in it.

@hjstrauss
Copy link

Same here unfortunately, does not work on Windows with Joplin 2.10.4

@alondmnt
Copy link

possible solution:

  1. open Help-->Toggle development tools.
  2. look in the log for an error similar to the following one:
joplin.plugins: Uncaught exception in plugin "com.joplin.excalidraw": Error: ENOENT: no such file or directory, stat '/var/folders/z8/6_9tvj2d6931fmn5q64r1xjm0000gn/T/joplin-excalidraw-plugin/'
  1. create the missing directory.
  2. restart Joplin.

@joshuacook-tamu
Copy link

joshuacook-tamu commented Feb 20, 2023

I can confirm that this worked for me. I can now see the excalidraw UI again! I could not see the error until I disabled the plugin, restarted Joplin, enabled the plugin, restarted Joplin and then immediately launched the dev tools. I think the error only shows up early in the life cycle of starting the app. Thanks for sharing this work-around!

@stevemagruder
Copy link

Yup, I found the error in the console, created the new folder, restarted Joplin, and now excalidraw appears to be working.
Thanks!

@ei8fdb
Copy link

ei8fdb commented Feb 20, 2023

For the above work-around the discussion thread link.

Does anyone know what needs to happen so that work around isn't needed? It's a pity that a good plug-in may not be used as a result. I'm happy to help in any way.

@stevemagruder
Copy link

I imagine that In the plugin's code, if it needs a temp directory to exist, it would test for its existence, and if not there, create it. Thus, this is a bug for the developer to fix if they're interested.

@artikell
Copy link
Owner

artikell commented Mar 6, 2023

Sorry, I haven't replied for a long time. Things have been busy recently. I will clean up issue regularly in the future
I really didn't repeat the issue. I'm not sure how you use this plug-in?
There are two methods:

  1. use excalidraw, like a code
  2. use ![excalidraw](excalidraw://970d7f3995b94321827cdcb8b9e16dc0), like a image
    I don't recommend the first method very much, because the management of the plane is very complex and is prone to exceptions. I am ready to remove it.
    Maybe you can give me some information? @stevemagruder @ei8fdb @alondmnt

@Ultra980
Copy link

Ultra980 commented Mar 9, 2023

What url do we add in the excalidraw part? And how exactly do we add it? Do we just copy-paste the url you put as an example?

EDIT: I did do the ```excalidraw``` method, but I don't understand the second one (![excalidraw](excalidraw://970d7f3995b94321827cdcb8b9e16dc0))

@Ultra980
Copy link

Ultra980 commented Mar 9, 2023

Also, I tried doing the workaround above, but Joplin crashes whenever I write anything. I'm using the Joplin flatpak from flathub.

@stevemagruder
Copy link

I did nothing but follow the directions on the front page.

Initiate a Excalidraw by writing following in the markdown:

excalidraw

@artikell
Copy link
Owner

@Ultra980 I recorded an animation, which may help you use this plug-in?
example

@artikell
Copy link
Owner

possible solution:

  1. open Help-->Toggle development tools.
  2. look in the log for an error similar to the following one:
joplin.plugins: Uncaught exception in plugin "com.joplin.excalidraw": Error: ENOENT: no such file or directory, stat '/var/folders/z8/6_9tvj2d6931fmn5q64r1xjm0000gn/T/joplin-excalidraw-plugin/'
  1. create the missing directory.
  2. restart Joplin.

I don't know why this problem is unstable. However, I have fixed it in 1.4.1

@artikell artikell added the bug Something isn't working label Mar 12, 2023
@NiklasRosenstein
Copy link

@artikell How can I install v1.4.1? When searching for the plugin in Joplin, it only fins 1.3.0.

image

@metal3d
Copy link

metal3d commented Nov 20, 2023

For some reasons, I have the 1.3.0 version too. The toolbar doesn't show any button for excalidraw.

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

No branches or pull requests