Skip to content

"mdbook test" fails immediately: No such file or directory #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
RalfJung opened this issue Jul 16, 2018 · 5 comments
Closed

"mdbook test" fails immediately: No such file or directory #78

RalfJung opened this issue Jul 16, 2018 · 5 comments

Comments

@RalfJung
Copy link
Member

I installed mdbook and then ran mdbook test as described in the README, but all that does is

2018-07-16 13:03:07 [ERROR] (mdbook::utils): Error: Unable to open the file
2018-07-16 13:03:07 [ERROR] (mdbook::utils): 	Caused By: No such file or directory (os error 2)
@RalfJung
Copy link
Member Author

Judging from the strace output, it seems confused by the lack of an index.md?

@RalfJung
Copy link
Member Author

RalfJung commented Jul 16, 2018

mdBook 0.1.8 got released the day CI started failing, so I guess that's what broke it.

Cc @Michael-F-Bryan

@RalfJung
Copy link
Member Author

This actually seems to be a bug in mdBook because the update claims to be semver-compatible, but as this examples shows, it is not.

@Gankra
Copy link
Contributor

Gankra commented Jul 17, 2018

cc @steveklabnik

@Lokathor
Copy link
Contributor

As of v0.2.3 or later this seems to be fixed. I was able to mdbook build and then mdbook test.

We can probably close this one.

@Gankra Gankra closed this as completed Jun 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants