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

Beam 2.19 raises exception in IPython notebook

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: sdk-py-core
    • Labels:
      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

              • Assignee:
                ccy Charles Chen
                Reporter:
                ccy Charles Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

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