Re: [python-win32] COM registration hangs up: 32 bit Python 3.7 on 64 bit Win 7

2018-12-04 Thread Boylan, Ross
Sorry: previous message went out before complete. Terminal: Z:\FahyGroup\Ross Boylan\Wk devel>py BSTImport.py --debug aatmpt_bst In main. Attempting to register. Args = ['BSTImport.py', '--debug'] And then it just sits there. ^C at the terminal does not interrupt it, though I can kill the pytho

Re: [python-win32] win32api.FindFiles hangs

2018-12-04 Thread Boylan, Ross
win32api.FindFiles() works when the argument is "*" or "*.py". It works, in the sense of returning an empty list, if the argument is a random name not present in the directory. But it fails with "BSTImport.py", as well as the name of every file in the directory that I've tried. __

[python-win32] win32api.FindFiles hangs (was COM registration hangs up: 32 bit Python 3.7 on 64 bit Win 7)

2018-12-04 Thread Boylan, Ross
I tried using my 64 bit Python 3.6 and ran into the same problem. Tracing through with pdb, the following line seems to be where it hung up: > c:\program > files\python36\lib\site-packages\win32com\server\register.py(419)RegisterClasses() -> moduleName = os.path.splitext(win32api.FindFiles(sys.arg