Sorry if this isn’t really a Libreoffice question. I have a python script that calls soffice to run a macro. It has been working fine before today.
I’m getting this error message, now:
process = subprocess.call([soffice, ‘macro:///DataLog.Module1.Log(’+maindir+’/Template.ods,’+xlsfile+’,’+join(datedir,split(datedir)[1]+".ods")+’)’]) File “C:\Users\Aaron\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 349, in call with Popen(*popenargs, **kwargs) as p: File “C:\Users\Aaron\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 951, in init self._execute_child(args, executable, preexec_fn, close_fds, File “C:\Users\Aaron\AppData\Local\Programs\Python\Python39\lib\subprocess.py”, line 1420, in _execute_child hp, ht, pid, tid = _winapi.CreateProcess(executable, args, FileNotFoundError: [WinError 2] The system cannot find the file specified
Does anyone have enough experience to help me troubleshoot this? Those line numbers don’t help me any. (_Module1 is only 45 lines long.)