This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jcable
Recipients
Date 2000-12-22.09:40:59
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Probably a problem with the OCX, but clearly a failure in makepy too:

PythonWin 2.0 (#8, Oct 19 2000, 11:30:05) [MSC 32 bit (Intel)] on win32.
Portions Copyright 1994-2000 Mark Hammond (MarkH@ActiveState.com) - see 'Help/About PythonWin' for further copyright information.
>>> Generating to c:\python20\win32com\gen_py\2B143B63-055B-11D2-A96D-00A0C92A2D0Fx0x11x17.py
Traceback (most recent call last):
  File "c:\python20\pythonwin\pywin\framework\scriptutils.py", line 301, in RunScript
    exec codeObject in __main__.__dict__
  File "C:\Python20\win32com\client\makepy.py", line 357, in ?
    rc = main()
  File "C:\Python20\win32com\client\makepy.py", line 350, in main
    GenerateFromTypeLibSpec(arg, f, verboseLevel = verboseLevel, bForDemand = bForDemand, bBuildHidden = hiddenSpec)
  File "C:\Python20\win32com\client\makepy.py", line 254, in GenerateFromTypeLibSpec
    gen.generate(fileUse, bForDemand)
  File "c:\python20\win32com\client\genpy.py", line 665, in generate
    self.do_generate()
  File "c:\python20\win32com\client\genpy.py", line 719, in do_generate
    oleItems, enumItems, recordItems = self.BuildOleItemsFromType()
  File "c:\python20\win32com\client\genpy.py", line 620, in BuildOleItemsFromType
    refType = info.GetRefTypeInfo(info.GetRefTypeOfImplType(j))
com_error: (-2147312566, 'Error loading type library/DLL.', None, None)
>>> 

The offending ocx can be found at:

http://homepage.ntlworld.com/julian.cable/hcwWinTV.ocx
History
Date User Action Args
2007-08-23 13:52:31adminlinkissue226665 messages
2007-08-23 13:52:31admincreate