Certain Win7 clients failing to create workable PDF files using PDFInclude

Project:PDF Include project
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I have two different users running the same PDFInclude app both on Win7 and Progress 9.1C. One works fine the other gets to a point that I cannot tell how far and the Progress app dies very ungracefully (just stops responding) and when you try to open the PDF file Adobe just says, "There was an error opening this document. The file was damaged and could not be repaired." I have attached both example PDF files to this issue. The "bad" PDF files always ends up being 15.79 KB in size. I can open them both using notepad. They both seem to have the file properties type of information in them like: Author, Creation Date, Producer, Creator, Subject, Title, Keywords etc. I hope you can suggest where I can go from here to continue troubleshooting.


AttachmentSize
bomemailpetrelli.n0624201537716.pdf15.79 KB
bomemailwheaton.d0624201538210.pdf18.69 KB

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

#1

From what I can see the non working pdf file is indeed truncated. Seems like the session has died while it was outputting the file.
By the way AFAIK Progress 9.1C is not supported on Windopws 7.

You gave very few information: which version of pdfInclude are you using?
Did you try to find when and where the crash happens?
Can you reproduce it? If yes, how?

TIA


#2

I am unsure how to find the current version number. When looking at the revision history notes at the top of pdf_inc.p the most recent date is 9-22-2005.
Yes, I have tried to find out where it is crashing but have had no luck and need help with this because I may not be doing it correctly.
Yes, I can reproduce the issue over and over and over again. I just have to go to a specific users's computer.
It is becoming more wide-spread throughout our company. What I mean is more and more users are starting to experience this same problem but I have confirmed it is not related to applying Microsoft updates.


#3

may be you could try with the last open source version
http://websvn.oehive.org/dl.php?repname=pdfinclude&path=%2Ftrunk%2F&rev=...
your version is very old, maybe the problem would not occur with this newer one.
please tell me.
regards
JC


#4

I was able to download the new version using the supplied link; however, this did not solve my problem. In fact, it created a new problem I cannot get past. Please see the attached error, thanks.


AttachmentSize
pdf_inc_error.pdf25.91 KB

#5

as it seems the QUOTER function appeared after 9.1C. In 9.1E it is present.
so, please remove it:
line 3799 of pdf_inc.p becomes
RUN pdf_error(pdfStream,"pdf_watermark","Font '" + pdfFont + "' has not been loaded!").
and line 7216 becomes:
RUN pdf_error(pdfStream,"pdf_load_external","Cannot find external file '" + TT_pdf_external.ext_file + "' !").


#6

Thank you for the replacement syntax. The application is now running with the newer version of pdf_inc.p. The users who were broken before still do not work; however, instead of their session just hanging up at least now they are getting an error message. Please see the attached screen grab.


AttachmentSize
pdf error2.pdf8.15 KB