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

[Python] libprotobuf-generated exception when importing apache_beam

Details

    • Bug
    • Status: Triage Needed
    • P0
    • Resolution: Fixed
    • 2.15.0, 2.17.0
    • 2.17.0
    • sdk-py-core
    • None

    Description

      Unable to import apache_beam after upgrading to macos 10.15 (Catalina). Cleared all the pipenvs and but can't get it working again.

      import apache_beam as beam
      /Users/***/.local/share/virtualenvs/beam-etl-ims6DitU/lib/python3.7/site-packages/apache_beam/__init__.py:84: UserWarning: Some syntactic constructs of Python 3 are not yet fully supported by Apache Beam.
        'Some syntactic constructs of Python 3 are not yet fully supported by '
      [libprotobuf ERROR google/protobuf/descriptor_database.cc:58] File already exists in database: 
      [libprotobuf FATAL google/protobuf/descriptor.cc:1370] CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
      libc++abi.dylib: terminating with uncaught exception of type google::protobuf::FatalException: CHECK failed: GeneratedDatabase()->Add(encoded_file_descriptor, size): 
      

      Attachments

        1. error_log.txt
          79 kB
          Ubaier Bhat

        Issue Links

          Activity

            People

              bhulette Brian Hulette
              ubaierbhat Ubaier Bhat
              Votes:
              0 Vote for this issue
              Watchers:
              9 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 - 4h 40m
                  4h 40m