What is the result of {v.id: v.languages for v in voices} on your side after doing the following in a Python console? import pyttsx3 engine = pyttsx3.init(driverName=None) voices = engine.getProperty('voices') Knowing this will give one positive example of each major operating system... and might make me think it is my impl that is dodgier than the norm for some reason.
I know this is a few years old, but I'm new to ATC-pie and ran into this same issue, but on Windows. Exact same error message. Figured i'd try changing the code in ext/tts.py as suggested. It worked for me -- I'm able to do solo simulation, no crashing, pilot readback working. Just wanted to put that out there!
Hello Michael, Skyhigh is a relativly new network aimed at developing ATC and pilots. we currently have an FSD, mumble server that pilots can commect to via swift. we have tried to develop our own radar client however struggled with integration with OpenFSD. I will communicate with one of our operations team who previusly contacted you as he attempted to modify ATC-pie to connect to our FSD however i know he struggled with the vatsim auth that is required for connections. This is our new discord...
Hello, I am glad to hear your interest in ATC-pie, although sorry you failed in the undertaken efforts. I have indeed worked a little towards OpenFSD too, as you noticed yourself. I did not know of a user base for that though, so did not pursue this very far. So it is good to discover this new use case. But would you tell me more about what your "team" is, and what your interest/setup is in general? Share what you tried as well?
OpenFSD new protocol integration
Session recorder records new ATIS events. Memory slots for playback timeline positions. Ready for v1.10.0.
ADDED: location code & coords to recorded data, and warnings if loaded at different location.
ADDED: easy double-click actions on status bar weather-related labels.
Possible misleading "Wrong runway" with speech recognition
OK, please shout out if not, but I think this can be considered fixed and closed.
ADDED: turn to RDF in TWR view controller.
Show code in radar tag if mismatching assignment. Do not duplicate mismatching XPDR callsign in strip (already in radar tag).
Reworked RDF a bit (no more "signal IDs"), for it to work in playback sessions.
Phone line statuses added to recordable data. Changed session recording options (collapsed "comms", added "other").
Simplified CONFIG/phon structure & "Notice" files. Changed playback timeline dock icon.
ADDED: forgotten new source files.
FIXED: bug with saving FG viewer settings. ADDED: runtime custom viewpoint editing (people do not typically edit apt.dat to add viewpoints, especially as X-plane still specifies "one at most" for some reason).
FIXED: bug with timeline building. ADDED: session recording status bar icon; generic events in sessions timeline (current instance: new strip).
FIXED: small bugs (save file dialog return type & RDF non-QObject disconnect).
FIXED: apparently minor bug with phone line status icon updates.
Merge branch 'playback' into dev
CHANGED: infinite number of alarm clocks, kept quick start, added panel to manage cancel and custom timeout messages. FIXED: ATC text message recipient/sender confusion and channeling problem in tutoring sessions.
FIXED: ATC msg loading from timeline data; "suggest" icon. IMPROVED: playback session start dialog.
Teacher "[R]" message prefix and mouse click.
ADDED: student-teacher text radio; teaching console button to unmark "+" from selected strip. FIXED: bug with radio signal recording.
FIXED: small bug with virtual clock. REMOVED: most sound notifications in playback sessions; too ambiguous "generic XFR" action and awkward ATC strip drop gesture in teacher sessions. ADDED: teaching console button to send selected strip.
ADDED several playback events, mostly worked on CPDLC comms. Needs testing.
Added option to record RDF signals. Renamed a couple CONFIG directories.
ADDED: custom time step in playback ctrl panel; record radio message for playback (text for now; possible future audio feature); strip link prompt on unlinked radar tag double click. CHANGED: a few icons. REMOVED: +/- 1 second time step in playback ctrl.
Improved "create new panel" action icons
DONE: time control and playback panel sync
Full radar history trace toggle for selected ACFT
Stable time control and radar behaviour. Abandoned ACFT live features in timeline (viewing is from radar data).
Merge branch 'dev' into playback
ADDED kbd shortcut for timeline. FIXED start dialog bug.
Merge branch 'dev' into playback
Record session dialog
Abstracted time and refactored clockwork in sessions. Only FG/FSD sessions now tied to real time.
Hooked up playback start dialog and timeline control panel.
ADDED: Playback session type
Crash with certain voice commands
Followed FGCom update: str fields now escape "," and "=".
Does this still happen with the new commit? If you manage to reproduce it, please set "log_speech_recognition" to True in ext/sr.py and provide the output log on this error. I will meanwhile look for the opportunity of this analytically.
"NSCFString" type issue (Mac-specific?)
(1) Could you do: import pyttsx3 e = pyttsx3.init() and provide the output of: {v.id: v.languages for v in e.getProperty('voices')}? (2) Also, say what system you are on? The documentation says that getProperty('voices') returns the "list of voice.Voice objects supported by the driver", and that init() uses "the default driver for the system". So maybe your driver is somehow different and not satisfying some assumed conditions?
I have just pushed commit 42279a12, meant to fix this.
FIXED bug in parsing runways vs. callsign in solo speech recognition (SF ticket #28)
ADDED: "+" on teacher strips never transferred to student. FIXED: bug in "create traffic" dialog possibly blocking "OK" button if started near helipad.
Simplified teacher/student ATC coord. list, e.g. no more "Teacher"/"Student" entries. Made generic XFR action useful to teacher as well.
ADDED: Generic handover/transfer action (except for teaching for now)
ADDED: icons for "ATIS" and "location settings" actions (+ improved a couple more icons).
Save docked state of CPDLC panel and teaching console.
CODE: Reworked phone line manager system.
Replacing PyMumble
Allow RWY/helipad selection from solo AD start dialog
ADDED: radar tag drag moves linked strip (move tag with SHIFT)
ADDED: $helipads alias. CHANGED: Only show user panels if title input dialog not cancelled.
FIX: "$me" alias. CODE: merged "system" and "general" settings -> "global" settings (= settings.conf + text-radio-messages.conf).
Distributed system settings dialog. Dock new panel automatically in centre if none already docked.
CHANGED: text aliases now substitute also in ATC text chat. Also renamed files and class/var names for a more consistent naming scheme and to remove all double file basenames.
Discontinued historic FGCom support. Config file renamed: "text-radio-messages.conf".
Safeguard dodgy FSD destination frequencies in incoming packets.
Updated version number & ChangeLog
FIXED bug with FPL detail comparison with AltFlSpec
Home
Wishlist
Merge divergent branches
Merge branch 'improved-acft-db' into 'master'
Ready for 1.9 release
Reordered "ACFT" drop-down in scope panels. Minor code sweep.
Corrected issue with additional viewer removal (and clarified confusion between "selected" and "activated").
Auto central radar panel when first time at location with confirmed SSR capability. FIXED: crash when opening new location.
Packed FPL button actions.
IMPROVED channel selection in ATC chat panel.
Radar measurements logged in a nicer pop-up text edit box. Fixed problem with initial central panel.
FIXED bug with restoring docked central panel. CHANGED: lighter/easier radar measurement logging system (no text prompts, more info on console, one line per measurement action).
REPLACED use of Telnetlib (removed with Python 3.13).
Persistent CPDLC/teaching central panel selection actions, and flash after their show/raise actions like their counterpart docks.
MOVED tower and additional viewer actions to system menu, and packed the latter in a nicer dialog interface.
CHANGED central workspace area (again): removed tabs, new docking mechanism allowing empty area (free use of space by side docks).
ADDED: "Listed only" button in CPDLC panel.
Reworking central area panels and docking, including CPDLC panel and teaching console. Collected CPDLC connection windows in single CPDLC panel.
ADDED: keyboard shortcut for Mach number display toggle (all scopes).
Gave all QMenus a parent widget (were not responsive to QSS stylesheets).
Unlimited XPDR assignment ranges
ADDED: known ACFT types
ADDED: "received strip auto-link to open FPL" setting.
Allow helos to break out of a hold on "make straight-in" instruction. Make all keyboard action shortcuts application-wide.
Avoid crash on lowercase AD code used as cmd line arg. Start equipping speech recognition with helo instructions.
CORRECTED bug with solo GND traffic initial contact. PocketSphinx Decoder init update.
MODIFIED "close CPDLC windows" action to "close non-dockable windows", including all modeless windows except main window docks and workspace pop-outs.
Improved departure clearance integration.
UPDATED: surface types to implement X-plane apt.dat v12. ADDED: sounds to distinguish phone and CPDLC notifications.
Reworked ATIS dialog and actions
Separated loc info and stats (old "env. info")
Helipad use