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

pyvista__pyvista-4315 isn't working #246

Open
thaiminhpv opened this issue Nov 6, 2024 · 1 comment
Open

pyvista__pyvista-4315 isn't working #246

thaiminhpv opened this issue Nov 6, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@thaiminhpv
Copy link
Contributor

Describe the bug

pyvista__pyvista-4315 in SWE-Bench Lite dev set isn't working

Steps/Code to Reproduce

python -m swebench.harness.run_evaluation \
    --predictions_path gold \
    --max_workers 1 \
    --instance_ids pyvista__pyvista-4315 \
    --run_id validate-gold \
    --split dev

Expected Results

It should run

Actual Results

+ pytest -rA tests/test_grid.py
/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py:328: PluggyTeardownRaisedWarning: A plugin raised an exception during an old-style hookwrapper teardown.
Plugin: helpconfig, Hook: pytest_cmdline_parse
ImportError: libGL.so.1: cannot open shared object file: No such file or directory
For more information see https://pluggy.readthedocs.io/en/stable/api_reference.html#pluggy.PluggyTeardownRaisedWarning
  config = pluginmanager.hook.pytest_cmdline_parse(
Traceback (most recent call last):
  File "/opt/miniconda3/envs/testbed/bin/pytest", line 8, in <module>
    sys.exit(console_main())
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py", line 189, in console_main
    code = main()
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py", line 147, in main
    config = _prepareconfig(args, plugins)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py", line 328, in _prepareconfig
    config = pluginmanager.hook.pytest_cmdline_parse(
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pluggy/_hooks.py", line 513, in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pluggy/_manager.py", line 120, in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pluggy/_callers.py", line 156, in _multicall
    teardown[0].send(outcome)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/helpconfig.py", line 103, in pytest_cmdline_parse
    config: Config = outcome.get_result()
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pluggy/_result.py", line 100, in get_result
    raise exc.with_traceback(exc.__traceback__)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pluggy/_callers.py", line 103, in _multicall
    res = hook_impl.function(*args)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1077, in pytest_cmdline_parse
    self.parse(args)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1366, in parse
    self._preparse(args, addopts=addopts)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/config/__init__.py", line 1249, in _preparse
    self.pluginmanager.load_setuptools_entrypoints("pytest11")
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pluggy/_manager.py", line 421, in load_setuptools_entrypoints
    plugin = ep.load()
  File "/opt/miniconda3/envs/testbed/lib/python3.9/importlib/metadata.py", line 86, in load
    module = import_module(match.group('module'))
  File "/opt/miniconda3/envs/testbed/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 972, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  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 "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 178, in exec_module
    exec(co, module.__dict__)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pytest_pyvista/__init__.py", line 5, in <module>
    from .pytest_pyvista import VerifyImageCache
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/_pytest/assertion/rewrite.py", line 178, in exec_module
    exec(co, module.__dict__)
  File "/opt/miniconda3/envs/testbed/lib/python3.9/site-packages/pytest_pyvista/pytest_pyvista.py", line 8, in <module>
    import pyvista
  File "/testbed/pyvista/__init__.py", line 10, in <module>
    from pyvista.plotting import *
  File "/testbed/pyvista/plotting/__init__.py", line 4, in <module>
    from .charts import Chart, Chart2D, ChartMPL, ChartBox, ChartPie
  File "/testbed/pyvista/plotting/charts.py", line 15, in <module>
    from pyvista import _vtk
  File "/testbed/pyvista/_vtk.py", line 422, in <module>
    from vtkmodules.vtkInteractionWidgets import (
ImportError: libGL.so.1: cannot open shared object file: No such file or directory

System Information

> python --version
Python 3.12.0
> pip list --format=freeze | grep swe
swebench==2.1.1
@thaiminhpv thaiminhpv added the bug Something isn't working label Nov 6, 2024
@thaiminhpv
Copy link
Contributor Author

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

No branches or pull requests

1 participant