File Name with length 22 Bug

Dear,

I am using PDFCreator 3.4.0 on Windows 10 and drag and drop a PDF file (Please try drag and drop more than once) with file name length is exactly 22 (Div_PF001_20180122_bak.pdf), an error occur when create and retrieve the PDFCreator temp folder (see below). Please help to fix the problem. Thanks.

2019-12-23 14:36:29.2939 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.UI.Presentation.Assistants.FileConversionAssistant.HandleFileList: Launched Drag & Drop
2019-12-23 14:36:29.3095 [Trace] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversionInfFileHelper.CreateJobFolderInSpool: Created spool directory for ps-file job: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\Div_PF001_20180122_bak.
2019-12-23 14:36:29.3095 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversionInfFileHelper.CopyFileToJobFolder: Copied direct conversion file to spool folder: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\Div_PF001_20180122_bak.\uwe14sbc.wbm.pdf
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversionInfFileHelper.CreateInfFile: Created inf-file for ps-file: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\Div_PF001_20180122_bak.\Div_PF001_20.inf
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversion.ConvertDirectly: Adding new job.
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: New JobInfo: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\Div_PF001_20180122_bak\Div_PF001_20.inf
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: DocumentTitle: Div_PF001_20180122_bak
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: ClientComputer: PC0419
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: SessionId: 1
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: PrinterName:
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: JobCounter: 0
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: JobId: 0
2019-12-23 14:36:29.3876 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: Added JobInfo: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\Div_PF001_20180122_bak\Div_PF001_20.inf
2019-12-23 14:36:29.4032 [Debug] 14604-10 (MainWindowThread) pdfforge.PDFCreator.Utilities.Threading.ThreadManager.StartSynchronizedThread: Adding thread ProcessingThread

2019-12-23 14:36:29.4032 [Debug] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJobs: New PrintJob C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\Div_PF001_20180122_bak.\Div_PF001_20.inf from Printer
2019-12-23 14:36:29.4032 [Trace] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: Creating job workflow
2019-12-23 14:36:29.4032 [Trace] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobBuilder.BuildJobFromJobInfo: Building Job from JobInfo
2019-12-23 14:36:29.4032 [Debug] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobBuilder.BuildJobFromJobInfo: Profile: (GUID DefaultGuid)
2019-12-23 14:36:29.4442 [Trace] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: Running workflow
2019-12-23 14:36:29.4470 [Debug] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.ConversionWorkflow.PrepareAndRun: Starting conversion...
2019-12-23 14:36:29.4470 [Debug] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobDataUpdater.GetNumberOfCopies: Number of copies from source files: 1
2019-12-23 14:36:29.4470 [Debug] 14604-19 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.PageNumberCalculator.NumberOfPagesFromSourceFiles: Number of pages from source files: 1
2019-12-23 14:36:29.4470 [Debug] 14604-19 (ProcessingThread) pdfforge.PDFCreator.UI.Presentation.Workflow.InteractiveWorkflow.DoWorkflowWork: Starting PrintJobWindow

Hi,

this is most likely fixed in PDFCreator 3.5.1, please update and let us know if you still encounter the issue afterwads.

Best regards

Robin

How about another case that file name with length more than 22 characters with a space at position 23 (PF001_PF001_2_ALLSpace Report311213.pdf)? Thanks.

