Bug 79992 - error opening dynamically generated pdf-files
Summary: error opening dynamically generated pdf-files
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-20 12:02 UTC by Christian Hanser
Modified: 2012-10-15 21:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hanser 2004-04-20 12:02:23 UTC
Version:            (using KDE KDE 3.2.2)
Installed from:    Debian testing/unstable Packages
OS:          Linux

When I go to one of the following pages

http://www.eprg.org/cgi-bin/personal.cgi
http://www.fastio.com/forms/form1040.html

and click the submit-button a dynamically created pdf-file is sent to the browser. Konqueror loads kghostview but instead of showing the pdf, kghostview displays the following error message:

Couldn't open file (URI of file)

Pdf-files generated by php-scripts seem to work, however:
e.g. http://www.devarticles.com/index2.php?option=content&do_pdf=1&id=503&hide_js=1
Comment 1 Luís Pedro Coelho 2004-04-20 14:11:13 UTC
Both links above work for me.

Can you try the following:

1 - save the .pdf file to disk
2 - open it with kghostview
3 - open it with pure ghostscript (typing "gs file.pdf" at the command-line)

thank you,
luis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAhRNXGpBAvyRwXdgRAgkbAJ45lTY9xdqdCZvVg6IbzH+V1ZlZ3ACgwzlG
F1/RmWVNS8hmXLEjlRhok8o=
=AXBL
-----END PGP SIGNATURE-----

Comment 2 Tommi Tervo 2004-04-20 14:17:30 UTC
I can confirm this bug, debian unstable with kde 3.2.2. gv, xpdf and kghosview opens file correctly when saved them first to HD.
Comment 3 Christian Hanser 2004-04-20 14:21:07 UTC
Once the pdf-file is saved to disk kghostview and gs can open it without any problems.
Comment 4 Christian Hanser 2004-04-21 09:21:53 UTC
I have to add that it didn't work in kde 3.2.1 and 3.2.0 (debian/unstable) either.
Comment 5 Paul Temple 2005-02-07 02:54:50 UTC
I can't reproduce that bug using konqueror 3.3.2 - the first link is dead, but the dynamic pdf generation on the second link works fine here.
Comment 6 Adrián Chaves (Gallaecio) 2012-10-15 21:11:51 UTC
I tried the first link and it opens fine too (in Okular).