From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id A81305ABA for ; Thu, 19 Mar 2015 12:24:13 +0100 (CET) Received: by wgdm6 with SMTP id m6so59523484wgd.2 for ; Thu, 19 Mar 2015 04:24:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=75sfTdxmh3ieG4eI/bE3LEWaoNTJ4DZ+9SFMmH3RGs4=; b=ksuTNqK++A3KqePMp9MlhulQxMcXNa1XkKkCphzEEoCKD9XUKwqEdMVFqjF4Wc4aN2 CT9p1S72FejtQ/NZmzGc4Po9yw4dIXD8aiefwB0xDezQQJGmSqiqQ80vc75UMIg2aZIw 0DtCtlEml26FPm9f9zp73yJMkqO/VhDq0edoOJXyuveysOWELJZn99C8vMU1dtsJPTwP nCMYgyM89CpYan4nQqoAJuU3ujBnvScjeabiRZfyDwcaAOdElrc0/3Uf+3LTh+l5pe0R 5b6b9pkScAycwk/5dsZNDQ1442RjHlzWSB68uL51ytazES8yl2cz9DVV7U06H4wD2GAS dpxQ== X-Gm-Message-State: ALoCoQmmK1kUkLxI99A42koZu6cm54GJ/3EJbU0dyl24UhrQoxbw/QhQiFTPZizHo1BKteR3GaIG X-Received: by 10.194.91.129 with SMTP id ce1mr108280544wjb.53.1426764253588; Thu, 19 Mar 2015 04:24:13 -0700 (PDT) Received: from localhost.localdomain (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id y14sm1537682wjr.39.2015.03.19.04.24.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 19 Mar 2015 04:24:12 -0700 (PDT) From: Thomas Monjalon To: john.mcnamara@intel.com Date: Thu, 19 Mar 2015 12:23:22 +0100 Message-Id: <1426764204-3882-6-git-send-email-thomas.monjalon@6wind.com> X-Mailer: git-send-email 2.2.2 In-Reply-To: <1426764204-3882-1-git-send-email-thomas.monjalon@6wind.com> References: <1422972678-7982-1-git-send-email-john.mcnamara@intel.com> <1426764204-3882-1-git-send-email-thomas.monjalon@6wind.com> Cc: dev@dpdk.org Subject: [dpdk-dev] [PATCH v5 5/7] doc: fix version for python 3 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Mar 2015 11:24:14 -0000 When generating Latex for PDF, this error occurs: ! Undefined control sequence. \version ->b'2.0.0-rc2\n Decoding bytes stream into UTF-8 fixes the issue. Signed-off-by: Thomas Monjalon --- doc/guides/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/guides/conf.py b/doc/guides/conf.py index 264b0cd..7151dfd 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -34,7 +34,7 @@ project = 'DPDK' html_show_copyright = False -version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']) +version = subprocess.check_output(['make', '-sRrC', '../../', 'showversion']).decode('utf-8') release = version master_doc = 'index' -- 2.2.2