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 663BC200C5A for ; Tue, 18 Apr 2017 22:04:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 48E85160BAC; Tue, 18 Apr 2017 20:04:46 +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 8F36F160B87 for ; Tue, 18 Apr 2017 22:04:45 +0200 (CEST) Received: (qmail 71439 invoked by uid 500); 18 Apr 2017 20:04:44 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 71430 invoked by uid 99); 18 Apr 2017 20:04:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Apr 2017 20:04:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5F999C0027 for ; Tue, 18 Apr 2017 20:04:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id c-ayedx7If_Q for ; Tue, 18 Apr 2017 20:04:43 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 287215FCAE for ; Tue, 18 Apr 2017 20:04:43 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id B43C8E0436 for ; Tue, 18 Apr 2017 20:04:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 30E1020D59 for ; Tue, 18 Apr 2017 20:04:41 +0000 (UTC) Date: Tue, 18 Apr 2017 20:04:41 +0000 (UTC) From: "Matthias Baetens (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-842) dependency.py: package not found when running on Windows MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 18 Apr 2017 20:04:46 -0000 [ https://issues.apache.org/jira/browse/BEAM-842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15973381#comment-15973381 ] Matthias Baetens commented on BEAM-842: --------------------------------------- [vectorijk], [~altay] sorry for the late reply, lost track of this. The problem was solved soon after I ran into it. Shall I close the issue? > dependency.py: package not found when running on Windows > -------------------------------------------------------- > > Key: BEAM-842 > URL: https://issues.apache.org/jira/browse/BEAM-842 > Project: Beam > Issue Type: Bug > Components: sdk-py > Environment: Windows 10, Python 2.7.11 > Reporter: Matthias Baetens > Priority: Minor > Labels: newbie > > When having splitting your pipeline into multiple files and configuring your project according to the Juliaset example (https://cloud.google.com/dataflow/pipelines/dependencies-python#multiple-file-dependencies), the Pipeline still crashes when using Windows. > This is caused by setuptools defaulting to a .zip on Windows, and the current Beam code looks for a .tar.gz (dependency.py, line 400). When changing this line to: output_files = glob.glob(os.path.join(temp_dir, '*.zip')), it works. > Suggestion: checking the OS would probably solve this issue. -- This message was sent by Atlassian JIRA (v6.3.15#6346)