-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[book] 500 internal server error for ja translation #760
Comments
Thanks for reporting. It's fixed, at least for now. The problem is that importing the book seems to bring in a bogus "chapter 11" that has a single section with a The title of the bogus chapter is The ActiveRecord timestamp is from only a few days ago. @jnavila, could this be related to your #756? I must admit I am puzzled why the |
So the reason I say "for now" is that I fixed it by manually deleting the bogus section from the database. But it may come back if whatever caused the regen a few days ago repeats itself. It looks like the trigger is actually the unsetting of the |
I don't think my change would introduce a new chapter. Only new paragraphs are added (and only paragraphs). Nevertheless, I'll check with the hml files of ja. |
I wondered if maybe it sucked up a paragraph which used to become the first section, or something like that. I admit that's a wild guess, though. |
|
The index.html in the file https://progit2.s3.amazonaws.com/ja/2016-02-11-8cb2f/progit-ja.1016.zip has no content under the title. So maybe my patch introduces the inclusion of this file which did not happen before. Edit: Does not seem so to me, the processing of the chapter is validated above the incriminated change. |
Thanks for looking into it, you all. And thanks for the "for now" fix, @peff, the site is back now 😄 As @m-takagi said, the word a. generated PDF having chapter 11 but missing the actual content of "Index" section(same applies to it translation, whose I can happily revert the modification on |
TLDR; I think you have to revert. I checked the generated There is a remaining point, it seems that Atlas is stuck again. There hasn't been any new build for two months, despite new commits in some translation repositories. That means that even if you revert, we cannot be sure that it was the primary cause of the failure. @peff @schacon @ben What's the status of Atlas? Does it make sense to propose a patch for building the book in all languages directly from the github repos? |
@jnavila That makes sense. I have no clue on the status of Atlas, or future plans for building the book. |
trying to fix git/git-scm.com#760
@jnavila Thanks for the explanation. I've reverted the change, but as you mentioned, the build process doesn't seem to kick off yet. |
Well, after some thoughts, it's not only building the html pages for the website, it's also providing the ebook and pdf versions, which involves a lot more dependencies and access rights (where the files are written). |
Let's discuss over at progit/progit2#625. Hopefully we'll be able to come up with a new toolchain and start publishing HTML again. |
hey @jnavila, is this still a problem when importing the jap version of the book? or can we close this issue? nevertheless it seems more of a issue about book generation than the website itself? |
Not to my knowledge. Closing. |
Japanese translation https://git-scm.com/book/ja/v2 is returning 500 error. v1 translation https://git-scm.com/book/ja/v1 seems to be OK, so do all the other translations.
The oldest tweet mentioning this issue is posted at May 5 8:47AM UTC.
Since the translated source https://github.com/progit/progit2-ja has not been updated since Feb. 2016, I suspect that the recent changes added to git-scm.com are causing the issue.
The text was updated successfully, but these errors were encountered: