beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haoxiang (JIRA)" <>
Subject [jira] [Created] (BEAM-1545) Python sdk example run failed
Date Fri, 24 Feb 2017 06:51:44 GMT
Haoxiang created BEAM-1545:

             Summary: Python sdk example run failed
                 Key: BEAM-1545
             Project: Beam
          Issue Type: Bug
          Components: sdk-py
            Reporter: Haoxiang
            Assignee: Ahmet Altay

When I run the python sdk example with
commands: python -m apache_beam.examples.wordcount --input gs://dataflow-samples/shakespeare/kinglear.txt
--output output.txt

was failed by the logs:
INFO:root:Missing pipeline option (runner). Executing pipeline using the default runner: DirectRunner.
Traceback (most recent call last):
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/",
line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/",
line 72, in _run_code
    exec code in run_globals
  File "/Users/haoxiang/InterestingGitProject/beam/sdks/python/apache_beam/examples/",
line 107, in <module>
  File "/Users/haoxiang/InterestingGitProject/beam/sdks/python/apache_beam/examples/",
line 83, in run
    lines = p | 'read' >> ReadFromText(known_args.input)
  File "apache_beam/io/", line 378, in __init__
  File "apache_beam/io/", line 87, in __init__
  File "apache_beam/io/", line 97, in __init__
  File "apache_beam/io/", line 171, in _validate
    if len(fileio.ChannelFactory.glob(self._pattern, limit=1)) <= 0:
  File "apache_beam/io/", line 281, in glob
    return gcsio.GcsIO().glob(path, limit)
AttributeError: 'NoneType' object has no attribute 'GcsIO'

This message was sent by Atlassian JIRA

View raw message