Hi Les;

Here is the output from running one of the commands on its own. I get the same error as that when running inside l2h:

I copied the command and run it directly. Here is the DOS window screen output.

=== command ========
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\image032.ps

=== output ====

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\l2h2228\p548.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\p548.pnm > G:\LATEX\TMP\l2h2228\p548.t01" pstoimg.bat: Error: "G:\LATEX\GnuWin32\bin\pnmcrop.exe -verbose < G:\LATEX\TMP\l2h2228\p548.pnm > G:\LATEX\TMP\l2h2228\p548.t01" failed: No
such file or directory

==== end output====

But when I check in the TMP folder, I do NOT see p548.t01:

=========== check ==============
G:\LATEX\TMP\l2h1128>dir image032.ps

04/11/2010  11:42 AM           108,629 image032.ps
              1 File(s)        108,629 bytes
              0 Dir(s)  152,626,229,248 bytes free

G:\LATEX\TMP\l2h1128>dir *.t01

File Not Found

G:\LATEX\TMP\l2h1128>dir p548*

File Not Found

==============================
So it looks like gswin32c.exe  or pstoimag.bat is having some problem?

Again, I think I have the same setup on the laptop as I have on mydesk. But it seems may be I do not. Becuase I made sure all the setups are the same, according to this layout here:

http://12000.org/my_notes/l2hwin/index.htm

Same software versions on laptop as the desktop, same env,. variables. But there must be something not the same ofcourse, and that is what I am trying to find out. Notice that I use G:\ drive and not C:\ drive where I install everything. Since I had problems before when I install software on C:\ and my data was on another drive. (This is one of the reasons I want to move to Linux from windows).

If you you need more info, please let me know. Meanwhile, I'll update the list if I find what is wrong myself.

thanks
--Nasser

----- Original Message ----- From: "Les R" <openad...@gmail.com>
To: "Nasser M. Abbasi" <n...@12000.org>
Cc: "Latex2Hmtl list" <latex2html@tug.org>
Sent: Sunday, April 11, 2010 2:16 PM
Subject: Re: [l2h] TMP strikes again! TMP folder blues with latex2html on windows


Why not use some of the pnm tools directly from command line to make
sure they are working correctly.

In fact, if you have a source file try doing the same commands, if possible.

Les Richardson


On 11 April 2010 13:12, Nasser M. Abbasi <n...@12000.org> wrote:
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
_______________________________________________
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html


_______________________________________________
latex2html mailing list
latex2html@tug.org
http://tug.org/mailman/listinfo/latex2html

Reply via email to