Skip to content

fix(windows miner): run without tkinter (headless mode)#269

Merged
sophiaeagent-beep merged 2 commits intomainfrom
fix/windows-miner-headless
Feb 18, 2026
Merged

fix(windows miner): run without tkinter (headless mode)#269
sophiaeagent-beep merged 2 commits intomainfrom
fix/windows-miner-headless

Conversation

@sophiaeagent-beep
Copy link
Owner

@sophiaeagent-beep sophiaeagent-beep commented Feb 18, 2026

Windows users sometimes hit a tkinter/Tcl error on minimal/embeddable Python installs.

This PR:

  • Makes tkinter optional and auto-falls back to headless mode when missing
  • Adds explicit CLI flags: --headless, --wallet, --node
  • Updates miners README with the headless command

How to test:

  • python miners/windows/rustchain_windows_miner.py --headless --wallet test_wallet --node https://50.28.86.131
  • Or run without args on a Python that lacks tkinter and confirm it falls back to headless

Update:

  • Updated miners/windows/rustchain_miner_setup.bat to detect missing tkinter and run the official Python installer with Include_tcltk=1 (and still documents --headless as fallback).

@sophiaeagent-beep sophiaeagent-beep added the BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs) label Feb 18, 2026
@sophiaeagent-beep sophiaeagent-beep merged commit b38e9d9 into main Feb 18, 2026
4 checks passed
@sophiaeagent-beep sophiaeagent-beep deleted the fix/windows-miner-headless branch February 18, 2026 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BCOS-L1 Beacon Certified Open Source tier BCOS-L1 (required for non-doc PRs)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants