StanfordVL / iGibson

A Simulation Environment to train Robots in Large Realistic Interactive Scenes
http://svl.stanford.edu/igibson
MIT License
660 stars 159 forks source link

Windows fatal exception: access violation #242

Open Xqle opened 2 years ago

Xqle commented 2 years ago

Hi,

I had downloaded the igdataset, so I tried to run pytest to see if something is going wrong.

The first test, namely _testbinding.py, failed. Then I ran into another issue when I was on the 4th subtest of _testobject.py but I didn't know what was going on.

Are there any solutions for this situation?

(igibson) PS D:\xql\iGibson2.0\iGibson\tests> pytest --ignore disabled --ignore benchmark ================================================= test session starts ================================================= platform win32 -- Python 3.8.13, pytest-7.1.3, pluggy-1.0.0 rootdir: D:\xql\iGibson2.0\iGibson, configfile: pyproject.toml plugins: cov-4.0.0, subtests-0.8.0 collected 53 items

test_binding.py FF [ 3%] test_determinism_against_same_version.py . [ 5%] test_igibson_env.py ... [ 11%] test_igsdf_scene_importing.py . [ 13%] test_motion_planning.py .. [ 16%] test_object.py ...Windows fatal exception: access violation

Current thread 0x000016b4 (most recent call first): File "D:\xql\iGibson2.0\iGibson\igibson\render\mesh_renderer\mesh_renderer_cpu.py", line 350 in load_texture_file File "D:\xql\iGibson2.0\iGibson\igibson\render\mesh_renderer\mesh_renderer_cpu.py", line 486 in load_object File "D:\xql\iGibson2.0\iGibson\igibson\simulator.py", line 387 in load_object_in_renderer File "D:\xql\iGibson2.0\iGibson\igibson\simulator.py", line 33 in wrapped_load_func File "D:\xql\iGibson2.0\iGibson\igibson\robots\robot_base.py", line 179 in _load File "D:\xql\iGibson2.0\iGibson\igibson\objects\object_base.py", line 77 in load File "D:\xql\iGibson2.0\iGibson\igibson\objects\stateful_object.py", line 41 in load File "D:\xql\iGibson2.0\iGibson\igibson\robots\robot_base.py", line 185 in load File "D:\xql\iGibson2.0\iGibson\igibson\scenes\scene_base.py", line 108 in add_object File "D:\xql\iGibson2.0\iGibson\igibson\simulator.py", line 262 in import_object File "D:\xql\iGibson2.0\iGibson\igibson\simulator.py", line 33 in wrapped_load_func File "D:\xql\iGibson2.0\iGibson\tests\test_object.py", line 102 in test_import_box File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\python.py", line 192 in pytest_pyfunc_call File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_callers.py", line 39 in _multicall File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_manager.py", line 80 in _hookexec File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_hooks.py", line 265 in call File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\python.py", line 1761 in runtest File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 166 in pytest_runtest_call File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_callers.py", line 39 in _multicall File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_manager.py", line 80 in _hookexec File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_hooks.py", line 265 in call File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 259 in File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 338 in from_call File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 258 in call_runtest_hook File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 219 in call_and_report File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 130 in runtestprotocol File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\runner.py", line 111 in pytest_runtest_protocol File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_callers.py", line 39 in _multicall File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_manager.py", line 80 in _hookexec File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_hooks.py", line 265 in call File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\main.py", line 347 in pytest_runtestloop File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_callers.py", line 39 in _multicall File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_manager.py", line 80 in _hookexec File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_hooks.py", line 265 in call File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\main.py", line 322 in _main File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\main.py", line 268 in wrap_session File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\main.py", line 315 in pytest_cmdline_main File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_callers.py", line 39 in _multicall File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_manager.py", line 80 in _hookexec File "D:\Anaconda3\envs\igibson\lib\site-packages\pluggy_hooks.py", line 265 in call File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\config__init.py", line 164 in main File "D:\Anaconda3\envs\igibson\lib\site-packages_pytest\config__init__.py", line 187 in console_main File "D:\Anaconda3\envs\igibson\Scripts\pytest.exe\main__.py", line 7 in File "D:\Anaconda3\envs\igibson\lib\runpy.py", line 87 in _run_code File "D:\Anaconda3\envs\igibson\lib\runpy.py", line 194 in _run_module_as_main

cgokmen commented 2 years ago

I don't think this is a problem, some of the tests just don't run on Windows.