[
https://issues.apache.org/jira/browse/BEAM-1813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546369#comment-17546369
]
Kenneth Knowles commented on BEAM-1813:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18241
> --setup_file needs fuller-path
> ------------------------------
>
> Key: BEAM-1813
> URL: https://issues.apache.org/jira/browse/BEAM-1813
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Mike Lambert
> Priority: P3
>
> Running {{--setup_file setup.py}} fails:
> {noformat}
> File
> "/Users/lambert/Projects/dancedeets-monorepo/dataflow/lib/apache_beam/runners/dataflow/internal/dependency.py",
> line 402, in _build_setup_package
> os.chdir(os.path.dirname(setup_file))
> OSError: [Errno 2] No such file or directory: ''
> {noformat}
> Mainly, because it's attempting to do os.chdir('').
> Running {{--setup_file ./setup.py}} works fine.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)