I upgraded today to version 21 which is working great.
I use the portable version since version 8 and it's working very good and also with v21.
Now I tried to use the cmdlineprocessor.exe to automate some tests, but I get error messages.
Is there something I can do to get it working?
Error with portable version and cmdlineprocessor.exe
-
- Rank 0 - Newcomer
- Posts: 2
- Joined: Wed Feb 24, 2021 12:12 pm
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Error with portable version and cmdlineprocessor.exe
Thank you for reporting this and I'm sorry for the trouble.
I believe I have found and fixed the problem for the next update.
In the meantime, you can try editing the chvoptions.ini file and updating these two lines to the below:
Basically, you're updating the above lines to point to the "-x64" version of the DLL (csevalidatorV210-x64.dll).
Please let me know if that fixes the problem. Thanks!
I believe I have found and fixed the problem for the next update.
In the meantime, you can try editing the chvoptions.ini file and updating these two lines to the below:
Code: Select all
ValidatorEngineDLL-x64=csevalidatorV210-x64.dll
ValidatorEngineDLLV210-x64=csevalidatorV210-x64.dll
Please let me know if that fixes the problem. Thanks!
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
-
- Rank 0 - Newcomer
- Posts: 2
- Joined: Wed Feb 24, 2021 12:12 pm
Re: Error with portable version and cmdlineprocessor.exe
That works. Thank you very much.
One more question.
when I validate a html file with
I don't get any output in the console.
But when I do
a test.log file is created with the validation results.
What am I doing wrong?
Also
doesn't produce the test.log file
One more question.
when I validate a html file with
Code: Select all
cmdlineprocessor.exe -e,(stdout),0,16 test.html
But when I do
Code: Select all
cmdlineprocessor.exe -e,(stdout),0,16 test.html >test.log
What am I doing wrong?
Also
Code: Select all
cmdlineprocessor.exe -outputfile test.log -e,(stdout),0,16 test.html
- Albert Wiersch
- Site Admin
- Posts: 3785
- Joined: Sat Dec 11, 2004 9:23 am
- Location: Near Dallas, TX
- Contact:
Re: Error with portable version and cmdlineprocessor.exe
You're welcome!
Nothing. cmdlineprocessor.exe is actually a GUI program and not a console program so stdout doesn't go to the console.0xDEADC0DE wrote: ↑Wed Feb 24, 2021 3:36 pm One more question.
when I validate a html file withI don't get any output in the console.Code: Select all
cmdlineprocessor.exe -e,(stdout),0,16 test.html
But when I doa test.log file is created with the validation results.Code: Select all
cmdlineprocessor.exe -e,(stdout),0,16 test.html >test.log
What am I doing wrong?
The -e,(stdout) overrides the -outputfile option so output is sent to stdout. It won't go to both stdout and to an output file at the same time. You can, of course, redirect stdout to a file like you did using >test.log above.0xDEADC0DE wrote: ↑Wed Feb 24, 2021 3:36 pm Alsodoesn't produce the test.log fileCode: Select all
cmdlineprocessor.exe -outputfile test.log -e,(stdout),0,16 test.html
I hope this helps. Please let me know if you have any more questions.
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial