Text to speech will crash on Mac

Bug #808003 reported by Milan Boers
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenTeacher
3.x
Won't Fix
Medium
Milan Boers

Bug Description

TTS module pyttsx package (mac part: nsss.py) has not yet been adjusted to the module manager and will crash on Mac.

Changed in openteacher:
importance: Undecided → Medium
assignee: nobody → Milan Boers (milan-boers)
Changed in openteacher:
status: New → Triaged
milestone: none → 3.0
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

I recently made pyratemp into a 'real' library like PyQt4 from the perspective of the modules (it's just next to openteacher.py now). Is it an idea to do the same for TTS? That would solve this thing and would make updating a lot easier. And then we can also sayy that our policy is to use import_ only for module code, not for libraries.

I can understand that moving TTS out may be too much work now for 3.0, but something to keep in mind for the rest of the 3.x series. And maybe it's faster than doing this stuff for mac ;).

Changed in openteacher:
status: Triaged → Confirmed
Changed in openteacher:
milestone: 3.0 → 3.1
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

http://pkgs.fedoraproject.org/cgit/openteacher.git/plain/openteacher-3.0-system-pyttsx.patch?h=f17&id=f3c1df0fada471bf8e4c8c19d19b2f7806a4e5a9

Fedora does already do what I proposed in my last comment since they ship pyttsx in their repo's. If it's as easy as it looks (I guess they tested it), it's the way to go I think.

Changed in openteacher:
status: Confirmed → Triaged
Revision history for this message
Marten de Vries (marten-de-vries) wrote :

Solution postponed for now: TTS is just disabled on Mac.

Revision history for this message
Marten de Vries (marten-de-vries) wrote :

OT now uses a normal version of pyttsx (without adjustments), which avoids this bug & also gives nicer (and less) code than with all the separate espeak stuff.

no longer affects: openteacher
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.