Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.4.1 breaks pyTTS #41825

Closed
deyke mannequin opened this issue Apr 7, 2005 · 5 comments
Closed

2.4.1 breaks pyTTS #41825

deyke mannequin opened this issue Apr 7, 2005 · 5 comments

Comments

@deyke
Copy link
Mannequin

deyke mannequin commented Apr 7, 2005

BPO 1178624
Nosy @doerwalter

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2005-04-21.20:57:54.000>
created_at = <Date 2005-04-07.15:25:24.000>
labels = []
title = '2.4.1 breaks pyTTS'
updated_at = <Date 2005-04-21.20:57:54.000>
user = 'https://bugs.python.org/deyke'

bugs.python.org fields:

activity = <Date 2005-04-21.20:57:54.000>
actor = 'doerwalter'
assignee = 'none'
closed = True
closed_date = None
closer = None
components = ['None']
creation = <Date 2005-04-07.15:25:24.000>
creator = 'deyke'
dependencies = []
files = []
hgrepos = []
issue_num = 1178624
keywords = []
message_count = 5.0
messages = ['24958', '24959', '24960', '24961', '24962']
nosy_count = 2.0
nosy_names = ['doerwalter', 'deyke']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue1178624'
versions = []

@deyke
Copy link
Mannequin Author

deyke mannequin commented Apr 7, 2005

On my Windows XP PRO SP2 system, the combination of

Python 2.4, pywin32-203.win32-py2.4, and
pyTTS-3.0.win32-py2.4 did work. Updating to 2.4.1 broke
pyTTS. Removing everythin, then installing 2.4.1,
win32, and pyTTS resulted in the same failure. Removing
everything again, and installing 2.4, win32, and pyTTS
fixed it again.

The problem is that with 2.4.1 pyTTS reported that
"SAPI" was not supported. Looking deeper I saw that it
got a syntax error reading a generated com interface file.

@deyke deyke mannequin closed this as completed Apr 7, 2005
@deyke deyke mannequin closed this as completed Apr 7, 2005
@doerwalter
Copy link
Contributor

Logged In: YES
user_id=89016

Can you post the generated inferface file? Does this file
contain long lines? Does it use a PEP-263 encoding directive?

@deyke
Copy link
Mannequin Author

deyke mannequin commented Apr 7, 2005

Logged In: YES
user_id=132928

I attached the generated interface file. Loading this file
into python by itself does NOT generate an error, but going
into the pyTTS dir, starting python, and typing "import
sapi" shows:

C:\Python24\Lib\site-packages\pyTTS>python
Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more
information.
>>> import sapi
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "C:\Python24\lib\site-packages\pyTTS\sapi.py", line
10, in ?
    sapi_mod =
gencache.EnsureModule('{C866CA3A-32F7-11D2-9602-00C04F8EE628}',
0
, 5, 0)
  File
"C:\Python24\lib\site-packages\win32com\client\gencache.py",
line 393, in
 EnsureModule
    module = GetModuleForTypelib(typelibCLSID, lcid, major,
minor)
  File
"C:\Python24\lib\site-packages\win32com\client\gencache.py",
line 258, in
 GetModuleForTypelib
    mod = _GetModule(modName)
  File
"C:\Python24\lib\site-packages\win32com\client\gencache.py",
line 629, in
 _GetModule
    mod = __import__(mod_name)
  File
"C:\Python24\lib\site-packages\win32com\gen_py\C866CA3A-32F7-11D2-9602-00
C04F8EE628x0x5x0.py", line 1192
    """Add"""
    ^
SyntaxError: invalid syntax
>>>

@doerwalter
Copy link
Contributor

Logged In: YES
user_id=89016

There's no uploaded file! You have to check the
checkbox labeled "Check to Upload & Attach File"
when you upload a file.

Please try again.

(This is a SourceForge annoyance that we can do
nothing about. :-( )

@doerwalter
Copy link
Contributor

Logged In: YES
user_id=89016

I think this is a duplicate of 1175396, so I'm closing the
report.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant