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

Windows test bails with path too long error #2026

Closed
nikohansen opened this issue Oct 13, 2021 · 3 comments
Closed

Windows test bails with path too long error #2026

nikohansen opened this issue Oct 13, 2021 · 3 comments
Labels

Comments

@nikohansen
Copy link
Contributor

IOError: [Errno 2] Some of the files cannot be extracted from "C:\Users\ci\.cocopp\data-archives\numbbo.github.io\data-archive\data-archive\bbob-biobj\2019\IBEA-platypus_Brockhoff_bbob-biobj.tgz". The path is too long.

The pathname has 131 characters.

see https://ci.inria.fr/numbbo/job/Coco-dev-nightly-win/dotype=test-postprocessing-all,label=numbbo-win/1937/console

@nikohansen nikohansen added the bug label Oct 13, 2021
@nikohansen
Copy link
Contributor Author

The _bbob-biobj in the data file name seems quite superfluous.

@nikohansen
Copy link
Contributor Author

See also numbbo/data-archive#3

@brockho
Copy link
Contributor

brockho commented Oct 28, 2021

The actual path to the data is not too long at all for Windows, the problem is the combination with the structure inside the data sets which gets extracted by the postprocessing (and the combined path is then too long).

For the data set in question (IBEA), there were quite some very long folder names within the .tgz file which I removed and shortened without altering the data itself of course. Now, everything works well such we can solve the issue.

We should, however, take care that those too deep folder structures within future data sets are shortened when we uploading the data. The general shortening of the path names, suggested in numbbo/data-archive#3 is also an option of course.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants