c4-draw.io icon indicating copy to clipboard operation
c4-draw.io copied to clipboard

Plugin doesn't install in draw.io desktop 9.3.1

Open JohnRCatlin opened this issue 6 years ago • 16 comments

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.

JohnRCatlin avatar Feb 07 '19 10:02 JohnRCatlin

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?

rkettelerij avatar Apr 17 '19 11:04 rkettelerij

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?

andez2000 avatar May 01 '19 10:05 andez2000

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.

programming-wolf avatar Jun 13 '19 14:06 programming-wolf

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?

kaminzo avatar Jul 19 '19 13:07 kaminzo

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.

rkettelerij avatar Aug 07 '19 11:08 rkettelerij

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. :)

tobiashochguertel avatar Aug 07 '19 12:08 tobiashochguertel

@tobiashochguertel completely understandable. Take care.

rkettelerij avatar Aug 07 '19 13:08 rkettelerij

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

jwaring avatar Aug 23 '19 01:08 jwaring

@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 ?

kaminzo avatar Aug 23 '19 08:08 kaminzo

@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.

jwaring avatar Aug 23 '19 10:08 jwaring

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

EvgeniySpinov avatar Sep 18 '19 18:09 EvgeniySpinov

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

kaminzo avatar Sep 19 '19 08:09 kaminzo

macOS:

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

codering avatar Sep 26 '19 07:09 codering

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

mfd2033 avatar Sep 30 '19 22:09 mfd2033

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.

MareGeldenhuys avatar Oct 23 '19 05:10 MareGeldenhuys

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.

us0906 avatar Dec 28 '19 13:12 us0906