artikell / joplin-excalidraw

Implementation of Excalidraw for Joplin.
40 stars 3 forks source link

Missing icons on bar when temporary folder doesn't exists #10

Open jmiguelr opened 7 months ago

jmiguelr commented 7 months ago

I installed your plugin yesterday and at first sigth it didn't work at all: no icon at any place.

After some research, I saw a message stating that looking at the developer tools page there could be an error about a missing tmp folder. And bingo, that it was. After creating (in my case) /tmp/joplin-excalidraw-plugin everything looks working well (apart from the double-click issue reported at another ticket,

Environment: Linux Mint 21.2 with Cinnamon UI . Joplin 2.12.15, Plugin version: 1.3.0

Thank you very much for your work!

salehawal commented 4 months ago

i have created the temp folder but still not working sudo mkdir /tmp/joplin-excalidraw-plugin

any help?

robertohuertasm commented 4 months ago

@salehawal, this is what I did:

salehawal commented 3 months ago

still not working, even after creating the temp folder "/tmp/joplin-excalidraw-plugin" @jmiguelr

using ubuntu linux as host

salehawal commented 3 months ago

@salehawal, this is what I did:

* I'm using a Mac

* I executed node in a terminal

* then `os.tmpdir()`

* the output was something like `/var/folders/wk/7gc3q6pd6p573wttw34t8lsr0000gq/T`

* create a folder called `joplin-excalidraw-plugin` in the previous directory

* restart joplin

* you should see the icon

yes the icon is visible now, but after creating the image and saving it, it will now be displayed on the draw, only exceldraw icons shows up Screenshot from 2024-03-22 00-54-35

and after trying to edit the saved image, the imported image in the drawing is not there anymore? Screenshot from 2024-03-22 00-54-52

djsudduth commented 2 months ago

Same issue here - missing icon- Windows 10, Joplin 2.14.19, Excalidraw 1.4.1. Had to create joplin-excalidraw-plugin folder in my Windows temp directory. Go to the command line - type set to find your temp path.

Mine was C:\Users\(myusername)\AppData\Local\Temp

Create a folder -> C:\Users\(myusername)\AppData\Local\Temp\joplin-excalidraw-plugin

This will fix it

Paulswith commented 2 months ago

arch linux:

mkdir /tmp/joplin-excalidraw-plugin restart Joplin, works

Ultra980 commented 3 weeks ago

I have the same issue as @salehawal, on NixOS with the Joplin flatpak. I created the temporary directory, but only the Excalidraw logo gets inserted. Though perhaps this is unrelated..

tekjunkie70 commented 4 days ago

I seem to have the same issue on linux mint 21.3, now running joplin 3.0.13 Joplin 3.0.13 (prod, linux) joplin-excalidraw: 1.3.0

the "mkdir /tmp/joplin-excalidraw-plugin " didn't work for me