terrastruct / d2-studio-issue-tracker

1 stars 0 forks source link

Crash and crash and crash (etc.) #59

Open GeorgesYCM opened 3 months ago

GeorgesYCM commented 3 months ago

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 commented 3 months ago

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

GeorgesYCM commented 3 months ago

Thank you for answering but, unfortunately nothing changed

GeorgesYCM commented 3 months ago

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

GeorgesYCM commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

Hi, thank you for your answer.

Not sure to fully understand: reading https://d2lang.com/tour/composition/ I understand that layers are intended to split a shema into several ones not visibles at the same time?

I tried to create layers, and I have an error message telling me I must be in "architect mode": what does this mean?

BTW, I downloaded TALA on my computer, and I can locally process my diagram. This is not what I need, but I can use it as a workaround waiting for you to fix this issue.

Thank you for your help,

[Une image contenant feux d’artifice Description générée automatiquement]

Georges Dick

Responsable IT

📞 (+377) 93.10.64.00

@.**@.>

www.ycm.orghttp://www.ycm.org/

[cid:7923617b-9bf4-46f5-aef0-1f3eb676d2cf]https://yacht-club-monaco.mc/en/ycmevents/primo-cup-ubs-trophy/


De : Alexander Wang @.> Envoyé : mardi 4 juin 2024 19:00 À : terrastruct/d2-studio-issue-tracker @.> Cc : Georges Dick @.>; Mention @.> Objet : Re: [terrastruct/d2-studio-issue-tracker] Crash and crash and crash (etc.) (Issue #59)

Vous ne recevez pas souvent de courriers de la part de @.*** Découvrez pourquoi cela est importanthttps://aka.ms/LearnAboutSenderIdentification

Sorry you're running into this @GeorgesYCMhttps://github.com/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

— Reply to this email directly, view it on GitHubhttps://github.com/terrastruct/d2-studio-issue-tracker/issues/59#issuecomment-2148003957, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMULNSPEHHCYFO7DTKLUXOLZFXXDTAVCNFSM6AAAAABIS2U4W2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBYGAYDGOJVG4. You are receiving this because you were mentioned.

GeorgesYCM commented 3 months ago

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