Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id C6655200B45 for ; Fri, 15 Jul 2016 18:19:49 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C4DCA160A61; Fri, 15 Jul 2016 16:19:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 1977A160A57 for ; Fri, 15 Jul 2016 18:19:48 +0200 (CEST) Received: (qmail 80271 invoked by uid 500); 15 Jul 2016 16:19:48 -0000 Mailing-List: contact dev-help@community.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@community.apache.org Delivered-To: mailing list dev@community.apache.org Received: (qmail 80258 invoked by uid 99); 15 Jul 2016 16:19:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 15 Jul 2016 16:19:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2DAD81A10DF for ; Fri, 15 Jul 2016 16:19:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id ygrZeQC6hXEO for ; Fri, 15 Jul 2016 16:19:45 +0000 (UTC) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id DFEE25F217 for ; Fri, 15 Jul 2016 16:19:44 +0000 (UTC) Received: by mail-yw0-f178.google.com with SMTP id i12so105301527ywa.1 for ; Fri, 15 Jul 2016 09:19:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=tPSH/gT5GXGCroRcXUuJFWBMHeOKUIwOx+UoLkZ4CMY=; b=gfsvd4KikA+XrN3hDkZFhTbBXkijlmrUY7ELlUJKxbCfLVmwbLhZFFbU2zIhvt/t16 1cy+L0OCzX83fL0rZLrWUZ/vY8P/ymYV9X6fe7FS67nwe25/kK4qwyEMK3jPWNv14LjK lizXaSBzuMTYjfyR+6BSbdtwUoOBZsMueFKqIVnBEosOdRdTFylUP6ylxG8ZqwOacfrS lZgpdLLPOhDs2dFk4xtlo4rtohvMuJhCw4kQxc6i7FpKIf/CMzSKlzad4+IFmZkZ4ily Kolfh65druHWBXcHfKX7F2Aggnz129DW1zIQp+8FAdzJ1GNnG0t1LlcxXOXQEDLUrx2H ctOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=tPSH/gT5GXGCroRcXUuJFWBMHeOKUIwOx+UoLkZ4CMY=; b=Jy4H0MKDS8if43nSJukrx0Fw4ittGHWyHcbXizlwMDN5XAuF+98wujHQfoqRsikEOP bfHYKTD8erP9XTduaXcul2RVK+yXkWbnB2IUJ4XIX1Xtu1pQsmJ+Vbrn2j5FKrxk7bMG xV7vy3exxW4LY/ow2zeZuFCKW6X1VhsvIxl6n30gW/lx+BYi1ZWkbpExK5vy5HBMeDD4 096n+tOnz7SjwnZrXazKbzHoTdvoRp3tPJ2RszJlHpZQjELNvvhTgopGokkWeJ5yFjzt B9Vi/1j2EbhmOh5j0NpWuMdJm4n+CevKYJoiXVhPSKNM8VxIuUXqah9w79v+omWgnGZY ibJQ== X-Gm-Message-State: ALyK8tKyKT8NziRweyoTJe4kJwe+WktlftVZh1APW37ImEJgHiS8s2+wPj2G8ZddQ5EpTZ2VVLQKFVnOEWRKoA== X-Received: by 10.129.130.196 with SMTP id s187mr15920000ywf.215.1468599583734; Fri, 15 Jul 2016 09:19:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.37.79.11 with HTTP; Fri, 15 Jul 2016 09:19:43 -0700 (PDT) In-Reply-To: References: From: Joe Witt Date: Fri, 15 Jul 2016 12:19:43 -0400 Message-ID: Subject: Re: Avro Tutorial To: dev@community.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Fri, 15 Jul 2016 16:19:50 -0000 Hello Andre Consider reaching out to the Apache Avro community directly. You can select from their lists here: https://avro.apache.org/mailing_lists.html Thanks Joe On Fri, Jul 15, 2016 at 12:11 PM, Andre Reis wrote: > Hello, > > I was getting started with Avro (with Python 3.5) and I noticed your > tutorial code doesn't work. > > Besides having a problem on the Python module, on the datafile.py file, on > the part where you check if the codec is valid (which I think has already > been fixed on your github, just not released yet), the tutorial code has > some parts who need fixing, like: > avro.schema.parse function does not exist, it is, instead, > avro.schema.Parse, > and on the same line, after the .read() function you must add .decode(), > otherwise you'll be getting bytes instead of a string, and it won't work. > > Those are the basic errors that happen both on the reading and on the > writing part. > > Would you want to fix this? > > I'm not sure if this is the right email or place to ask this, but I can > send you my changes to the code, if you wish. If this isn't, please > redirect me somewhere else. > > Thank you, > Andre --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@community.apache.org For additional commands, e-mail: dev-help@community.apache.org