Help w/ Exception 435: unable to open image `c:\html2ps\scratch': Permission denied
459 vistas
Ir al primer mensaje no leído
RandomSynergy
no leída,
9 jun 2008, 6:26:23 p.m.9/6/08
Responder al autor
Accede para responder al autor
Reenviar
Accede para reenviar el mensaje
Eliminar
No tienes permiso para borrar mensajes de este grupo
Copiar el vínculo
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico son anónimas para este grupo, o bien, necesitas un permiso que te permita visualizar las direcciones de correo electrónico de los miembros a fin de ver el mensaje original
para 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 -"
}
}
No tienes permiso para borrar mensajes de este grupo
Copiar el vínculo
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico son anónimas para este grupo, o bien, necesitas un permiso que te permita visualizar las direcciones de correo electrónico de los miembros a fin de ver el mensaje original
para 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.
No tienes permiso para borrar mensajes de este grupo
Copiar el vínculo
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico son anónimas para este grupo, o bien, necesitas un permiso que te permita visualizar las direcciones de correo electrónico de los miembros a fin de ver el mensaje original
para 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
No tienes permiso para borrar mensajes de este grupo
Copiar el vínculo
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico son anónimas para este grupo, o bien, necesitas un permiso que te permita visualizar las direcciones de correo electrónico de los miembros a fin de ver el mensaje original
para HTML_ToPDF
It also happens with NON dynamic images.... i think the path variable
is messed up but i have no idea how to debug perl...
Exception 435: unable to open image `c:\html2ps\scratch': Permission
denied
dBATCH -sDEVICE=pdfwrite -sOutputFile=../pdfs/0978678001213133423.pdf -
c .setpdfwrite -f C:\TEMP\pdf_temp\PS-8186.tmp
DEBUG: ps2pdf output:
DEBUG: config file: C:\TEMP\pdf_temp\CON8184.tmp (not removed)
DEBUG: html file: C:\TEMP\pdf_temp\HTM8185.tmp.html (not removed)
DEBUG: ps file: C:\TEMP\pdf_temp\PS-8186.tmp (not removed)
PDF file created successfully: ../pdfs/0978678001213133423.pdf
Click here to view the PDF file
RandomSynergy
no leída,
10 jun 2008, 5:57:03 p.m.10/6/08
Responder al autor
Accede para responder al autor
Reenviar
Accede para reenviar el mensaje
Eliminar
No tienes permiso para borrar mensajes de este grupo
Copiar el vínculo
Denunciar mensaje
Mostrar el mensaje original
Las direcciones de correo electrónico son anónimas para este grupo, o bien, necesitas un permiso que te permita visualizar las direcciones de correo electrónico de los miembros a fin de ver el mensaje original