[python-win32] makepy exception

Reinhammar Maria maria.reinhammar at swisslog-accalon.com
Fri Feb 1 10:40:48 CET 2008


Hi all,

 

Any advice to give on this?

(python 2.5.1, win32 ext 210)

 

D:\Python25\Lib\site-packages\win32com\client>"D:\Python25\python.exe"
makepy.py -d SmarTeam.Std.SessionManagement.Authentication.Modules.tlb

Generating to
D:\Python25\lib\site-packages\win32com\gen_py\69661005-524C-44A4-B1B8-9E
4B3C6940C3x0x5x18\__init__.py

Building definitions from type library...

Traceback (most recent call last):

  File "makepy.py", line 370, in <module>

    rc = main()

  File "makepy.py", line 363, in main

    GenerateFromTypeLibSpec(arg, f, verboseLevel = verboseLevel,
bForDemand = bForDemand, bBuildHidden = hiddenSpec)

  File "makepy.py", line 264, in GenerateFromTypeLibSpec

    gen.generate(fileUse, bForDemand)

  File "D:\Python25\lib\site-packages\win32com\client\genpy.py", line
770, in generate

    self.do_generate()

  File "D:\Python25\lib\site-packages\win32com\client\genpy.py", line
831, in do_generate

    oleItems, enumItems, recordItems, vtableItems =
self.BuildOleItemsFromType()

  File "D:\Python25\lib\site-packages\win32com\client\genpy.py", line
745, in BuildOleItemsFromType

    oleItem, vtableItem = self._Build_Interface(type_info_tuple)

  File "D:\Python25\lib\site-packages\win32com\client\genpy.py", line
713, in _Build_Interface

    oleItem = DispatchItem(info, attr, doc)

  File "D:\Python25\lib\site-packages\win32com\client\genpy.py", line
266, in __init__

    build.DispatchItem.__init__(self, typeinfo, attr, doc)

  File "D:\Python25\lib\site-packages\win32com\client\build.py", line
113, in __init__

    self.Build(typeinfo, attr, bForUser)

  File "D:\Python25\lib\site-packages\win32com\client\build.py", line
261, in Build

    self._AddFunc_(typeinfo,fdesc,bForUser)

  File "D:\Python25\lib\site-packages\win32com\client\build.py", line
174, in _AddFunc_

    typerepr, resultCLSID, resultDoc = _ResolveType(typerepr, typeinfo)

  File "D:\Python25\lib\site-packages\win32com\client\build.py", line
438, in _ResolveType

    subrepr, sub_clsid, sub_doc = _ResolveType(subrepr, itypeinfo)

  File "D:\Python25\lib\site-packages\win32com\client\build.py", line
454, in _ResolveType

    resultTypeInfo = itypeinfo.GetRefTypeInfo(subrepr)

pywintypes.com_error: (-2147319765, 'Element not found.', None, None)

 

D:\Python25\Lib\site-packages\win32com\client>

 

Regards//

Maria Reinhammar
Software Engineer

Swisslog-Accalon AB

************************************************************************
************************

CONFIDENTIALITY AND DISCLAIMER

This e-mail and its attachments are intended for the above named
addressee(s) only and may be confidential. If the mail has come to you
in error please reply to this e-mail and highlight the error. In
addition, we kindly ask you to destroy the Mail. 

Please be aware that we disclaim all liability for the integrity or for
the accuracy of this Mail, as transmissions via Internet are not error
free communications medium. 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20080201/c0149b68/attachment-0001.htm 


More information about the python-win32 mailing list