Error with portable version and cmdlineprocessor.exe

For technical support and bug reports for all editions of CSS HTML Validator, including htmlval for Linux and Mac.
0xDEADC0DE
Rank 0 - Newcomer
Posts: 2
Joined: Wed Feb 24, 2021 12:12 pm

Error with portable version and cmdlineprocessor.exe

Post by 0xDEADC0DE »

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?

Image

Image

Image
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: Error with portable version and cmdlineprocessor.exe

Post by Albert Wiersch »

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:

Code: Select all

ValidatorEngineDLL-x64=csevalidatorV210-x64.dll
ValidatorEngineDLLV210-x64=csevalidatorV210-x64.dll
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!
Albert Wiersch, CSS HTML Validator Developer • Download CSS HTML Validator FREE Trial
0xDEADC0DE
Rank 0 - Newcomer
Posts: 2
Joined: Wed Feb 24, 2021 12:12 pm

Re: Error with portable version and cmdlineprocessor.exe

Post by 0xDEADC0DE »

That works. Thank you very much.

One more question.
when I validate a html file with

Code: Select all

cmdlineprocessor.exe -e,(stdout),0,16 test.html
I don't get any output in the console.
But when I do

Code: Select all

cmdlineprocessor.exe -e,(stdout),0,16 test.html >test.log
a test.log file is created with the validation results.
What am I doing wrong?

Also

Code: Select all

cmdlineprocessor.exe -outputfile test.log -e,(stdout),0,16 test.html
doesn't produce the test.log file
User avatar
Albert Wiersch
Site Admin
Posts: 3785
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: Error with portable version and cmdlineprocessor.exe

Post by Albert Wiersch »

0xDEADC0DE wrote: Wed Feb 24, 2021 3:36 pm That works. Thank you very much.
You're welcome!
0xDEADC0DE wrote: Wed Feb 24, 2021 3:36 pm One more question.
when I validate a html file with

Code: Select all

cmdlineprocessor.exe -e,(stdout),0,16 test.html
I don't get any output in the console.
But when I do

Code: Select all

cmdlineprocessor.exe -e,(stdout),0,16 test.html >test.log
a test.log file is created with the validation results.
What am I doing wrong?
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 Also

Code: Select all

cmdlineprocessor.exe -outputfile test.log -e,(stdout),0,16 test.html
doesn't produce the test.log file
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.

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