Tuney appears to have crashed during the 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
iBase.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-26T20:13:18.808817+00:00] TRACE layout startup build start
[2026-07-26T20:13:18.810821+00:00] TRACE control panel rebuild start: model='App'
[2026-07-26T20:13:18.811814+00:00] TRACE control panel build page start: advanced=True
[2026-07-26T20:13:19.367480+00:00] TRACE scala browser trie load start
[2026-07-26T20:13:19.368516+00:00] TRACE scala trie build start
[2026-07-26T20:13:19.369599+00:00] TRACE scala scales load start: path=WindowsPath('C:/Tuney-Windows/Tuney/scala/scales.toml.zip')
[2026-07-26T20:13:19.654981+00:00] TRACE scala scales load end: count=5401
[2026-07-26T20:13:19.902075+00:00] TRACE scala trie build end: count=5401
[2026-07-26T20:13:20.919772+00:00] Python crash logging started
[2026-07-26T20:13:22.001070+00:00] Python crash logging started
[2026-07-26T20:13:22.236292+00:00] TRACE control panel build page end: advanced=True
[2026-07-26T20:13:22.237275+00:00] TRACE control panel rebuild end: model='App'
[2026-07-26T20:13:22.238276+00:00] TRACE layout rebuild note grid start
[2026-07-26T20:13:22.264042+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T20:13:22.266025+00:00] TRACE layout rebuild note grid end: has_note_buttons=True
[2026-07-26T20:13:22.308811+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T20:13:22.311794+00:00] TRACE layout startup build end
[2026-07-26T20:14:04.297024+00:00] Python crash logging started
[2026-07-26T20:14:04.490350+00:00] TRACE run: gui=True frozen=True
[2026-07-26T20:14:04.494413+00:00] TRACE autosave restore start
[2026-07-26T20:14:04.503369+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-26T20:14:04.505366+00:00] TRACE restore data end
[2026-07-26T20:14:04.505366+00:00] TRACE autosave restore end: error=False
[2026-07-26T20:14:04.506361+00:00] TRACE main window construct start
[2026-07-26T20:14:04.534357+00:00] TRACE main window init start
[2026-07-26T20:14:04.534357+00:00] TRACE qapplication reuse
[2026-07-26T20:14:04.564345+00:00] TRACE main window qmainwindow ready
[2026-07-26T20:14:04.576352+00:00] TRACE layout construct start
[2026-07-26T20:14:04.577355+00:00] TRACE layout init start
[2026-07-26T20:14:04.577355+00:00] TRACE control panel init: model='App'
[2026-07-26T20:14:04.620739+00:00] TRACE layout init end
[2026-07-26T20:14:04.620739+00:00] TRACE layout construct end
[2026-07-26T20:14:04.621737+00:00] TRACE window restore state loaded: saved={'x': 32, 'y': 49, 'width': 1018, 'height': 752}
[2026-07-26T20:14:04.622737+00:00] TRACE window restore geometry before: saved={'x': 32, 'y': 49, 'width': 1018, 'height': 752} applied={'x': 32, 'y': 49, 'width': 1018, 'height': 752} 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-26T20:14:04.623737+00:00] TRACE window restore geometry after set: direct={'x': 32, 'y': 49, 'width': 1018, 'height': 752} geometry={'x': 32, 'y': 49, 'width': 1018, 'height': 752} frame_geometry={'x': 32, 'y': 49, 'width': 1018, 'height': 752} normal_geometry={'x': 32, 'y': 49, 'width': 1018, 'height': 752} window_state=<WindowState.WindowNoState: 0> is_maximized=False is_minimized=False is_full_screen=False
[2026-07-26T20:14:04.623737+00:00] TRACE window restore geometry after enforce: direct={'x': 32, 'y': 49, 'width': 1018, 'height': 752} geometry={'x': 32, 'y': 49, 'width': 1018, 'height': 752} frame_geometry={'x': 32, 'y': 49, 'width': 1018, 'height': 752} normal_geometry={'x': 32, 'y': 49, 'width': 1018, 'height': 752} window_state=<WindowState.WindowNoState: 0> is_maximized=False is_minimized=False is_full_screen=False
[2026-07-26T20:14:04.624737+00:00] TRACE ui update text display: timings=False
[2026-07-26T20:14:04.625737+00:00] TRACE main window init end
[2026-07-26T20:14:04.625737+00:00] TRACE main window construct end
[2026-07-26T20:14:04.821235+00:00] TRACE layout startup build start
[2026-07-26T20:14:04.822253+00:00] TRACE control panel rebuild start: model='App'
[2026-07-26T20:14:04.823386+00:00] TRACE control panel build page start: advanced=True
[2026-07-26T20:14:05.345371+00:00] TRACE scala browser trie load start
[2026-07-26T20:14:05.346388+00:00] TRACE scala trie build start
[2026-07-26T20:14:05.346388+00:00] TRACE scala scales load start: path=WindowsPath('C:/Tuney-Windows/Tuney/scala/scales.toml.zip')
[2026-07-26T20:14:05.644441+00:00] TRACE scala scales load end: count=5401
[2026-07-26T20:14:05.889117+00:00] TRACE scala trie build end: count=5401
[2026-07-26T20:14:07.039894+00:00] Python crash logging started
[2026-07-26T20:14:08.293171+00:00] Python crash logging started
[2026-07-26T20:14:08.547115+00:00] TRACE control panel build page end: advanced=True
[2026-07-26T20:14:08.548116+00:00] TRACE control panel rebuild end: model='App'
[2026-07-26T20:14:08.549120+00:00] TRACE layout rebuild note grid start
[2026-07-26T20:14:08.576115+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T20:14:08.579121+00:00] TRACE layout rebuild note grid end: has_note_buttons=True
[2026-07-26T20:14:09.627387+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T20:14:09.652354+00:00] TRACE layout refresh note button fonts: buttons=52
[2026-07-26T20:14:09.663673+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 by reproducing the crash on Windows 11 with Python 3.12.10 in the frozen app, using the reported log at C:\Users\David.local\state\tuney\tuney.txt. Investigate the _rtmidi MidiOutWinMM.openPort failure during startup. Done means the application no longer crashes during startup in this environment.
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