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

PCollectionVisualizationTest: possible bug

Details

    • Improvement
    • Status: Triage Needed
    • P2
    • Resolution: Fixed
    • None
    • 2.19.0
    • sdk-py-core
    • None

    Description

      This seems like a bug, even though the test passes:

      test_display_plain_text_when_kernel_has_no_frontend (apache_beam.runners.interactive.display.pcoll_visualization_test.PCollectionVisualizationTest) ... Exception in thread Thread-4405:
      Traceback (most recent call last):
        File "/usr/lib/python3.7/threading.py", line 926, in _bootstrap_inner
          self.run()
        File "/usr/local/google/home/ehudm/src/beam/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/.eggs/timeloop-1.0.2-py3.7.egg/timeloop/job.py", line 19, in run
          self.execute(*self.args, **self.kwargs)
        File "/usr/local/google/home/ehudm/src/beam/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py", line 132, in continuous_update_display
          updated_pv.display_facets(updating_pv=pv)
        File "/usr/local/google/home/ehudm/src/beam/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py", line 209, in display_facets
          data = self._to_dataframe()
        File "/usr/local/google/home/ehudm/src/beam/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py", line 278, in _to_dataframe
          for el in self._to_element_list():
        File "/usr/local/google/home/ehudm/src/beam/sdks/python/test-suites/tox/py37/build/srcs/sdks/python/apache_beam/runners/interactive/display/pcoll_visualization.py", line 266, in _to_element_list
          if ie.current_env().cache_manager().exists('full', self._cache_key):
      AttributeError: 'NoneType' object has no attribute 'exists'
      
      ok
      

      Attachments

        Issue Links

          Activity

            People

              ningk Ning
              udim Udi Meiri
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 2.5h
                  2.5h