Bug 194213 - http://www.freebsd.org/cgi/man.cgi creates zero-sized PDFs
Summary: http://www.freebsd.org/cgi/man.cgi creates zero-sized PDFs
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Website (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-doc (Nobody)
URL:
Keywords:
: 194277 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-07 10:41 UTC by Bernhard Treutwein
Modified: 2014-10-13 18:28 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Treutwein 2014-10-07 10:41:18 UTC
trying to get a pdf Version of a man page creates an emty (zero sized) pdf, e.g.
http://www.freebsd.org/cgi/man.cgi?query=hwclock&apropos=0&sektion=0&manpath=SuSE+Linux%2Fi386+11.3&arch=default&format=pdf or http://www.freebsd.org/cgi/man.cgi?query=man&apropos=0&sektion=0&manpath=FreeBSD+11-current&arch=default&format=pdf
As far as I can see, html and PostScript Generation work flawlessly and it used to work until 11./12. September 2014. But since 15th of September I never got a usable PDF.

I tried it under Win 7 with IE 10, Firefox 32.0.2 and Chrome 37.0.2062.124.
Comment 1 John Baldwin freebsd_committer freebsd_triage 2014-10-08 17:18:55 UTC
Looks like man.cgi wants to run ps2pdf.  Is that not installed on the www machine/jail after a recent upgrade?  If so, it should be whining about the missing binary in the stderr logs.
Comment 2 Benjamin Kaduk freebsd_committer freebsd_triage 2014-10-09 21:27:03 UTC
*** Bug 194277 has been marked as a duplicate of this bug. ***
Comment 3 MMacD 2014-10-10 17:18:58 UTC
I'm not 100% sure it is a true duplicate, since under XPsp3 Foxit didn't claim it was zero-length or empty, but rather that it was corrupt/not a pdf.

That might not matter, of course.
Comment 4 Benjamin Kaduk freebsd_committer freebsd_triage 2014-10-10 19:30:29 UTC
Well, I'm pretty sure the root cause will end up being the same, involving the lack of PDF-generating software on the webserver running man.cgi.  If it ends up not being so, we can always reopen this report if needed.
Comment 5 Bernhard Treutwein 2014-10-13 14:24:16 UTC
Ofcourse, both Acrobat Reader and the full blown Acrobat complained also about corrupt PDFs. My first attempt was to save and open the saved file and I realized that These were Zero length. So I am also pretty sure that it is a duplicate.

Does somebody have the rights to check the server configuration?
--
  Bernhard
Comment 6 Glen Barber freebsd_committer freebsd_triage 2014-10-13 18:28:39 UTC
Fixed.  print/ghostscript9 installed on the backend.