[cvsnt] ViewCVS and enscript on Windows 2000 Server with IISandCVSNT
Bo Berglund
bo.berglund at telia.com
Wed Apr 9 19:22:48 BST 2003
I don't have anything like that in any of my configurationfiles...
from enscript.cfg:
------------------
AFMPath: c:/Programs/GnuWin32/share/enscript/afm
StatesConfigFile: c:/Programs/GnuWin32/share/enscript/hl/enscript.st
StatesBinary: c:/Programs/GnuWin32/bin/states
>From viewCvs.conf:
--------------------
[general]
rcs_path=c:/Programs/RCS
[options]
enscript_path=c:/Programs/GnuWin32/bin
cvsgraph_path=c:/Programs/GnuWin32/bin
cvsgraph_conf=c:/Programs/viewcvs/cvsgraph.conf
Now I tried again and this time I got a new error message not seen before:
Traceback (most recent call last): File
"c:\Programs\viewcvs\lib\win32popen.py", line 218, in SpoolWorker hr, bytes
= win32file.WriteFile(destHandle, data) api_error: (232, 'WriteFile', 'The
pipe is being closed.')
Which for me tranlates to this code snippet causing the failure:
if destHandle:
>>> hr, bytes = win32file.WriteFile(destHandle, data) <<<<
if hr != 0 or bytes != len(data):
raise "win32file.WriteFile() passed %i bytes and returned %i, %i"
% (len(data), hr, bytes)
And it works OK if I issue the commands manually on the command line....
Bo
-----Original Message-----
From: Keith D. Zimmerman [mailto:kzimmerman at eshcom.com]
Sent: den 9 april 2003 13:05
To: bo.berglund at telia.com; cvsnt at cvsnt.org
Subject: RE: [cvsnt] ViewCVS and enscript on Windows 2000 Server with
IISandCVSNT
c:\Programs\GnuWin32\share\enscript/hl I think is your problem. I
believe you want to edit your enscript.cfg and change the \ to /. I
think gnuwin32 uses /; I think the mix between the two is a problem.
keith d. zimmerman, mcsd
eagle solutions
-----Original Message-----
From: Bo Berglund [mailto:bo.berglund at telia.com]
Sent: Tuesday, April 08, 2003 7:58 PM
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] ViewCVS and enscript on Windows 2000 Server with
IISandCVSNT
On Tue, 8 Apr 2003 18:07:41 -0400, "Keith D. Zimmerman"
<kzimmerman at eshcom.com> wrote:
>Yup, I had enscript-1.6.3-2-bin.zip (you can get it if you manually
type
>in the url) and source forge has enscript-1.6.3-3-bin.zip, so I
>downloaded and installed it. Still works fine, so I updated CVSNT
wiki.
>
>Try going to the command line and running the commands that view cvs
>does. Ie:
> co -prev module/folder/file | enscript "--color"
>"--language=html" "--pretty-print=delphi" "-o" "-" "-"
>and see what happens. Be sure you are doing it on the cvsnt/viewcvs
>server... (I assume they are the same computer???)
>
>Also, you mention standard in and standard out in the viewcvs debug
mode
>- I assume there is nothing on standard error?
>
>keith d. zimmerman, mcsd
>eagle solutions
>
Actually there is an error output now that I look closer:
c:/Programs/GnuWin32: couldn't open input filter
"c:/programs/gnuwin32/bin/states -f
"c:/programs/gnuwin32/share/enscript/hl/enscript.st" -p
"C://.enscript;c:\Programs\GnuWin32\share\enscript/hl" -sdelphi
-Dcolor=1 -Dstyle=emacs -Dlanguage=html -Dnum_input_files=1
-Ddocument_title="Enscript Output" -Dtoc=0 -" for file "": No error
no output generated
What this really means I have no clue on....
I just wonder why it starts with c:/Programs/GnuWin32:, the entry in
the path variable is c:\Programs\GnuWin32\bin
/Bo
(Bo Berglund, developer in Sweden)
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list