Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Python 3.8 missing library anticrlf #3745

Closed
windhamwong opened this issue Dec 9, 2021 · 2 comments · Fixed by #3746
Closed

Python 3.8 missing library anticrlf #3745

windhamwong opened this issue Dec 9, 2021 · 2 comments · Fixed by #3746

Comments

@windhamwong
Copy link
Contributor

The python script using the anticrlf library:
https://github.com/apache/incubator-heron/blob/2190502da0ad723db86a13216f5d9acd0b4c6474/heron/shell/src/python/handlers/downloadhandler.py

It is breaking the whole thing with error:

[2021-12-09 07:37:40 +0000] [INFO]: heron-shell-0 stdout:
[2021-12-09 07:37:50 +0000] [INFO]: Running heron-shell-0 process as ./heron-core/bin/heron-shell --port=6004 --log_file_prefix=log-files/heron-shell-0.log --secret=biohacker-leslie74e3139c-cc07-40d3-83b8-a42a458582fd
[2021-12-09 07:37:50 +0000] [INFO]: Logging pid 225 to file heron-shell-0.pid
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout: Traceback (most recent call last):
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/.bootstrap/pex/pex.py", line 476, in execute
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     exit_value = self._wrap_coverage(self._wrap_profiling, self._execute)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/.bootstrap/pex/pex.py", line 401, in _wrap_coverage
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     return runner(*args)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/.bootstrap/pex/pex.py", line 432, in _wrap_profiling
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     return runner(*args)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/.bootstrap/pex/pex.py", line 532, in _execute
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     return self.execute_entry(self._pex_info.entry_point)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/.bootstrap/pex/pex.py", line 679, in execute_entry
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     return self.execute_module(entry_point, alter_sys)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/.bootstrap/pex/pex.py", line 691, in execute_module
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     runpy.run_module(module_name, run_name="__main__", alter_sys=alter_sys)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/usr/lib/python3.8/runpy.py", line 207, in run_module
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     return _run_module_code(code, init_globals, run_name, mod_spec)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/usr/lib/python3.8/runpy.py", line 97, in _run_module_code
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     _run_code(code, mod_globals, init_globals,
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     exec(code, run_globals)
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/heron/shell/src/python/main.py", line 30, in <module>
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     from heron.shell.src.python import handlers
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/heron/shell/src/python/handlers/__init__.py", line 19, in <module>
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     from .downloadhandler import DownloadHandler
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:   File "/heron/.pex/unzipped_pexes/df2f773e4ac2c0ebc390f03014ddd6abc6f6b98b/heron/shell/src/python/handlers/downloadhandler.py", line 26, in <module>
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout:     import anticrlf
[2021-12-09 07:37:51 +0000] [INFO]: heron-shell-0 stdout: ModuleNotFoundError: No module named 'anticrlf'
@nicknezis
Copy link
Contributor

nicknezis commented Dec 18, 2021 via email

@nicknezis
Copy link
Contributor

nicknezis commented Dec 19, 2021 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants