You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/04/04 21:06:14 UTC

[GitHub] [beam] Abacn commented on pull request #16923: [BEAM-10529] nullable xlang coder

Abacn commented on PR #16923:
URL: https://github.com/apache/beam/pull/16923#issuecomment-1088013195

   Hi,
   
   I got an error on `./gradlew :sdks:python:wordCount` checking out latest master:
   
   ```> Task :sdks:python:wordCount FAILED
   Traceback (most recent call last):
     File "/Users/<USER>/.pyenv/versions/3.8.7/lib/python3.8/runpy.py", line 185, in _run_module_as_main
       mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
     File "/Users/<USER>/.pyenv/versions/3.8.7/lib/python3.8/runpy.py", line 111, in _get_module_details
       __import__(pkg_name)
     File "/Users/<USER>/beam/sdks/python/apache_beam/__init__.py", line 92, in <module>
       from apache_beam import coders
     File "/Users/<USER>/beam/sdks/python/apache_beam/coders/__init__.py", line 17, in <module>
       from apache_beam.coders.coders import *
     File "/Users/<USER>/beam/sdks/python/apache_beam/coders/coders.py", line 638, in <module>
       Coder.register_structured_urn(common_urns.coders.NULLABLE.urn, NullableCoder)
   AttributeError: type object 'Enum' has no attribute 'NULLABLE'
   
   FAILURE: Build failed with an exception.
   
   * Where:
   Build file '/Users/<USER>/beam/sdks/python/build.gradle' line: 119
   
   * What went wrong:
   Execution failed for task ':sdks:python:wordCount'.
   > Process 'command 'sh'' finished with non-zero exit value 1
   ```
   
   Seems related to this change. Could anyone please have a look, thanks!


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org