Comments (10)
conda install -c conda-forge graphviz xorg-libxrender xorg-libxpm
pip install graphviz
works for me !!!!
from diagrams.
What is your macOS version? I can't reproduce it. (with the same versions for all except Graphviz dot 2.42.2)
from diagrams.
Using macOS 10.14.x, graphviz was installed with brew (which normally takes care of macOS versions variances). Note that graphviz-dot is usable in principle, image= is also OK, I can open the PNG file by using the filepath.
One correction, installed graphviz package is 2.42.2, but if you ask dot
for its version you get 2.43.0
.
from diagrams.
Oh sorry, Yes, my dot
version is 2.43.0
too.
Hm. .. Could you please show your full dot
code for the above diagram? I need to compare your dot code and mine.
from diagrams.
As already stated, the image=...
attribute seems to be causing the problem.
# -- FILE: simple_diagram
digraph "Simple Diagram" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="Simple Diagram" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
bc91704d1167f5988d2be776b9bf2fbf [label=web height=1.9 image="/Users/xxx/diagrams_1/.venv_py3/lib/python3.8/site-packages/resources/aws/compute/ec2.png" shape=none]
}
from diagrams.
It's mine.
digraph "Simple Diagram" {
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="Simple Diagram" nodesep=0.60 pad=2.0 rankdir=LR ranksep=0.75 splines=ortho]
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagescale=true labelloc=b shape=box style=rounded width=1.4]
edge [color="#7B8894"]
"691c0a63bb283f1adf6f0e8dc4e54088" [label=web height=1.9 image="/Users/xxx/workspace/mingrammer/diagrams/resources/aws/compute/ec2.png" shape=none]
}
I don't understand why image=
field causes the SIGILL
error (illegal instruction) .. It could be an issue of dot
installed on your system or some CPU / memory corruptions.
Could you try rebooting your computer? (maybe, can solve the corrupted memory problem..)
Reference: https://stackoverflow.com/questions/7901867/what-causes-signal-sigill
from diagrams.
Is it solved?
from diagrams.
I retried it with diagrams-0.6.3, but the problem still exists (SIGILL, ILLEGAL INSTRUCTION), problem is the image=xxx attribute.
from diagrams.
Rebooting can't solve that problem? Hmm ..
from diagrams.
I close it. Reopen if same problem raises.
from diagrams.
Related Issues (20)
- How do I remove white space from around the image? HOT 4
- Icon Request: diagrams.onprem.monitoring.VictoriaMetrics HOT 1
- ImportError: cannot import name 'Diagram' from partially initialized module 'diagrams' HOT 3
- Render the Diagram in Markdown with a Server
- Skilled innovator, but new developer
- Support for ER Diagrams
- Python 3.12 not supported HOT 2
- Where does the extra space come from?
- make cluster ranks the same in for loop HOT 2
- Change Layout direction in cluster with connections HOT 1
- Wana join me for a New App giving people There control of there phones back ? 🆓🥔 freepotato.atlassian.net
- links between object misaligned and straight HOT 2
- How do you generate diagrams with transparent background?
- Add AWS Managed Workflow for Airflow Apache
- Is there a node for Kubernetes itself?
- Add edge flow animation
- Icon Request: Azure Speech To Text , Azure Open AI HOT 1
- sequence diagram HOT 1
- How to force diagram to be larger (width and height) HOT 1
- Create diagrams spin-off repo for additional resources?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diagrams.