KEMBAR78
AttributeError: module 'os' has no attribute 'errno' · Issue #86 · svenkreiss/html5validator · GitHub
Skip to content

AttributeError: module 'os' has no attribute 'errno' #86

@jdoe0000000

Description

@jdoe0000000

os.errno has been removed since Python 3.7, but it's still being used in validator.py:

if e.errno == os.errno.ENOENT:

This causes the validator to crash with the following error message instead of notifying the user that Java is missing.

AttributeError: module 'os' has no attribute 'errno'

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