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

Error: Not found: / #456

Closed
bhavberi opened this issue Nov 27, 2023 · 5 comments
Closed

Error: Not found: / #456

bhavberi opened this issue Nov 27, 2023 · 5 comments

Comments

@bhavberi
Copy link

When building the hugging face hub using the command doc-builder preview hub {path}/docs/hub/ --not_python_module where path is my local path to the cloned repository, it is giving 404: Not Found Error.
I have followed the same steps as mentioned on the hugging face hub repository: https://github.com/huggingface/hub-docs#previewing-locally.

Can someone please help in what the issue could be and a possible solution for the same?

Terminal Logs:
image

Website Output:
image

@tomaarsen
Copy link
Member

I encounter the same with main - I have to use an older commit to get it to work well.

@bhavberi
Copy link
Author

Thanks for the help. Going around a month back in commits helped me get it working.

@sv-v5
Copy link

sv-v5 commented Nov 30, 2023

@bhavberi , @tomaarsen what commit did you revert back to?

I'm still having trouble with doc-builder preview hub /hub-docs/docs/hub --not_python_module for example and

same error Not Found: /

im on debian bullseye, python3.10, node 20

@tomaarsen
Copy link
Member

I went back to 3de0a0e, though that's probably further than necessary.

@bhavberi
Copy link
Author

bhavberi commented Dec 1, 2023

I probably went back to 7bfc590, and it worked for me. (I don't remember the exact commit I went back to, but it was around this date only)

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