clawPDF
                                
                                
                                
                                    clawPDF copied to clipboard
                            
                            
                            
                        Autosaving errors
Version 0.9.0
Autosaving: Filename template: Document <DateTime:yyyyMMddHHmmss> JD
Autosaving: Folder name template: N:\printeroutput\<DateTime:yyyyMMddHHmmss> JD
Today I printed three documents shortly after each other. These folders were created:
N:\printeroutput\20231023084417 JD
N:\printeroutput\20231023084431 JD
N:\printeroutput\20231023084443 JD
I want one file per folder, but the second folder was empty and the file that was supposed to go in there was saved into the next folder.
N:\printeroutput\20231023084417 JD\Document 20231023084417 JD.pdf
N:\printeroutput\20231023084431 JD\[ empty folder ]
N:\printeroutput\20231023084443 JD\Document 20231023084443 JD.pdf
N:\printeroutput\20231023084443 JD\Document 20231023084443 JD 2.pdf
The processing must have been stuck somehow. If this happens, the destination folder should not be changed!
from the clawPDF.log:
2023-10-23 08:44:31.6539 [Error] clawSoft.clawPDF.Workflow.ConversionWorkflow.RunWorkflow: clawSoft.clawPDF.Core.Ghostscript.OutputDevices.DeviceException: Error while copying to target file in second attempt. Process gets canceled. clawSoft.clawPDF.Core.Ghostscript.OutputDevices.DeviceException: Error while copying to target file in second attempt. Process gets canceled.
   bei clawSoft.clawPDF.Core.Jobs.AbstractJob.MoveOutputFiles()
   bei clawSoft.clawPDF.Core.Jobs.GhostscriptJob.RunJobWork()
   bei clawSoft.clawPDF.Core.Jobs.AbstractJob.RunJob()
   bei clawSoft.clawPDF.Workflow.ConversionWorkflow.DoWorkflowWork()
   bei clawSoft.clawPDF.Workflow.ConversionWorkflow.RunWorkflow()
2023-10-23 08:44:31.9836 [Error] clawSoft.clawPDF.JobRunner.ProcessJob: The job 'Dokument 20231023084431' terminated at step Convert and did not end successfully. 
I think that after this error the print was retried by the printer spooler and therefore resulted in two files at the same timestamp. Mybe it is due to a race condition. I have got a post-processing tool that renames all direcories and files and replaces " " by "_".