Python Forum
Python COMError: (-2147024894,: The system cannot find the file specified. ', (None, - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Python COMError: (-2147024894,: The system cannot find the file specified. ', (None, (/thread-12109.html)



Python COMError: (-2147024894,: The system cannot find the file specified. ', (None, - quant82 - Aug-09-2018

i am using python to open a COM Object to load some stuff from factset. if i do so i get to following error:


maybe someone can help, i tryed many different ways to give a file and path...


from comtypes.client import CreateObject
fs = CreateObject("FactSet.FactSet_API.1")

tempFile = r'C:\Temp\test.xls'

fs.RunApplication('Downloading',tempFile)
Error:
COMError: -2147024894,: The system cannot find the file specified. ', (None, None, None, 0, None))