Hi, I get this error message in the Toolkit section.
A listing of the unzipped files is also attached.
Is there anything particular that I might try to overcome the messages?
I have tried several pdf files.
Thanks,
Cyril
and was able to perform a dump of the PDF file on my system without a problem. Of course, I am not sure the file is identical to the file you were trying.
a. If this problem occurs only with specific PDFs, please upload a copy of a small example or provide me a link to one which I can download.
b. If this problem occurs with all PDFs, try downloading the following sample PDF from Adobe and confirm that it also has the same problem with the 'Dump' tool. This is a sample file I use in the User Guide (pages 25-28) when discussing the 'Dump' tool.
Does the problem occur with just the 'Dump' action of Tool Set 1 shown in your screenshot or with other (or all) tools on the Tool Set tab?
I noticed from your screenshot of the 'Dump' action that the 'Build' button is disabled. This would indicate that the program died while processing the 'Dump' command and never completed. The 'Build' button in the output row of buttons at the bottom of the form should be enabled when a source PDF file is selected for a 'Dump. The button will be temporarily disabled when the 'Build' button is clicked and re-enabled when the execution is completed. The text of the dump report should be displayed in a separate window in Notepad (or whatever app you're using for .txt files) and saved in a data.txt file in the same folder as the source PDF. Since it appears to have died before completing execution, I assume you did not get a display of the text of the dump report. This behavior would tend to suggest the problem is not with the GUI code (which is very simple for a 'Dump' command) but rather is coming from PDFtk, problematic PDF files, or a problem with you Windows system.
Other questions:
What version of Windows are you on?
Are you experiencing any other problems with your system?
What apps are being used for display of .txt and .pdf file with your setup of PDFtk Builder Enhanced?
Did you make any modifications to default .ini file' e.g., to change the location or version of PDFtk or the apps used to display .txt and .pdf files?
FYI: Your screenshot did reveal another problem which has gone unnoticed for a couple of years and I think is unrelated to your $C000135 error message. While the 'Build' button is disabled in your screenshot as discussed above, I see that the 'View', 'Locate' and 'Pipe' buttons are enabled, presumably from some previous command (dump?) that did not display output PDF file name below the buttons. When a 'dump' operation is performed, a new PDF is not created; only a separate report file (data.txt) is generated. Therefore, the enabled/disabled status of the 'View', 'Locate' and 'Pipe' buttons and name of the most recent output PDF should not be affected when the 'Build' button is clicked to perform the 'Dump' or any other tool in Tool Sets 1-4 that produces no output PDF; e.g. 'Unpack Files' (Attachments). I have already prepared v4.1.5 to fix this separate problem and will post it soon.
Last edit: David King 2019-10-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
ADDENDUM: You can also do the following to determine whether the GUI is involved in the problem you are experiencing. The following will run the pdftk directly from the command line to execute a dump_data command without using the GUI.
(1) Open your PDFtk Builder Enhanced folder in Windows Explorer.
(2) Copy a PDF file which is giving you problems to the folder and rename the file: in.pdf.
(3) Open a cmd prompt in the folder.
Note: If you do not know how, create the following two-line text file with Notepad in the folder and name it Cmd Prompt Here.bat. Then click on the the resulting .bat file from Windows Explorer.
cd /d %~dp0
cmd.exe
(4) Enter the following pdftk command at the command prompt and then press Return.
pdftk in.pdf dump_data output in_data.txt
If the pdftk command executes properly, a dump report file (in_data.txt) should be generated.
(5) Enter the following cmd at the cmd prompt to list the file.
typein_data.txt
or click on the file in_data.txt from Windows Explorer.
If a proper report file is produced, this would indicate there is some problem with the GUI or incompatibility between the GUI and your system. If a PDFtk error is generated or a proper report file is not produced, then then problem is likely with PDFtk, the PDF file, or your system.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
libiconv2.dll is a GNU Win32 package used by pdftk.exe to convert character encodings in international environments. I have never had a need to use it with PDFtk but it is included in the download of PDFtk Server from the pdflabs.com web site and is also available from gnu.org. I have added a copy of the file to the download file PDftkBuilder-4.1.5-portable.zip.
Download the .zip file again and copy the added libiconv2.dll file to your PDFtk Builder folder.
Let me know if that resolves your problem.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I get this error message in the Toolkit section.
A listing of the unzipped files is also attached.
Is there anything particular that I might try to overcome the messages?
I have tried several pdf files.
Thanks,
Cyril
I have never encountered such an error and an unable to reproduce it with the info provided. Your list of installed files looks OK though.
Does this problem occur with the 'Dump' tool for all source PDFs or just specific PDF files?
I downloaded a 277-page PDF of the Sidis manuscript shown in your screenshot from:
http://www.mortenbrask.com/wp-content/uploads/The-tribes-and-the-states-SIDIS.pdf
and was able to perform a dump of the PDF file on my system without a problem. Of course, I am not sure the file is identical to the file you were trying.
a. If this problem occurs only with specific PDFs, please upload a copy of a small example or provide me a link to one which I can download.
b. If this problem occurs with all PDFs, try downloading the following sample PDF from Adobe and confirm that it also has the same problem with the 'Dump' tool. This is a sample file I use in the User Guide (pages 25-28) when discussing the 'Dump' tool.
https://www.adobe.com/content/dam/acom/en/devnet/acrobat/pdfs/pdf_open_parameters.pdf
Does the problem occur with just the 'Dump' action of Tool Set 1 shown in your screenshot or with other (or all) tools on the Tool Set tab?
I noticed from your screenshot of the 'Dump' action that the 'Build' button is disabled. This would indicate that the program died while processing the 'Dump' command and never completed. The 'Build' button in the output row of buttons at the bottom of the form should be enabled when a source PDF file is selected for a 'Dump. The button will be temporarily disabled when the 'Build' button is clicked and re-enabled when the execution is completed. The text of the dump report should be displayed in a separate window in Notepad (or whatever app you're using for .txt files) and saved in a data.txt file in the same folder as the source PDF. Since it appears to have died before completing execution, I assume you did not get a display of the text of the dump report. This behavior would tend to suggest the problem is not with the GUI code (which is very simple for a 'Dump' command) but rather is coming from PDFtk, problematic PDF files, or a problem with you Windows system.
Other questions:
What version of Windows are you on?
Are you experiencing any other problems with your system?
What apps are being used for display of .txt and .pdf file with your setup of PDFtk Builder Enhanced?
Did you make any modifications to default .ini file' e.g., to change the location or version of PDFtk or the apps used to display .txt and .pdf files?
FYI: Your screenshot did reveal another problem which has gone unnoticed for a couple of years and I think is unrelated to your $C000135 error message. While the 'Build' button is disabled in your screenshot as discussed above, I see that the 'View', 'Locate' and 'Pipe' buttons are enabled, presumably from some previous command (dump?) that did not display output PDF file name below the buttons. When a 'dump' operation is performed, a new PDF is not created; only a separate report file (data.txt) is generated. Therefore, the enabled/disabled status of the 'View', 'Locate' and 'Pipe' buttons and name of the most recent output PDF should not be affected when the 'Build' button is clicked to perform the 'Dump' or any other tool in Tool Sets 1-4 that produces no output PDF; e.g. 'Unpack Files' (Attachments). I have already prepared v4.1.5 to fix this separate problem and will post it soon.
Last edit: David King 2019-10-13
ADDENDUM: You can also do the following to determine whether the GUI is involved in the problem you are experiencing. The following will run the pdftk directly from the command line to execute a dump_data command without using the GUI.
(1) Open your PDFtk Builder Enhanced folder in Windows Explorer.
(2) Copy a PDF file which is giving you problems to the folder and rename the file: in.pdf.
(3) Open a cmd prompt in the folder.
Note: If you do not know how, create the following two-line text file with Notepad in the folder and name it Cmd Prompt Here.bat. Then click on the the resulting .bat file from Windows Explorer.
(4) Enter the following pdftk command at the command prompt and then press Return.
If the pdftk command executes properly, a dump report file (in_data.txt) should be generated.
(5) Enter the following cmd at the cmd prompt to list the file.
or click on the file in_data.txt from Windows Explorer.
If a proper report file is produced, this would indicate there is some problem with the GUI or incompatibility between the GUI and your system. If a PDFtk error is generated or a proper report file is not produced, then then problem is likely with PDFtk, the PDF file, or your system.
I have the same issue. I ran the command line, and got an error from pdftk.exe saying that libiconv2.dll was not found.
Oddly, the command fails silently in PowerShell. The error only shows as a popup in cmd.exe shell.
Last edit: dl-safari 2019-11-01
libiconv2.dll is a GNU Win32 package used by pdftk.exe to convert character encodings in international environments. I have never had a need to use it with PDFtk but it is included in the download of PDFtk Server from the pdflabs.com web site and is also available from gnu.org. I have added a copy of the file to the download file PDftkBuilder-4.1.5-portable.zip.
Download the .zip file again and copy the added libiconv2.dll file to your PDFtk Builder folder.
Let me know if that resolves your problem.
That resolved my problem. Thank you very much!