Hi,
I have a python script that opens Excel files to update them with the Xlsx.Workbooks.Open command. When I run the script locally on the server with the “rundeck” account, the script works correctly.
When I run it via rundeck and pywinrm using the same user “rundeck” the Xlsx.Workbooks.Open command is in error :
error \\data\\excel\\Suivi_sav.xlsx\\xa0". Several reasons are possible\\xa0:\\n\\n• The file name or path does not exist. \\n• This file is currently used by another program.\\n• The workbook you are trying to save has the same name as a currently open workbook.", ‘xlmain11.chm’, 0, -2146827284), None).
I have the impression that when I launch via rundeck - pywinrm the user “rundeck” does not have the same rights as when I launch locally while being connected with the user “rundeck”
Do you have any idea about this problem?
THANKS.
Pat