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.

classification
Title: makepy crashes parsing "Hauppauge WinTV OCX (b.11)
Type: Stage:
Components: Windows Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: mhammond Nosy List: gvanrossum, jcable, mhammond
Priority: normal Keywords:

Created on 2000-12-22 09:40 by jcable, last changed 2022-04-10 16:03 by admin. This issue is now closed.

Messages (2)
msg2735 - (view) Author: Julian Cable (jcable) Date: 2000-12-22 09:40
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
msg2736 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2000-12-27 22:09
This is a Pythonwin problem, this is not the proper place to report this bug.
Go to the activestate.com website to find out more.
History
Date User Action Args
2022-04-10 16:03:34adminsetgithub: 33629
2000-12-22 09:40:59jcablecreate