[pywin32-bugs] [ pywin32-Bugs-829513 ] Word 10.0 CentimetersToPoints crashes
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2004-04-22 08:53:32
|
Bugs item #829513, was opened at 2003-10-24 20:48 Message generated for change (Comment added) made by mhammond You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=829513&group_id=78018 Category: None Group: None >Status: Closed >Resolution: Invalid Priority: 5 Submitted By: Reinhard König (rkoenigts) Assigned to: Nobody/Anonymous (nobody) Summary: Word 10.0 CentimetersToPoints crashes Initial Comment: I'm using Python 2.3.1 with win32all-157 and have used makepy for the Word 10.0 object library. I get: Python 2.3 (#46, Jul 29 2003, 18:54:32) [MSC v.1200 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import win32com.client >>> app = win32com.client.Dispatch("Word.Application") >>> app.CentimetersToPoints(3.) Traceback (most recent call last): File "<stdin>", line 1, in ? File "00020905-0000-0000-C000-000000000046x0x8x2.py", line 16324, in CentimetersToPoints return self._oleobj_.InvokeTypes(371, LCID, 1, (4, 0), ((4, 1),),Centimeters) pywintypes.com_error: (-2147467259, 'Unbekannter Fehler', None, None) >>> CentimetersToPoints is a method of Application, so, the invoation should be ok? ---------------------------------------------------------------------- >Comment By: Mark Hammond (mhammond) Date: 2004-04-22 18:53 Message: Logged In: YES user_id=14198 I'm not sure what the problem is, but it doesn't appear related to Python. The following vbscript code fails in the same way: set app = CreateObject("Word.Application") app.CentimetersToPoints(3.0) ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=829513&group_id=78018 |