Rank 2: Process
Hello there! I have a function i use to create PDF´s. i use latex to create a template and generate the PDFs. heres the thing:
ive added texlive into my server in the Docker Container for python, but i still get this error:
File "/usr/local/server/src/server.py", line 163, in action output = await asyncio.wait_for(execute(context), timeout=safeTimeout) File "/usr/local/lib/python3.9/asyncio/tasks.py", line 479, in wait_for return fut.result() File "/usr/local/server/src/server.py", line 156, in execute output = userModule.main(context) File "/usr/local/server/src/function/entrypoint.py", line 14, in main return generatePDF.generatepdf() File "/usr/local/server/src/function/generatePDF.py", line 158, in generatepdf result = subprocess.run( File "/usr/local/lib/python3.9/subprocess.py", line 505, in run with Popen(*popenargs, **kwargs) as process: File "/usr/local/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/local/lib/python3.9/subprocess.py", line 1837, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename)FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/pdftex'```
How would i add that requirement into my self hosted appwrite?