#1899 closed defect (wontfix)
comtypes runtime error with python 3 packaging
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | minor | Milestone: | 2.4 |
Component: | packaging | Version: | 2.3.x |
Keywords: | Cc: |
Description
And it's broken again. comtypes 1.1.5
Related tickets and changesets fixing comtypes problems:
- r18797 + r18798: never include "gen" directory
- r18796 + r14343: silence comtypes, use
XPRA_SILENCE_COMTYPES=0
to show diagnostics - r18790: the network query code that is now broken
- with python 2.7 (OK):
Could not import comtypes.gen, trying to create it. Creating comtypes.gen package failed: [Error 3] The system cannot find the path specified: 'C:\\Program Files\\Xpra\\library.zip\\comtypes\\gen' Created a memory-only package. Creating writeable comtypes cache directory: 'c:\users\win7pr~1\appdata\local\temp\comtypes_cache\Xpra_cmd-27' Using writeable comtypes cache directory: 'c:\users\win7pr~1\appdata\local\temp\comtypes_cache\Xpra_cmd-27' Could not import comtypes.gen._565783C6_CB41_11D1_8B02_00600806D9B6_0_1_2: No module named _565783C6_CB41_11D1_8B02_00600806D9B6_0_1_2 # Generating comtypes.gen._565783C6_CB41_11D1_8B02_00600806D9B6_0_1_2 Could not import comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0: No module named _00020430_0000_0000_C000_000000000046_0_2_0 # Generating comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0 Could not import comtypes.gen.stdole: No module named stdole # Generating comtypes.gen.stdole Could not import comtypes.gen.WbemScripting: No module named WbemScripting # Generating comtypes.gen.WbemScripting
- with python 3.6:
Could not import comtypes.gen, trying to create it. Creating comtypes.gen package failed: [WinError 5] Access is denied: 'C:\\Program Files\\Xpra\\lib\\comtypes\\gen' Created a memory-only package. Creating writeable comtypes cache directory: 'C:\Users\WIN7PR~1\AppData\Local\Temp\comtypes_cache\Xpra_cmd-36' Using writeable comtypes cache directory: 'C:\Users\WIN7PR~1\AppData\Local\Temp\comtypes_cache\Xpra_cmd-36' Could not import comtypes.gen._565783C6_CB41_11D1_8B02_00600806D9B6_0_1_2: No module named 'comtypes.gen._565783C6_CB41_11D1_8B02_00600806D9B6_0_1_2' # Generating comtypes.gen._565783C6_CB41_11D1_8B02_00600806D9B6_0_1_2 Could not import comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0: No module named 'comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0' # Generating comtypes.gen._00020430_0000_0000_C000_000000000046_0_2_0 Could not import comtypes.gen.stdole: No module named 'comtypes.gen.stdole' # Generating comtypes.gen.stdole Error: failed to query network interface: No module named 'comtypes.gen.stdole'
Change History (4)
comment:1 Changed 3 years ago by
Priority: | major → minor |
---|---|
Status: | new → assigned |
comment:2 Changed 3 years ago by
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Not much we can do about this, just use 64-bit builds.
comment:4 Changed 3 months ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1899
Note: See
TracTickets for help on using
tickets.
Exception details:
The error does not occur on the 64-bit build system. No idea why.