Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9277

Beam 2.19 raises exception in IPython notebook

Details

    • Bug
    • Status: Triage Needed
    • P3
    • Resolution: Fixed
    • None
    • 2.20.0
    • sdk-py-core
    • None

    Description

      Beam 2.19 causes the following error to occur in an IPython notebook:

      /usr/local/lib/python3.6/dist-packages/apache_beam/utils/interactive_utils.py in alter_label_if_ipython(transform, pvalueish)
      ipython prompt metadata. Cannot figure out the pipeline '
      that the given pvalueish %s belongs to. Thus noop.'
       ---> 84 % pvalueish)
      if (pipeline

      1. We only alter for transforms to be applied to user-defined pipelines}}TypeError: not all arguments converted during string formatting

      The fix should be that the formatter should pass "% (pvalueish,)" instead of the possible tuple.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ccy Charles Chen
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m