You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dzenan@corista:~/ITKIOOMEZarrNGFF-rwd$ ninja
[2/2] Generating .pyi files for Python wrapper interface
FAILED: Wrapping/CMakeFiles/itk-stub-files /home/dzenan/ITK-git-rel/Wrapping/Generators/Python/itk/_proxies.pyi /home/dzenan/ITK-git-rel/Wrapping/Generators/Python/itk/__init__.pyi /home/dzenan/ITKIOOMEZarrNGFF-rwd/Wrapping/CMakeFiles/itk-stub-files
cd /home/dzenan/ITKIOOMEZarrNGFF-rwd/Wrapping && /usr/bin/python3.10 /home/dzenan/ITK-git/Wrapping/Generators/Python/itk/pyi_generator.py --pyi_dir /home/dzenan/ITK-git-rel/Wrapping/Generators/Python/itk --pkl_dir /home/dzenan/ITK-git-rel/Wrapping/Generators/Python/itk-pkl --index_list_file /home/dzenan/ITKIOOMEZarrNGFF-rwd/Wrapping/GlobalIdxFilesList.txt
WARNING: index file is missing, Python stub hints will not be generated for this file.
Exception: No index files were found in directory '/home/dzenan/ITK-git-rel/Wrapping/Generators/Python/itk-pkl'
Traceback (most recent call last):
File "/home/dzenan/ITK-git/Wrapping/Generators/Python/itk/pyi_generator.py", line 569, in <module>
raise Exception(except_comment)
Exception: No index files were found in directory '/home/dzenan/ITK-git-rel/Wrapping/Generators/Python/itk-pkl'
ninja: build stopped: subcommand failed.
dzenan@corista:~/ITKIOOMEZarrNGFF-rwd$
Hi @dzenanz, where is this failure happening? Does this occur in CI?
I agree that this is an instance of InsightSoftwareConsortium/ITK#3595 where wrapping is turned on but no wrap files are present. A resolution would be either 1) explicitly turn off wrapping for now or 2) add a wrap file for any class defined in the project.
An easy way to reproduce is trying to build ITKIOOMEZarrNGFF on Linux, when pointing to an ITK build which has Python wrapping enabled. In trying to point you to the wrapping definition, I realized I forgot to check it in. It was only on my Windows computer.
This seems like a duplicate of InsightSoftwareConsortium/ITK#3595.
The text was updated successfully, but these errors were encountered: