Skip to content

Probable typo make PDF build fail #2

Closed

Description

@JulienPalard

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 "

Activity

  1. JulienPalard commented on Oct 12, 2017

    @JulienPalard
    MemberAuthor

    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.

  2. JulienPalard commented on Oct 13, 2017

    @JulienPalard
    MemberAuthor

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

  3. methane commented on Oct 15, 2017

    @methane
    Member

    done

  4. JulienPalard commented on Oct 15, 2017

    @JulienPalard
    MemberAuthor

    Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions