Skip to content

ValueError: Failed to successfully execute function in Python interpreter: Traceback (most recent call last): #5191

Open
@sentry-io

Description

@sentry-io

Sentry Issue: THOTH-1SVW

ValueError: Failed to successfully execute function in Python interpreter: Traceback (most recent call last):
  File "<string>", line 38, in <module>
  File "<string>", line 5, in _get_importlib_metadata_metadata
  File "/opt/app-root/lib64/python3.10/site-packages/importlib_metadata/__init__.py", line 6, in <module>
    import zipp
  File "/opt/app-root/src/solver-venv/lib/python3.10/site-packages/zipp.py", line 0
SyntaxError: unknown encoding: future-fstrings

  File "/opt/app-root/lib64/python3.10/site-packages/thoth/solver/python/python.py", line 300, in _do_resolve_index
    package_metadata = get_package_metadata(python_bin, package_name)
  File "/opt/app-root/lib64/python3.10/site-packages/thoth/solver/python/instrument.py", line 223, in get_package_metadata
    "metadata": execute_env_function(
  File "/opt/app-root/lib64/python3.10/site-packages/thoth/solver/python/instrument.py", line 193, in execute_env_function
    raise ValueError("Failed to successfully execute function in Python interpreter: {}".format(res.stderr))

An exception occurred during package metadata gathering

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.sig/stack-guidanceCategorizes an issue or PR as relevant to SIG Stack Guidance.triage/needs-informationIndicates an issue needs more information in order to work on it.

    Type

    No type

    Projects

    Status

    📋 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions