[ 
https://issues.apache.org/jira/browse/BEAM-824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15609952#comment-15609952
 ] 

ASF GitHub Bot commented on BEAM-824:
-------------------------------------

GitHub user pabloem opened a pull request:

    https://github.com/apache/incubator-beam/pull/1200

    [BEAM-824] Fixing error message when sdk_location not provided

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
    
     - [x] Make sure the PR title is formatted like:
       `[BEAM-<Jira issue #>] Description of pull request`
     - [x] Make sure tests pass via `mvn clean verify`. (Even better, enable
           Travis-CI on your fork and ensure the whole test matrix passes).
     - [x] Replace `<Jira issue #>` in the title with the actual Jira issue
           number, if there is one.
     - [ ] If this contribution is large, please file an Apache
           [Individual Contributor License 
Agreement](https://www.apache.org/licenses/icla.txt).
    
    ---
    
    r: @aaltay can you take a look?
    I tried adding the error strings to `pkg_resources.DistributionNotFound`'s 
`.args` tuple, but it seems to have special formatting for them so I couldn't 
add extra information on the error message. Let me know how to change the error 
message.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/pabloem/incubator-beam 
sdk-location-err-message

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-beam/pull/1200.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1200
    
----

----


> Misleading error message when sdk_location is missing in python
> ---------------------------------------------------------------
>
>                 Key: BEAM-824
>                 URL: https://issues.apache.org/jira/browse/BEAM-824
>             Project: Beam
>          Issue Type: Improvement
>            Reporter: Pablo Estrada
>
> When trying to submit jobs to the Cloud Dataflow service using the Python 
> SDK, the sdk_location should be provided or the serive errors out saying that 
> package google-cloud-dataflow is missing.
> We might want to prompt users to add sdk_location parameter.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to