Skip to content

ci is failing on jeff processing #20

@shimwell

Description

@shimwell

ci is failing for unrelated reason to this PR

2025-08-29T13:10:56.4585462Z Extracting [PosixPath('/home/runner/work/openmc_data/openmc_data/jeff-3.3-download/ace_293.tar.gz'), PosixPath('/home/runner/work/openmc_data/openmc_data/jeff-3.3-download/ace_tsl.tar.gz')] to /home/runner/work/openmc_data/openmc_data/jeff-3.3-ace
Extracting /home/runner/work/openmc_data/openmc_data/jeff-3.3-download/ace_293.tar.gz to /home/runner/work/openmc_data/openmc_data/jeff-3.3-ace
Extracting /home/runner/work/openmc_data/openmc_data/jeff-3.3-download/ace_tsl.tar.gz to /home/runner/work/openmc_data/openmc_data/jeff-3.3-ace
sys.exit(main())
^^^^^^
File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/openmc_data/convert/convert_jeff33.py", line 138, in main
extract(
File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/site-packages/openmc_data/utils.py", line 130, in extract
shutil.rmtree(compressed_files, ignore_errors=True)
File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/shutil.py", line 759, in rmtree
_rmtree_safe_fd(stack, onexc)
File "/opt/hostedtoolcache/Python/3.12.11/x64/lib/python3.12/shutil.py", line 669, in _rmtree_safe_fd
orig_st = os.lstat(name, dir_fd=dirfd)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: lstat: path should be string, bytes or os.PathLike, not list

Originally posted by @shimwell in #17 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions