drawio
drawio copied to clipboard
Docker version of drawio doesn't open .vsdx anymore
- [*] I agree to follow the Code of Conduct that this project adheres to.
- [*] I have searched the issue tracker for a feature request that matches the one I want to file, without success.
You must agree to search and the code of conduct. You must fill in this entire template. If you delete part/all or miss parts out your issue will be closed.22
If you are technical, you should report bugs along the lines of https://marker.io/blog/how-to-write-bug-report. If you are not technical, we will make allowances, please try to make an effort to understand the process.
Describe the bug Opening a .vsdx in a docker based draw.io results in an error: failed to load: http://localhost:8080/js/extensions.js
To Reproduce Steps to reproduce the behavior:
- Go to 'File'
- Click on 'Open rom'
- Click on 'Device'
- Scroll down to 'any .vsdx file on your device'
- Click open
- See errorfailed to load: http://localhost:8080/js/extensions.js
A clear and concise description of what you expected to happen.
Screenshots Just the error pops up.
draw.io version (In the Help->About menu of the draw.io editor):
- draw.io version 27.0.2, but I think it was already in 26.2
Desktop (please complete the following information):
- OS: not relevant, docker.
- Browser Edge and Chrome
- Browser Version 136
Smartphone (please complete the following information):
- Device: not tested
- OS: not tested
- Browser not tested
- Version not tested
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- yes
Additional context I've tested multiple versions of draw.io, fell back to 26.0.16
I dropped the attached vsdx into 27.0.2 and it opened correctly:
1740083278_BPMN In Color Sample.vsdx.zip
I installed docker on my MacBook (M1), ran draw.io like so:
docker run -it --rm --name="draw" -p 8080:8080 -p 8443:8443 jgraph/drawio
cleared all my chrome data
http://localhost:8080/?offline=0&https=0 Service unavailable or blocked followed by Uncaught Class 'OrgChart.Annotations.CanBeNullAttribute' is already defined
http://localhost:8080/?offline=1&https=0 Service unavailable or blocked
https://localhost:8443/?offline=0 Failed to load http://localhost:8080/js/extensions.min.js
https://localhost:8443/?offline=1 Service unavailable or blocked
Safari gave the same errors (but I didn't clear my data there). I've never had docker or draw.io running on this machine.
And without any URL parameters?
http://localhost:8080 Service unavailable or blocked followed by Uncaught Class 'OrgChart.Annotations.CanBeNullAttribute' is already defined
https://localhost:8443: Failed to load http://localhost:8080/js/extensions.min.js
Unfortunately, I can't debug with the available information.
Can I help you get more info? It worked fine in earlier versions, I've tried it on three different docker environments, but all give the same error.
Hello, we are facing the same issue since 2 or more weeks. Even falling back to version v26.0.16 does not solve the issue for us.
When opening a VSDX file, the extensions.min.js is getting loaded again resulting in the error: Uncaught Class 'OrgChart.Annotations.CanBeNullAttribute' is already defined
This js-file is not loaded again when opening other file formats. During debugging in the Developer Tools it is processing the full javascript again and loads all classes again. When trying in the online version the file is not reloaded, but just 2 classes are added, I think.
VSDX export removed from/mssing in Export menu.
Same issue with draw.io-27.0.5-windows-no-installer.exe
draw.io-26.0.16-windows-no-installer.exe still showing the Menu VSDX (beta).
Bug or feature removed? Will the import/export stay in the future (since in beta)?
Still get the error: Uncaught Class 'OrgChart.Annotations.CanBeNullAttribute' is already defined. I even started from scratch, but to no avail.
I noticed that https://draw.io opens a new windows when opening the sample you provided. My docker based draw.io does not. I'd like to help you get more info, but I'm not programmer.
Hi,
Just to add, these are the versions I've tested and can confirm importing .vsdx files work.
24.7.17 26.0.2 26.0.16 26.1.0
Non of the 28.x or 27.x versions worked for me. Let me know if there is anything I can do help with diagnosis/resolution.
Hello team,
We also face the same issue in 28.0.4 version
Hi All,
Can anyone confirm if this is being worked on?
Thanks,
Can it be related to this? Error is the same:
https://github.com/jgraph/drawio/issues/5140