Skip to content

Travis-CI: ModuleNotFoundError #39

@pancetta

Description

@pancetta

For some reason I get a ModuleNotFoundError here, which is not caught by the try/except-block. This happens when my Sphinx version is below 1.7.

More precisely, I get:

Traceback (most recent call last):
File "/home/travis/miniconda3/bin/travis-sphinx", line 7, in
from travis_sphinx.main import main
File "/home/travis/miniconda3/lib/python3.6/site-packages/travis_sphinx/init.py", line 3, in
from . import build
File "/home/travis/miniconda3/lib/python3.6/site-packages/travis_sphinx/build.py", line 7, in
from sphinx.cmd.build import build_main
ModuleNotFoundError: No module named 'sphinx.cmd'

Could you add ModuleNotFoundError to the except rule or is there something else going on here?

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