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

Plugin doesn't install in draw.io desktop 9.3.1 #12

Open
JohnRCatlin opened this issue Feb 7, 2019 · 16 comments
Open

Plugin doesn't install in draw.io desktop 9.3.1 #12

JohnRCatlin opened this issue Feb 7, 2019 · 16 comments

Comments

@JohnRCatlin
Copy link

Hi,

The plugin doesn't seem to install in draw.io desktop 9.3.1.
Is this a known issue?
If so, are there any plans to fix it?

Very best regards, John.

@rkettelerij
Copy link

I'm using it successfully in the desktop version of draw.io v10.6.3. You'll need to restart draw.io after installation. What error did you encounter?

@andez2000
Copy link

andez2000 commented May 1, 2019

I think I am having the same issue on Windows 10.

@rkettelerij - v10.6.3? Only windows desktop v9.3.1 is available from the draw.io website.
I have added the url https://tobiashochguertel.github.io/c4-draw.io/c4.js to the Extras->Plugins and c4 notation does not show up - not even after restart.

Please note this does not also work in the online version in Edge.

It works directly in Google Chrome online. Perhaps it could be something to with the default browser? Mine is set to Edge and I suspect the desktop version just piggybacks onto the default browser locally as it is not a native app?

@programming-wolf
Copy link

I have v10.7.7 on macOS 10.14.5, and the plugin doesn't work either, unfortunately. It asks to load when I start draw.io, but then nothing happens and the shapes do not appear in the menu on the left.

@kaminzo
Copy link

kaminzo commented Jul 19, 2019

I have the same issue on macOS using Draw.io version v10.9.5. It asks to load, but then nothing happens.

Also tried loading from localhost via node http-server - it didn't help.

Is there a log or some output from draw.io desktop that can be inspected?

@rkettelerij
Copy link

rkettelerij commented Aug 7, 2019

Too bad, upgraded my draw.io (v11.1.1) and now I also experience the same issue. C4 symbols don't show up. It used to work on my machine with v10.6.3.

@tobiashochguertel
Copy link
Owner

I will have a look on the issues in the next days. I'm a longer time ill, and took and take more care on myself. Thanks for let me know that there are issues and that there are people outside which use c4-draw.io. :)

@rkettelerij
Copy link

@tobiashochguertel completely understandable. Take care.

@jwaring
Copy link

jwaring commented Aug 23, 2019

Take care indeed.

As a work around I downloaded the c4.js and placed it in a local folder. If you then add the plugin directly from the folder it appears to load correctly.

J

@kaminzo
Copy link

kaminzo commented Aug 23, 2019

@tobiashochguertel hope things get better soon.

@jwaring this hasn't worked for me on macOS with Draw.io v 11.1.4. I have tried referencing it as follows: /Users/myusername/Downloads/c4.js

Can you provide a bit more details i.e.

  • OS
  • draw.io version
  • in which local folder c4.js resides
  • how did you reference the file in the Plugins panel
    ?

@jwaring
Copy link

jwaring commented Aug 23, 2019

@kaminzo

  • OS: Windows 10
  • Version: The latest which I thought was 11.4.1, but that's from memory (I'm not using the same machine to answer this). It could be 11.1.4 as you stated.
  • Folder: I placed the c4.js in the folder C:/Users//c4
  • Process: I added the C4 file by entering C:/Users//c4/c4.js in the Plugin panel, then apply, then restart to refresh the app.

I hope this works for you.

@EvgeniySpinov
Copy link

For me previous comments on how to supply local path didn't work. What have worked though is providing this: file:\C:\Program Files\draw.io\c4.js

Windows 10, draw.io 11.2.5

@kaminzo
Copy link

kaminzo commented Sep 19, 2019

This worked! Many thanks @EvgeniySpinov

These are the details for macOS:

OS: macOS Majove Version 10.14.6
draw.io: v11.2.5
in which local folder c4.js resides: /Users/myusername/Downloads/c4.js
how did you reference the file in the Plugins panel: file:\Users\myusername\Downloads\c4.js

@codering
Copy link

macOS:

file:///Users/xxx/c4plugins/c4.js

@mfd2033
Copy link

mfd2033 commented Sep 30, 2019

使用本地路径,不要使用https://tobiashochguertel.github.io/c4-draw.io/c4.js

@MareGeldenhuys
Copy link

Adding some info here for those interested. Draw.io desktop is fully offline since version 10.7.5 according to their release page. https://github.com/jgraph/drawio-desktop/releases/tag/v10.7.5
Assuming this means that the traditional way of adding the plugin via the web-accessible link won't work anymore.

In addition I found that installing to the draw.io install folder did not work in my case. I installed the file into a separate folder and used the file uri syntax to access the plugin from draw.io desktop :

file:///C:/software/c4.js

Thanks to previous commentators for pointing to the solution.

@us0906
Copy link

us0906 commented Dec 28, 2019

Hello all,
in order to make the plugin work in a local installation of draw.io on my Mac-machine I had to

  • install draw.io for my user, so not in /Applications, but in ~/Applications. (Create that folder if necessary)
  • download c4.js to my machine, copy it to a local folder, i.e. ~/Applications/c4
  • add that local copy of c4.js as a plugin by adding c4.js with file://Users//Applications/c4/c4.js
  • restart draw.io-Application

Thanks to everyone above for tips and instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests