Help w/ Exception 435: unable to open image `c:\html2ps\scratch': Permission denied
456 views
Skip to first unread message
RandomSynergy
unread,
Jun 9, 2008, 6:26:23 PM6/9/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HTML_ToPDF
Hi! Help!
having issues with getting the images into the PDFs. The path to the
images that i need work will from the server, but the issues seems to
be this Exception 435 that i get with the scratch directory. I have
made sure it is writable by the all of the IIS processes (and everyone
for that matter) but I feel like the variable isn't being set
correctly.
Exception 435: unable to open image `c:\html2ps\scratch': Permission
denied
if you look - this doesnt look right - `c:\html2ps\scratch'
=============================================================================
Creating the PDF from remote web page...
DEBUG: html2ps config:
@html2ps {
option {
titlepage: 0; /* do not generate a title page */
toc: 0; /* no table of contents */
colour: 1; /* create the page in color */
underline: 0; /* underline links */
grayscale: 0; /* Make images grayscale? */
scaledoc: .85; /* Scale the document */
}
package {
geturl: c:\curl\curl.exe -i -s; /* path to the geturl */
}
showurl: 0; /* do not show the url next to links
*/
option { debug: 1; }
header {
left: "$T"
right: "$[author]"
odd-left: "$T"
even-left: "$T"
odd-right: "$[author]"
even-right: "$[author]"
}
footer {
center: "- $N -"
odd-center: "- $N -"
even-center: "- $N -"
}
}
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to html...@googlegroups.com
Yeah, that's wierd because it looks as though some images are working and other not. Is that the case? Can you see any images in the PDF? It may be that dynamic images (the thumbnails) are not being escaped properly because of the "?" in the image name. You might need to find the line in html2ps that uses curl to download the image and make sure it is escaping it correctly.
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to HTML_ToPDF
All of the images are inserted as [image]
I will check to find out of the ? is being escaped, the images are
dynamic..
I can pull the images with the URL just fine from the browser (except
for the spacer image, but i know what)
I suspected it was an issue with cURL being able to grab the image or
permissions.
thanks.. let me know if you think of anything... i guess i have to go
learn some Perl now.. ;)
Keep you posted. thanks!
On Jun 9, 7:19 pm, "Jason Rust" <rustypa...@gmail.com> wrote:
> Yeah, that's wierd because it looks as though some images are working and
> other not. Is that the case? Can you see any images in the PDF? It may be
> that dynamic images (the thumbnails) are not being escaped properly because
> of the "?" in the image name. You might need to find the line in html2ps
> that uses curl to download the image and make sure it is escaping it
> correctly.
>
> -Jason
>
> rusted code