2019-12-24 14:21:47.1263 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.UI.Presentation.Assistants.FileConversionAssistant.HandleFileList: Launched Drag & Drop
2019-12-24 14:21:47.1263 [Trace] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversionInfFileHelper.CreateJobFolderInSpool: Created spool directory for ps-file job: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\PF001_PF001_2_ALLSpace
2019-12-24 14:21:47.1263 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversionInfFileHelper.CopyFileToJobFolder: Copied direct conversion file to spool folder: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\PF001_PF001_2_ALLSpace \vg5oqcxh.zcw.pdf
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversionInfFileHelper.CreateInfFile: Created inf-file for ps-file: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\PF001_PF001_2_ALLSpace \PF001_PF001_.inf
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.DirectConversion.DirectConversion.ConvertDirectly: Adding new job.
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: New JobInfo: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\PF001_PF001_2_ALLSpace\PF001_PF001_.inf
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: DocumentTitle: PF001_PF001_2_ALLSpace Report311213
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: ClientComputer: XXXX
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: SessionId: 1
2019-12-24 14:21:47.1417 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: PrinterName:
2019-12-24 14:21:47.1573 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: JobCounter: 0
2019-12-24 14:21:47.1573 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: JobId: 0
2019-12-24 14:21:47.1573 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueue.Add: Added JobInfo: C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\PF001_PF001_2_ALLSpace\PF001_PF001_.inf
2019-12-24 14:21:47.1573 [Debug] 520-10 (MainWindowThread) pdfforge.PDFCreator.Utilities.Threading.ThreadManager.StartSynchronizedThread: Adding thread ProcessingThread
2019-12-24 14:21:47.1573 [Debug] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJobs: New PrintJob C:\Users\xxxx\AppData\Local\Temp\PDFCreator\Spool\PF001_PF001_2_ALLSpace \PF001_PF001_.inf from Printer
2019-12-24 14:21:47.1573 [Trace] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: Creating job workflow
2019-12-24 14:21:47.1573 [Trace] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobBuilder.BuildJobFromJobInfo: Building Job from JobInfo
2019-12-24 14:21:47.1573 [Debug] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobBuilder.BuildJobFromJobInfo: Profile: (GUID DefaultGuid)
2019-12-24 14:21:47.1573 [Trace] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobInfoQueueManager.ProcessJob: Running workflow
2019-12-24 14:21:47.1573 [Debug] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.ConversionWorkflow.PrepareAndRun: Starting conversion...
2019-12-24 14:21:47.1573 [Debug] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.JobDataUpdater.GetNumberOfCopies: Number of copies from source files: 1
2019-12-24 14:21:47.1573 [Debug] 520-23 (ProcessingThread) pdfforge.PDFCreator.Core.Workflow.PageNumberCalculator.NumberOfPagesFromSourceFiles: Number of pages from source files: 1

Error not yet fixed. Please help to check. Thanks.

Hi,

while neither of your logs contain the actual error, I did also encounter an issue when trying to drag & drop a PDF with the given file name (PF001_PF001_2_ALLSpace Report311213) onto PDFCreator, but it only happened during the first attempt. Do you get an internal Ghostscript error when this happens and do you also only get it some of the time?

Best regards

Robin

Seems the problem is the program will create a temp folder with shorten name. It create a folder name "C:\Temp...\PF001_PF001_2_ALLSpace" (Note: without a space at the end), but the program retrieve the pdf "C:\Temp...\PF001_PF001_2_ALLSpace \vg5oqcxh.zcw.pdf" (Note: with a space at the end).

When you try to drag and drop the same pdf file again, the program find the folder exists and create another folder named "PF001_PF001_2_ALLSpace _2" (Note: with a space in between). The program is able to retrieve the pdf "C:Temp...\PF001_PF001_2_ALLSpace _2\vg5oqcxh.zcw.pdf" now and without any error.

Error

1 Like

Thanks for the help, nicely spotted. I will check if this is already fixed in production code or create a ticket to get it fixed for the next update.

Best regards

Robin

Thank you for your quick response.

Anyway, we already bypass the exception by rename the file name before passing the file to PDFCreator.:joy:

Mesmo notificando os técnicos do Pdf Creator, o bug ainda está presente na versão 4.2.0.10
Alguém já encontrou uma solução melhor do que ter que retirar o espaço da posição 23?

Hi Vinicius,

this should be fixed in 4.2.0. Can you describe your workflow (path, filename etc.) please, that we can reproduce it on our side?

Best Frank