It has been quite a trip to just get to a point where I can get a useful log, our customer's server is incredibly restricted and there were numerous issues to workaround to get to this point.
I added some options so that I could pass a custom directory for it to write the output to and so that I could add -debug to the logging and received the below message. We're using a python script to get all the database info, download the .rpt file and call Report Commander. If I run the python script, I get the error. If I run Report Commander Command Line Builder with the same parameters (or as close to as I can), it does work mostly okay.
2021-09-27 23:00:41
Debug
Exporting report to C:\Program Files (x86)\ReportQueuePython\~326524715c724e9c9ae9de417a1ce00a.pdf
2021-09-27 23:00:53
Error
Export failed: The system cannot find the path specified.
Exception detail: System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
at CrystalDecisions.ReportAppServer.Controllers.ReportSourceClass.Export(ExportOptions pExportOptions, RequestContext pRequestContext)
at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export(ExportOptions options)
at #Lwd.#Kwd.#Ck(#Rvd , FileOutput )
2021-09-27 23:00:53
Info
Sending e-mail for task Send e-mail with subject "Sales Order"
2021-09-27 23:00:53
Warning
E-mail task Send e-mail with subject "Sales Order" is configured to attach an output that was not produced (Sales Order : Output Group 1 : Export). The e-mail message cannot be sent.