Help with win32 com_error exception
David Stockwell
winexpert at hotmail.com
Sat Jun 2 16:41:37 EDT 2007
Hi Rich,
I've seen errors like this before. first off it will help you better if you
represent your error in hex. Doing so yields this
FFFFFFFF80020009 <==> -2147352567
0xFFFFFFFF 0x80020009
Anyways, its probably the result of something not being either
registered/installed correctly (COM issue) or something else.
Under COM I believe thats a standard issue just telling you that something
unexpected occurred. I'd take a look at http://msdn.microsoft.com.
Good Luck
David Stockwell
Lanham, MD
>From: "Richard Gordon" <weheh at verizon.net>
>To: python-list at python.org
>Subject: Help with win32 com_error exception
>Date: Sat, 02 Jun 2007 20:28:56 GMT
>MIME-Version: 1.0
>Received: from smtp-vbr6.xs4all.nl ([194.109.24.26]) by
>bay0-mc10-f17.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2668); Sat,
>2 Jun 2007 13:31:22 -0700
>Received: from bag.python.org (bag.python.org [194.109.207.14])by
>smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id l52KVLxg031447for
><winexpert at hotmail.com>; Sat, 2 Jun 2007 22:31:21 +0200
>(CEST)(envelope-from python-list-bounces+winexpert=hotmail.com at python.org)
>Received: from bag.python.org (bag [127.0.0.1])by bag.python.org (Postfix)
>with ESMTP id 6421A1E4012for <winexpert at hotmail.com>; Sat, 2 Jun 2007
>22:31:21 +0200 (CEST)
>X-Message-Info:
>oG9qAjD2BNEKOO/ojloMHZY07EZB5Us4bOLWVGLHXVIL+amzV6Z4QzwmLaq+zJlt
>Path:
>news.xs4all.nl!newsspool.news.xs4all.nl!transit.news.xs4all.nl!xs4all!transit1.news.tiscali.nl!tiscali!newsfeed1.ip.tiscali.net!news.tiscali.de!newsfeed.freenet.de!newspeer1.nwr.nac.net!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller.gnilink.net!gnilink.net!trnddc08.POSTED!0775c1e7!not-for-mail
>Newsgroups: comp.lang.python
>Lines: 47
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
>X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
>X-RFC2646: Format=Flowed; Original
>NNTP-Posting-Host: 70.17.187.153
>X-Complaints-To: abuse at verizon.net
>X-Trace: trnddc08 1180816136 70.17.187.153 (Sat, 02 Jun 2007 16:28:56 EDT)
>NNTP-Posting-Date: Sat, 02 Jun 2007 16:28:56 EDT
>Xref: news.xs4all.nl comp.lang.python:497807
>X-BeenThere: python-list at python.org
>X-Mailman-Version: 2.1.9
>Precedence: list
>List-Id: General discussion list for the Python programming
>language<python-list.python.org>
>List-Unsubscribe:
><http://mail.python.org/mailman/listinfo/python-list>,<mailto:python-list-request at python.org?subject=unsubscribe>
>List-Archive: <http://mail.python.org/pipermail/python-list>
>List-Post: <mailto:python-list at python.org>
>List-Help: <mailto:python-list-request at python.org?subject=help>
>List-Subscribe:
><http://mail.python.org/mailman/listinfo/python-list>,<mailto:python-list-request at python.org?subject=subscribe>
>Errors-To: python-list-bounces+winexpert=hotmail.com at python.org
>X-Virus-Scanned: by XS4ALL Virus Scanner
>Return-Path: python-list-bounces+winexpert=hotmail.com at python.org
>X-OriginalArrivalTime: 02 Jun 2007 20:31:22.0646 (UTC)
>FILETIME=[FBF71B60:01C7A554]
>
>Sorry if this is sent twice, but I didn't see it get posted the first time.
>
>I've got a fatal bug using Parente's pyTTS with Python 2.3 on Windoze 32
>using MS SAPI 5.1 and Hammond's win32 module. The test program is
> import pyTTS
> tts = pyTTS.Create()
> tts.Speak('Hello world.')
>
>The resulting debug trace is:
>
> PythonWin 2.3.5 (#62, Feb 8 2005, 16:23:02) [MSC v.1200 32 bit (Intel)]
>on win32.
> Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin'
>for
>further copyright information.
> Traceback (most recent call last):
> File
>"C:\PROGRA~1\Python23\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py",
>line 307, in RunScript
> debugger.run(codeObject, __main__.__dict__, start_stepping=0)
> File
>"C:\PROGRA~1\Python23\Lib\site-packages\pythonwin\pywin\debugger\__init__.py",
>line 60, in run
> _GetCurrentDebugger().run(cmd, globals,locals, start_stepping)
> File
>"C:\PROGRA~1\Python23\Lib\site-packages\pythonwin\pywin\debugger\debugger.py",
>line 631, in run
> exec cmd in globals, locals
> File "C:\yakitome\test\examples\ex1.py", line 4, in ?
> tts.Speak('Hello world.')
> File "C:\PROGRA~1\Python23\Lib\site-packages\pyTTS\sapi.py", line 213,
>in Speak
> self.speech.Speak(text, flagsum)
> File "C:\Program
>Files\Python23\lib\site-packages\win32com\gen_py\C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x0.py",
>line 2637, in Speak
> , Flags)
> com_error: (-2147352567, 'Exception occurred.', (0, None, None, None,
>0, -2147201015), None)
> >>>
>
>The system does not have a sound card --- could that be an issue?
>
>My head is about to explode trying to solve this problem, so your help and
>suggestions will be much appreciated.
>
>
>
>--
>http://mail.python.org/mailman/listinfo/python-list
_________________________________________________________________
Dont miss your chance to WIN $10,000 and other great prizes from Microsoft
Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/
More information about the Python-list
mailing list