Tuney crashed during previous run
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 4
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Error
Tuney appears to have crashed during the previous run.
Environment
- Platform: Windows-11-10.0.26200-SP0
- Python: 3.12.10
- Frozen app: True
- Log file: C:\Users\David.local\state\tuney\tuney.txt
Log
_rtmidi.MidiBase.open_port
File "_rtmidi.pyx", line 218, in _rtmidi._cb_error_func
File "_rtmidi.pyx", line 403, in _rtmidi._default_error_handler
_rtmidi.SystemError: MidiOutWinMM::openPort: error creating Windows MM MIDI output port.
[2026-07-26T19:04:30.315413+00:00] TRACE layout startup build start
[2026-07-26T19:04:30.317423+00:00] TRACE control panel rebuild start: model='App'
[2026-07-26T19:04:30.319402+00:00] TRACE control panel build page start: advanced=True
[2026-07-26T19:04:30.862809+00:00] TRACE scala browser trie load start
[2026-07-26T19:04:30.864344+00:00] TRACE scala trie build start
[2026-07-26T19:04:30.865358+00:00] TRACE scala scales load start: path=WindowsPath('C:/Tuney-Windows/Tuney/scala/scales.toml.zip')
[2026-07-26T19:04:31.173298+00:00] TRACE scala scales load end: count=5401
[2026-07-26T19:04:31.421550+00:00] TRACE scala trie build end: count=5401
[2026-07-26T19:04:32.428624+00:00] Python crash logging started
[2026-07-26T19:04:33.475065+00:00] Python crash logging started
[2026-07-26T19:04:33.691966+00:00] TRACE control panel build page end: advanced=True
[2026-07-26T19:04:33.692948+00:00] TRACE control panel rebuild end: model='App'
[2026-07-26T19:04:33.693943+00:00] TRACE layout rebuild note grid start
[2026-07-26T19:04:33.717969+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T19:04:33.719975+00:00] TRACE layout rebuild note grid end: has_note_buttons=True
[2026-07-26T19:04:33.759950+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T19:04:33.761949+00:00] TRACE layout startup build end
[2026-07-26T19:08:19.532052+00:00] Python crash logging started
[2026-07-26T19:08:19.737530+00:00] TRACE run: gui=True frozen=True
[2026-07-26T19:08:19.740528+00:00] TRACE autosave restore start
[2026-07-26T19:08:19.749525+00:00] TRACE restore data start: keys=['audition_scala', 'backspace_repeat_delay', 'backspace_repeat_rate', 'device', 'gui', 'hover_time', 'load_autosave', 'mapper', 'max_gap', 'midi', 'run_in_background', 'scale', 'show_text_timings', 'silent', 'sound', 'speech_level', 'speech_speed', 'text', 'text_timings', 'tuning', 'use_phrase_mode', 'use_speech']
[2026-07-26T19:08:19.751532+00:00] TRACE restore data end
[2026-07-26T19:08:19.752536+00:00] TRACE autosave restore end: error=False
[2026-07-26T19:08:19.753406+00:00] TRACE main window construct start
[2026-07-26T19:08:19.783735+00:00] TRACE main window init start
[2026-07-26T19:08:19.785270+00:00] TRACE qapplication reuse
[2026-07-26T19:08:19.814913+00:00] TRACE main window qmainwindow ready
[2026-07-26T19:08:19.827090+00:00] TRACE layout construct start
[2026-07-26T19:08:19.828105+00:00] TRACE layout init start
[2026-07-26T19:08:19.829131+00:00] TRACE control panel init: model='App'
[2026-07-26T19:08:20.234839+00:00] TRACE layout init end
[2026-07-26T19:08:20.235840+00:00] TRACE layout construct end
[2026-07-26T19:08:20.236841+00:00] TRACE window restore state loaded: saved={'x': 0, 'y': 23, 'width': 1536, 'height': 793}
[2026-07-26T19:08:20.237839+00:00] TRACE window restore geometry before: saved={'x': 0, 'y': 23, 'width': 1536, 'height': 793} applied={'x': 0, 'y': 23, 'width': 1536, 'height': 793} direct={'x': 0, 'y': 0, 'width': 560, 'height': 978} geometry={'x': 0, 'y': 0, 'width': 560, 'height': 978} frame_geometry={'x': 0, 'y': 0, 'width': 560, 'height': 978} normal_geometry={'x': 0, 'y': 0, 'width': 560, 'height': 978} window_state=<WindowState.WindowNoState: 0> is_maximized=False is_minimized=False is_full_screen=False
[2026-07-26T19:08:20.238838+00:00] TRACE window restore geometry after set: direct={'x': 0, 'y': 23, 'width': 1536, 'height': 793} geometry={'x': 0, 'y': 23, 'width': 1536, 'height': 793} frame_geometry={'x': 0, 'y': 23, 'width': 1536, 'height': 793} normal_geometry={'x': 0, 'y': 23, 'width': 1536, 'height': 793} window_state=<WindowState.WindowNoState: 0> is_maximized=False is_minimized=False is_full_screen=False
[2026-07-26T19:08:20.238838+00:00] TRACE window restore geometry after enforce: direct={'x': 0, 'y': 23, 'width': 1536, 'height': 793} geometry={'x': 0, 'y': 23, 'width': 1536, 'height': 793} frame_geometry={'x': 0, 'y': 23, 'width': 1536, 'height': 793} normal_geometry={'x': 0, 'y': 23, 'width': 1536, 'height': 793} window_state=<WindowState.WindowNoState: 0> is_maximized=False is_minimized=False is_full_screen=False
[2026-07-26T19:08:20.239838+00:00] TRACE ui update text display: timings=False
[2026-07-26T19:08:20.240839+00:00] TRACE main window init end
[2026-07-26T19:08:20.240839+00:00] TRACE main window construct end
[2026-07-26T19:08:20.458951+00:00] TRACE layout startup build start
[2026-07-26T19:08:20.459977+00:00] TRACE control panel rebuild start: model='App'
[2026-07-26T19:08:20.460998+00:00] TRACE control panel build page start: advanced=True
[2026-07-26T19:08:21.027083+00:00] TRACE scala browser trie load start
[2026-07-26T19:08:21.028614+00:00] TRACE scala trie build start
[2026-07-26T19:08:21.029127+00:00] TRACE scala scales load start: path=WindowsPath('C:/Tuney-Windows/Tuney/scala/scales.toml.zip')
[2026-07-26T19:08:21.351580+00:00] TRACE scala scales load end: count=5401
[2026-07-26T19:08:21.591591+00:00] TRACE scala trie build end: count=5401
[2026-07-26T19:08:22.690187+00:00] Python crash logging started
[2026-07-26T19:08:23.918693+00:00] Python crash logging started
[2026-07-26T19:08:24.217578+00:00] TRACE control panel build page end: advanced=True
[2026-07-26T19:08:24.218591+00:00] TRACE control panel rebuild end: model='App'
[2026-07-26T19:08:24.218591+00:00] TRACE layout rebuild note grid start
[2026-07-26T19:08:24.244581+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T19:08:24.248029+00:00] TRACE layout rebuild note grid end: has_note_buttons=True
[2026-07-26T19:08:24.856391+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T19:08:24.879240+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T19:08:24.888808+00:00] TRACE layout startup build end
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported _rtmidi.SystemError from MidiOutWinMM::openPort and reproduce it in the stated Windows 11 frozen-app environment. No source files or tests are named; done means the previous-run crash is no longer observed and the behavior is verified against this log scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100