OrcaSlicer icon indicating copy to clipboard operation
OrcaSlicer copied to clipboard

[Withdrawn] CLI help is present; original report used an unsuitable output-capture method

Open antonio94770 opened this issue 1 month ago • 1 comments

Withdrawn after recheck on 2026-10-29. CLI help is present; original report used an unsuitable output-capture method. See the correction comment for the control and explanation.


Is there an existing issue for this problem?

  • [x] I have searched the existing issues

Snapmaker_Orca Version

2.4.1, official Windows installer; reproduced on 2026-10-28.

Operating System (OS)

Windows

OS Version

Windows 11

Printer

Snapmaker U1 (0.4 nozzle), bundled 0.20mm High Quality @Snapmaker U1 (0.4 nozzle) process and Generic PLA presets. Offline CLI slicing, no physical print required.

How to reproduce

Run from PowerShell, capturing both streams (adjust the install location if needed):

& 'C:/Program Files/Snapmaker_Orca/snapmaker-orca.exe' --help 2>&1

$LASTEXITCODE

The suite saves this command in help/command.json and output in help/slicer.log. The help result is printed separately, not included in summary.json.

Actual results

Exit 0, startup logs only, no option list. Option names had to be discovered in the installed binaries: load_settings, load_filaments, export_3mf, export_slicedata, outputdir, uptodate, allow_newer_file.

Expected results

Print supported options, arguments and basic usage. If a different launcher is required for terminal output, explain that in the output.

Project file & Debug log uploads

Reproducer script and recorded results, pinned to the tested revision. The script generates the inputs and preserves each command (command.json), input settings, output and combined stdout/stderr (slicer.log) in a separate probe directory. Raw logs are not attached here. To reproduce with Python >= 3.11 and Orca 2.4.1 installed:

git clone https://github.com/antonio94770/Snapmaker-U1-Print-Copilot.git

cd Snapmaker-U1-Print-Copilot

git checkout aa73504769f591bb9c993c9b662de601251da4e6

python -m pip install -e .

python research/m4-probe/recheck_release.py C:/orca-cli-recheck

Use a fresh short absolute work directory that does not already exist. The script copies bundled presets and does not modify the installation or user presets or communicate with a printer. The suite includes intentional crash probes, each with a 45-second timeout. Commands use Windows-style paths and four filament presets.

Checklist of files to include

  • [ ] Raw log file attached (preserved locally by the script)
  • [x] Reproducer and input-generation code linked above

antonio94770 avatar Oct 29 '26 13:10 antonio94770

Correction after rechecking on 2026-10-29: the original conclusion was incorrect.

The help is printed in a real Windows console. The original reproducer redirected stdout/stderr to a file and therefore missed the help text: print_help() calls attach_console_on_demand(), which reopens the streams on CONOUT$.

A controlled run in a terminal, waiting for the GUI-subsystem executable to finish, shows the full option list and exit 0:

python -c 'import subprocess; r=subprocess.run(["C:/Program Files/Snapmaker_Orca/snapmaker-orca.exe", "--help"]); print(r.returncode)'

The issue does not demonstrate missing CLI help. Closing as an invalid report. The original capture observation should not have been generalized to console usage.

Official 2.4.1 source context.

antonio94770 avatar Oct 29 '26 14:10 antonio94770