473,403 Members | 2,293 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,403 software developers and data experts.

pyTTS says, '"SAPI" not supported'

I'm running Python 2.3 and calling pyTTS. I've had it working forever.

Today, I ran out of disk space. After deleting some of my personal files,
for no apparent reason, pyTTS no longer runs.

For the statement

tts = pyTTS.Create()

I get the error message:

ValueError: "SAPI" not supported

Can anybody help me? What's going on?
Jun 27 '08 #1
1 3209
weheh wrote:
I'm running Python 2.3 and calling pyTTS. I've had it working forever.

Today, I ran out of disk space. After deleting some of my personal files,
for no apparent reason, pyTTS no longer runs.

For the statement

tts = pyTTS.Create()

I get the error message:

ValueError: "SAPI" not supported

Can anybody help me? What's going on?
(Hint: you'd have helped if you'd provided the whole
traceback).

Well, going by pyTTS v3.0 for Python 2.5, that error
comes from the __init__.py of the pyTTS package when
either you've specified a speech package other than
"SAPI" (the default) or the sapi module couldn't be imported.
My conclusion would be that you've accidentally removed some
part of the sapi package.

What happens if you open the interpreter (possibly with -v for
more info) from within the pyTTS folder and and do "import sapi"?

C:\Python25\Lib\site-packages\pyTTS>python -v -c "import sapi"

TJG

Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Alexander Skwar | last post by:
Hello! I'm having problems getting PHP 4.3.3RC4 successfully to install on my HP-UX 11.00 server. After a (successfull?) compile, "make install" errors out with this error message: ...
21
by: comp.lang.tcl | last post by:
set php {<? print_r("Hello World"); ?>} puts $php; # PRINTS OUT <? print_r("Hello World"); ?> puts When I try this within TCL I get the following error:
4
by: inetquestion | last post by:
php has been configured with the following two configure lines and core's during "make install" on the PEAR section. Is there something simple i'm missing? Any help would be appreciated. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.