Fail to run Hello World ; appy_gin_configs > expected str/bytes/PathLike received NoneType
Describe the bug
Error when running the Hello World, using uv with a venv located above the infinigen folder.
Steps to Reproduce
What version of the code were you using?
3f58bb886bb1bda681d41240344fe3126ac0e9bd
What command did you run?
uv run infinigen/src/infinigen_examples/generate_nature.py --seed 0 --task coarse -g desert.gin simple.gin --output_folder outputs/hello_world/coarse
What are your FULL output logs?
[10:13:41.548] [acceleratesupport] [INFO] | No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate' [10:13:42.189] [init] [INFO] | Addon antlandscape already in blender local addons, attempt to enable it. [10:13:42.355] [init] [INFO] | Addon extra_mesh_objects already in blender local addons, attempt to enable it. [10:13:42.385] [init] [INFO] | Addon real_snow already in blender local addons, attempt to enable it. [10:13:42.396] [smb_client] [WARNING] | SMB_AUTH envvar is not set, smb_client upload will not work. Ignore this message if not using upload [10:13:42.405] [init] [INFO] | Converted seed='0' to scene_seed=0, parsed as hexadecimal Traceback (most recent call last): File "/home/▓/Git/simulation-scene-builder/infinigen/src/infinigen_examples/generate_nature.py", line 1137, in main(args) File "/home/▓/Git/simulation-scene-builder/infinigen/src/infinigen_examples/generate_nature.py", line 1060, in main init.apply_gin_configs( File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 1605, in gin_wrapper utils.augment_exception_message_and_reraise(e, err_str) File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise raise proxy.with_traceback(exception.traceback) from None File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 1582, in gin_wrapper return fn(*new_args, **new_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/▓/Git/simulation-scene-builder/infinigen/src/infinigen/core/init.py", line 195, in apply_gin_configs gin.parse_config_files_and_bindings( File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 2497, in parse_config_files_and_bindings includes_and_imports = parse_config_file(config_file, skip_unknown) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 2450, in parse_config_file includes, imports = parse_config(f, skip_unknown=skip_unknown) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 2346, in parse_config with utils.try_with_location(statement.location): File "/usr/lib/python3.11/contextlib.py", line 155, in exit self.gen.throw(typ, value, traceback) File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/utils.py", line 60, in try_with_location augment_exception_message_and_reraise(exception, _format_location(location)) File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/utils.py", line 41, in augment_exception_message_and_reraise raise proxy.with_traceback(exception.traceback) from None File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/utils.py", line 56, in try_with_location yield File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 2347, in parse_config nested_includes = parse_config_file(statement.filename, skip_unknown) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/config.py", line 2448, in parse_config_file if existence_check(config_file_with_prefix): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/resource_reader.py", line 52, in system_path_file_exists path = _parse_config_path(config_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/▓/Git/simulation-scene-builder/.venv/lib/python3.11/site-packages/gin/resource_reader.py", line 89, in _parse_config_path path = os.path.join(os.path.dirname(file_sys_path), filename) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 152, in dirname TypeError: expected str, bytes or os.PathLike object, not NoneType In file "/home/▓/Git/simulation-scene-builder/infinigen/src/infinigen_examples/configs_nature/base_nature.gin", line 1 include 'configs_nature/base.gin' In call to configurable 'apply_gin_configs' (<function apply_gin_configs at 0x7bfbefbe9300>)
If this is your first time running Infinigen, what are the full install logs?**
Platform
- OS & OS Version: Ubuntu 22.04.5 LTS
- GPU (?) : NVIDIA-SMI 580.173.02
- GPU Driver Version (?) : 580.173.02
- RAM (GB): 32GiB
Additional context
Source: princeton-vl/infinigen