beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (BEAM-824) Misleading error message when sdk_location is missing in python
Date Wed, 26 Oct 2016 22:56:59 GMT


ASF GitHub Bot commented on BEAM-824:

GitHub user pabloem opened a pull request:

    [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](
    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 sdk-location-err-message

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

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:
>             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

View raw message