Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the snowflake extractor import in dev docker #606

Closed
pankajastro opened this issue Aug 22, 2022 · 1 comment · Fixed by #607
Closed

Fix the snowflake extractor import in dev docker #606

pankajastro opened this issue Aug 22, 2022 · 1 comment · Fixed by #607
Assignees
Labels
bug Something isn't working

Comments

@pankajastro
Copy link
Contributor

Getting below error in container

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/airflow/plugins_manager.py", line 227, in load_entrypoint_plugins
    plugin_class = entry_point.load()
  File "/usr/local/lib/python3.9/site-packages/importlib_metadata/__init__.py", line 203, in load
    module = import_module(match.group('module'))
  File "/usr/local/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/usr/local/lib/python3.9/site-packages/openlineage/airflow/plugin.py", line 25, in <module>
    from openlineage.airflow import listener
  File "/usr/local/lib/python3.9/site-packages/openlineage/airflow/listener.py", line 74, in <module>
    extractor_manager = ExtractorManager()
  File "/usr/local/lib/python3.9/site-packages/openlineage/airflow/extractors/manager.py", line 15, in __init__
    self.task_to_extractor = Extractors()
  File "/usr/local/lib/python3.9/site-packages/openlineage/airflow/extractors/extractors.py", line 80, in __init__
    extractor = import_from_string(extractor)
  File "/usr/local/lib/python3.9/site-packages/openlineage/airflow/utils.py", line 303, in import_from_string
    raise ImportError(f"Failed to import {path}") from e
ImportError: Failed to import  astronomer.providers.snowflake.extractors.snowflake.SnowflakeAsyncExtractor
@pankajastro pankajastro added the bug Something isn't working label Aug 22, 2022
@pankajastro
Copy link
Contributor Author

Screenshot 2022-08-23 at 3 27 56 AM

@pankajastro pankajastro self-assigned this Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant