On 2024-01-20 20:55, Carl Sorensen wrote:

   File
"/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/subprocess.py",
line 524, in run

     raise CalledProcessError(retcode, process.args,

subprocess.CalledProcessError: Command '['/usr/bin/tidy', '-o',
'/dev/null', '-q', 'compare-dir1dir2/index.html']' returned non-zero exit
status 2.

Try commenting out this part of scripts/build/output-distance.py and retrying:

    tidy_bin = shutil.which('tidy')
    if tidy_bin:
        subprocess.run([tidy_bin, '-o', '/dev/null', '-q', html_fn], check=True)

I'm not sure that that's the only problem, but it should eliminate one thing.

--
Dan



Reply via email to