[ https://issues.apache.org/jira/browse/BEAM-8368?focusedWorklogId=327708&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-327708 ]
ASF GitHub Bot logged work on BEAM-8368: ---------------------------------------- Author: ASF GitHub Bot Created on: 14/Oct/19 09:56 Start Date: 14/Oct/19 09:56 Worklog Time Spent: 10m Work Description: kamilwu commented on issue #9768: [BEAM-8368] Avoid libprotobuf-generated exception when importing apache_beam URL: https://github.com/apache/beam/pull/9768#issuecomment-541587102 Run Python PreCommit ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 327708) Time Spent: 50m (was: 40m) > [Python] libprotobuf-generated exception when importing apache_beam > ------------------------------------------------------------------- > > Key: BEAM-8368 > URL: https://issues.apache.org/jira/browse/BEAM-8368 > Project: Beam > Issue Type: Bug > Components: sdk-py-core > Affects Versions: 2.15.0, 2.17.0 > Reporter: Ubaier Bhat > Assignee: Ahmet Altay > Priority: Blocker > Fix For: 2.17.0 > > Attachments: error_log.txt > > Time Spent: 50m > Remaining Estimate: 0h > > Unable to import apache_beam after upgrading to macos 10.15 (Catalina). > Cleared all the pipenvs and but can't get it working again. > {code} > 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): > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)