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

Probable typo make PDF build fail #2

Closed
JulienPalard opened this issue Oct 11, 2017 · 4 comments
Closed

Probable typo make PDF build fail #2

JulienPalard opened this issue Oct 11, 2017 · 4 comments

Comments

@JulienPalard
Copy link
Member

@JulienPalard JulienPalard commented Oct 11, 2017

I got:

! Text line contains an invalid character.
l.66796 ...de{subprocess.Popen()}}}} の stream ^^P
                                                  引数など、ファイル記述子つ...

while building with xelatex, and found where it come from, it's from library/socket.po:

#: ../../library/socket.rst:1072
msgid ""
"On Windows, the file-like object created by :meth:`makefile` cannot be used "
"where a file object with a file descriptor is expected, such as the stream "
"arguments of :meth:`subprocess.Popen`."
msgstr ""
"Windows では、 :meth:`subprocess.Popen` の stream ^P引数など、ファイル記述子つき file "
"オブジェクトが期待されている場所では、 :meth:`makefile` によって作成される file-like オブジェクトは使用できません。"

Problem is the ^P right after the word stream. This ^P is the representation emacs makes of the charachter, which is a 0x10, so a data link escape.

git grep $'\x10' 
library/socket.po:"Windows では、 :meth:`subprocess.Popen` の stream ^P引数など、ファイル記述子つき file "
@JulienPalard
Copy link
Member Author

@JulienPalard JulienPalard commented Oct 12, 2017

Got another one:

$ git grep $'\x08'
library/socket.po:"^H高性能の :mod:`os.sendfile` を使用して、ファイルを EOF まで送信し、送信されたバイトの総数を返します。*file* "

It's a \x08 character (backspace) at the beginning of a sentence.

@JulienPalard
Copy link
Member Author

@JulienPalard JulienPalard commented Oct 13, 2017

Both are fixed transifex-side, can someone please tx pull?

@methane
Copy link
Member

@methane methane commented Oct 15, 2017

done

@JulienPalard
Copy link
Member Author

@JulienPalard JulienPalard commented Oct 15, 2017

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.