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

Issue with Release Version of Estimator Hanging when Piped in Command Line #50

Closed
boucaron opened this issue Dec 11, 2023 · 1 comment
Closed

Comments

@boucaron
Copy link

Hey there,

I've encountered an issue with the release version of the estimator. When I run the following command in the command line with a pipe, the release version gets stuck and doesn't exit:

C:\Users\admin\Downloads>klipper_estimator.exe estimate 3DBenchy_prusaslicer.gcode | findstr inim
Minimal time: 0.824s (0.824s)
Minimal time: 5h44m27.943s (20667.943s)

Interestingly, I don't experience this problem when I run the build with debug symbols.

@dalegaard
Copy link
Collaborator

Hi @boucaron

Try running the command with --omit-layer-times. I believe the issue is likely caused by the auto-terminal-width system used when printing layer timers. Since you don't need those, you can disable them.

The output of the estimate is not meant for machine parsing, so I won't be putting time in to figuring out how to fix this. If you need specific info from the estimate process, you can alsways use the -f json option to output JSON instead, and get the specific fields you need from there.

Best regards,
Lasse

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