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

[CRYPTIC]: Modeling command failed: [] #3887

Open
paultag opened this issue Sep 16, 2024 · 3 comments
Open

[CRYPTIC]: Modeling command failed: [] #3887

paultag opened this issue Sep 16, 2024 · 3 comments
Labels
cryptic-error Source code produces a confusing error engine

Comments

@paultag
Copy link
Collaborator

paultag commented Sep 16, 2024

Paste minimal KCL source that produces a cryptic error

startSketchOn("XY")
   |> circle([0, 0], 1, %)
   |> hole(circle([0, 0], 3, %), %)
   |> extrude(1, %)
   |> startSketchOn(%, 'END')
   |> circle([0, 0], 2, %)
   |> hole(circle([0, 0], 4, %), %)
   |> extrude(1, %)

Expected Behavior

Two extruded rings

Additional Context

No response

@paultag paultag added the cryptic-error Source code produces a confusing error label Sep 16, 2024
@jessfraz
Copy link
Contributor

this is a lot like this bug i filed in engine https://github.com/KittyCAD/engine/issues/2599

idk how these empty error vecs come back but its no bueno and in the case of my issue, @benjamaan476 says the extrude isnt even throwing an error

@jessfraz
Copy link
Contributor

anyways somethign for someone to dive into on the rust / c++ interface when they have cycles

basically rust thinks the c++ command is failing... but c++ is returning no error strings, so like did it really fail?

@benjamaan476
Copy link

I don't know if we use it anymore but I also noticed that the pub success: Option<bool> of WebSocketResponse is none as well when this happens

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cryptic-error Source code produces a confusing error engine
Projects
None yet
Development

No branches or pull requests

3 participants