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

Crash and crash and crash (etc.) #59

Open
GeorgesYCM opened this issue May 31, 2024 · 7 comments
Open

Crash and crash and crash (etc.) #59

GeorgesYCM opened this issue May 31, 2024 · 7 comments

Comments

@GeorgesYCM
Copy link

Since about one or two weeks, when I try to compile a diagram, I often have a "Looks like something went wrong. Please make sure you're connected to the internet and try again later." error.

I must try again and again: sometimes it works, but often it fails, with exactly the same code!

@alixander
Copy link
Contributor

It's a large diagram so takes longer. I've increased the timeout, can you try again?

@GeorgesYCM
Copy link
Author

Thank you for answering but, unfortunately nothing changed

@GeorgesYCM
Copy link
Author

Hi, just to let you know that I'm still stuck, I can't edit my diagram.

@GeorgesYCM
Copy link
Author

Hi, just to let you know that I'm still stuck, I can't edit my diagram.

Hi, looks like a connection problem: at the end of my file you'll find many connections If I remove the two last it works.
If I put these two with a dozen of others: it works. If I add a couple more connections: it crashes.

@alixander
Copy link
Contributor

Sorry you're running into this @GeorgesYCM , it's just a large diagram. With something of this size, we recommend splitting it up into multiple layers (https://d2lang.com/tour/composition/). One of our engineers will investigate if there's a particular bottleneck, but I suspect all the edge routing just results in the timeout

@GeorgesYCM
Copy link
Author

GeorgesYCM commented Jun 6, 2024 via email

@GeorgesYCM
Copy link
Author

HI, just a little follow-up.
I don't know what you changed but not it works, except export, i.e. image generation is OK, but PDF, PNG or PPT export seems to freeze, I only have a message telling me to wait:
image

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

2 participants