[l2h] TMP strikes again! TMP folder blues with latex2html on windows

Nasser M. Abbasi nma at 12000.org
Sun Apr 11 21:12:34 CEST 2010


update:

The TMP error is gone.  I had a file access problem.

Now it goes much further, but I am stuck at a somewhat familar error, but 
not able to find the solution.

I get this error when I run latex2html on a tex file:

"Error: Cannot read 'img62.png': No such file or directory
Converting image #33
pstoimg.bat: Error: Ghostscript returned error status 16777215
pstoimg.bat: Error: Couldn't find pnm output of 
G:\LATEX\TMP\l2h288\image033.ps"

I never seen error 16777215. I've seen this error below before. It seems to 
be coming from pnmcrop.exe, please see error messages below. It seems to be 
looking for files with names such as p2668.t01 in the TMP folder where 
images are processed. But when I look in the TMP folder, I see no such 
files, but ones extensions .t00 (next to .pnm and .ps files).

THe error message I've seen before was

"pstoimg.bat: Error: Ghostscript returned error status 1
pstoimg.bat: Error: Couldn't find pnm output of 
G:\texmf\tmp\l2h1716\image002.ps"

And the fix for this was to make sure that GS_LIB environment variable 
correctly to point to the ghostscript lib/ and font/ which I do now.

When I run in debug mode, I see the following: I am showing ONE error for 
one image file.

=============== screen log ==========
$latex2html -debug -verbosity 8 -split 0  -no_reuse -show_section_numbers 
EE_409_HW7.tex

$* is no longer supported at G:\LATEX\latex2html\bin/latex2html.bat line 
10607.
 *** initialise *** This is LaTeX2HTML Version 2008 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2

Extension: loading G:\LATEX\latex2html\versions\latin1.pl
HTML version: loading G:\LATEX\latex2html\versions\html3_2.pl

Debug (syswait): Running "G:\LATEX\perl\bin\perl.exe 
G:\LATEX\latex2html\bin\pstoimg.bat -type png -debug -tmp 
G:\LATEX\TMP\l2h2228 -discard
-interlace -antialias -depth 1 -scale 1.6 -geometry 417x36 -margins 
58,72 -crop abls -transparent -out img32.png G:\LATEX\TMP\l2h2228\image03
2.ps"
 at G:\LATEX\latex2html\bin/latex2html.bat line 4249
pstoimg.bat V2008 (Revision 1.19, Perl 5.010001)
pstoimg.bat: Temporary directory is G:\LATEX\TMP\l2h2228
pstoimg.bat: Processing G:\LATEX\TMP\l2h2228\image032.ps
pstoimg.bat: EPSF dimensions are 422x42
pstoimg.bat: Running 
\LATEX\gsAFLP\gs8.54\bin\gswin32c.exe  -sDEVICE=ppmraw -g675x68  -r115 -dTextAlphaBits=4 
  -sOutputFile=G:\LATEX\TMP\l2h2
228\p2668.pnm
GS>-57 -679 translate
GS>(G:/LATEX/TMP/l2h2228/image032.ps) run
GS>showpage
GS>quit

AFPL Ghostscript 8.54 (2006-05-17)
Copyright (C) 2005 artofcode LLC, Benicia, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
GS>GS>>>showpage, press <return> to continue<<
GS>>>showpage, press <return> to continue<<
GS>Running "G:\LATEX\GnuWin32\bin\pnmcrop.exe -verbose   < 
G:\LATEX\TMP\l2h2228\p2668.pnm > G:\LATEX\TMP\l2h2228\p2668.t01"
pstoimg.bat: Error: "G:\LATEX\GnuWin32\bin\pnmcrop.exe -verbose   < 
G:\LATEX\TMP\l2h2228\p2668.pnm > G:\LATEX\TMP\l2h2228\p2668.t01" failed:
No such file or directory

Error while converting image

 *** Warning:
Failed to convert image G:\LATEX\TMP\l2h2228\image032.ps

extracted tex2html_wrap_indisplay453 as 32

embedding img32.png for tex2html_wrap_indisplay453, with ALT="$\displaystyle 
=\left( \frac{1}{s+1}-\frac{1}{s+2}\right) +\left( \frac{1}{2}<t
e...
...>45 
\frac{e^{-s}}{s}-\frac{e^{-s}}{s+1}+\frac{1}{2}\frac{e^{-s}}{s+2}\right) %
$"

Error: Cannot read 'img32.png': No such file or directory
 *** image done ***

======= end of screen log =======

I'll keep looking, but if someone have seens this error message, and have a 
clue, please let me know.

Thanks!
--Nasser 



More information about the latex2html mailing list