Skip to content

Missguiding error #37

@GaboFDC

Description

@GaboFDC

When you install html5validator but not java, and try to execute html5validator --root <some_path> it will throw: OSError: [Errno 2] No such file or directory
Which is not telling what the real problem is

The full stack trace is:

Traceback (most recent call last):
  File "/usr/bin/html5validator", line 9, in <module>
    load_entry_point('html5validator==0.2.8', 'console_scripts', 'html5validator')()
  File "/usr/lib/python2.7/site-packages/html5validator/cli.py", line 72, in main
    stack_size=args.stack_size,
  File "/usr/lib/python2.7/site-packages/html5validator/validator.py", line 94, in validate
    stdout=f_null, stderr=f_null) != 0:
  File "/usr/lib64/python2.7/subprocess.py", line 524, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions