Skip to content
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

Unable to build the project example. #34

Open
QuentinPetitAM opened this issue Oct 14, 2024 · 1 comment
Open

Unable to build the project example. #34

QuentinPetitAM opened this issue Oct 14, 2024 · 1 comment

Comments

@QuentinPetitAM
Copy link

Hello there!

I’m unable to build the example using mdbook build.

The installation was successful (Window 10).

 Installed package `mdbook v0.4.40` (executable `mdbook.exe`)
 Installed package `mdbook-i18n v0.1.3` (executable `mdbook-i18n.exe`)
C:\Users\XXX\Documents\wse\mdbook\mdbook-i18n\example>mdbook build
2024-10-14 15:18:31 [INFO] (mdbook::book): Book building has started
2024-10-14 15:18:31 [INFO] (mdbook::book): Running the i18n backend
2024-10-14 15:18:31 [INFO] (mdbook::renderer): Invoking the "i18n" renderer
2024-10-14 15:18:31 [INFO] (mdbook_i18n): Running mdbook-i18n
2024-10-14 15:18:31 [INFO] (mdbook_i18n::original_render): Build for language en
2024-10-14 15:18:31 [INFO] (mdbook::book): Book building has started
2024-10-14 15:18:31 [INFO] (mdbook::book): Running the html backend
2024-10-14 15:18:31 [INFO] (mdbook_i18n::original_render): Build for language ru
Error: Couldn't open SUMMARY.md in "C:\\Users\\XXX\\Documents\\wse\\mdbook\\mdbook-i18n\\example\\translations" directory

Caused by:
    The system cannot find the file specified. (os error 2)
2024-10-14 15:18:31 [ERROR] (mdbook::renderer): Renderer exited with non-zero return code.
2024-10-14 15:18:32 [ERROR] (mdbook::utils): Error: Rendering failed
2024-10-14 15:18:32 [ERROR] (mdbook::utils):    Caused By: The "i18n" renderer failed

Did I miss something?

@zanbaldwin
Copy link

I just ran into this issue, too. Seems like the breaking change was introduced in 23c364c, so the last commit that worked was 24c251d.

Use the following command should build a working binary for you until it's resolved:

cargo install --git https://github.com/funkill/mdbook-i18n.git --rev 24c251da102762f9af234090cf1b211733fa8520 mdbook-i18n

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

2 participants