From owner-freebsd-python@FreeBSD.ORG Wed Jun 10 21:23:36 2015 Return-Path: Delivered-To: freebsd-python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B79AB3A1 for ; Wed, 10 Jun 2015 21:23:36 +0000 (UTC) (envelope-from rsimmons0@gmail.com) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 835041729 for ; Wed, 10 Jun 2015 21:23:36 +0000 (UTC) (envelope-from rsimmons0@gmail.com) Received: by igblz2 with SMTP id lz2so42300946igb.1 for ; Wed, 10 Jun 2015 14:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=HOhdwXEZgMzMhHJYe8gEq1/ktMSBlZAyWrR5BjTfh54=; b=k1lB32kpoURDWzD23PvuQjwNR4hymdRjcMoMUMMKGAVupiujiSbJgu92Cd+aMGM6zF F0yzkIqLK5wAksVKDpz4jEKeLQxcTpvdWyFPfciP+/Mrb0X3oqSd2OJE7h9sW1W/SMly SR8wS0bjgVgat3ugZJAa1OyXnrWrst71GgJicxi4AarHhVmwCCybs32/IeNUkzPFNFcJ rWlMyz1QQOq/zlMyHqQImoupEsazBXmcsGJ7eBZNuQ6Qb3EtMGZaJ+9oGy4hXVdyW1qb 575bAnqigEUQEzup6eovJ2s+s3cq36AveqPLXJu1SCtU7JXfp5KXBzDLqldGNbtTvPU4 WGcQ== MIME-Version: 1.0 X-Received: by 10.107.27.7 with SMTP id b7mr6726491iob.64.1433971415916; Wed, 10 Jun 2015 14:23:35 -0700 (PDT) Received: by 10.64.60.73 with HTTP; Wed, 10 Jun 2015 14:23:35 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Jun 2015 17:23:35 -0400 Message-ID: Subject: Re: Python Subprocess Crontab Problem From: Robert Simmons To: freebsd-python@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2015 21:23:36 -0000 On Wed, Jun 10, 2015 at 5:02 PM, Craig Rodrigues wrote: > Can you add right here: > print("PATH: %s" % os.environ['PATH'], file=errors) > > and see what the PATH is in your errors file? I should have mentioned that I'm using python3. The above is causing a TypeError: TypeError: 'str' does not support the buffer interface