Xpra: Ticket #1899: comtypes runtime error with python 3 packaging

And it's broken again. comtypes 1.1.5

Related tickets and changesets fixing comtypes problems:

Thu, 05 Jul 2018 12:08:06 GMT - Antoine Martin: priority, status changed

Exception details:

Traceback (most recent call last):
  File "E:\Xpra\trunk\src/xpra/platform/win32/netdev_query.py", line 18, in get_interface_info
    o = CreateObject("WbemScripting.SWbemLocator")
  File "C:/msys32/mingw32/lib/python3.6/site-packages/comtypes-1.1.5-py3.6.egg/comtypes/client/__init__.py", line 250, in CreateObject
    return _manage(obj, clsid, interface=interface)
  File "C:/msys32/mingw32/lib/python3.6/site-packages/comtypes-1.1.5-py3.6.egg/comtypes/client/__init__.py", line 188, in _manage
    obj = GetBestInterface(obj)
  File "C:/msys32/mingw32/lib/python3.6/site-packages/comtypes-1.1.5-py3.6.egg/comtypes/client/__init__.py", line 112, in GetBestInterface
    interface = getattr(mod, itf_name)
AttributeError: module 'comtypes.gen.WbemScripting' has no attribute 'ISWbemLocator'

The error does not occur on the 64-bit build system. No idea why.

Tue, 10 Jul 2018 12:53:46 GMT - Antoine Martin: status changed; resolution set

Not much we can do about this, just use 64-bit builds.

Thu, 12 Mar 2020 06:23:57 GMT - Antoine Martin:

See also: #2573

Sat, 23 Jan 2021 05:36:45 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1899