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

harvest halts when it encounters a directory with mode 000 #104

Open
rchenatjpl opened this issue Sep 8, 2022 · 0 comments
Open

harvest halts when it encounters a directory with mode 000 #104

rchenatjpl opened this issue Sep 8, 2022 · 0 comments

Comments

@rchenatjpl
Copy link

🐛 Describe the bug

harvest halts when it encounters a directory with mode 000

📜 To Reproduce

In a bundle with many collections, set half the directories to unreadable, then run harvest on it, e.g.
% /usr/local/build11/harvest-3.6.0/bin/harvest -c killme.xml
[SUMMARY] Reading configuration from /data/home/pds4/test/killme.xml
[SUMMARY] Output directory: /tmp/harvest/out
[SUMMARY] Elasticsearch URL: https://search-en-prod-di7dor7quy7qwv3husi2wt5tde.us-west-2.es.amazonaws.com:443, index: registry
[INFO] Connecting to Elasticsearch
[INFO] Loading PDS to ES data type mapping from /usr/local/build11/harvest-3.6.0/elastic/data-dic-types.cfg
[INFO] Processing directory: /data/pds4/1700/killme
[INFO] Processing /data/pds4/1700/killme/resource/resource.maven_archive_information_1.0.xml
[INFO] Processing /data/pds4/1700/killme/resource/resource.phoenix_archive_information_1.0.xml
[INFO] Processing /data/pds4/1700/killme/resource/resource.ladee_archive_information_1.0.xml
[INFO] Processing /data/pds4/1700/killme/resource/Collection_resource_v1.0.xml
[INFO] Wrote 1 collection inventory document(s)
[INFO] Processing /data/pds4/1700/killme/resource/resource.phoenix_archive_information_1.1.xml
[INFO] Processing /data/pds4/1700/killme/miscellaneous/collection_miscellaneous.xml
[INFO] Wrote 1 collection inventory document(s)
[INFO] Processing /data/pds4/1700/killme/miscellaneous/lids_deprecated.xml
[INFO] Wrote 7 product(s)
[ERROR] /data/pds4/1700/killme/investigation

🕵️ Expected behavior

I would like harvest to skip such directories and not quit

📚 Version of Software Used

Harvest version: 3.6.0
Build time: 2022-04-13T17:42:54Z

🩺 Test Data / Additional context

🏞Screenshots

🖥 System Info

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

🦄 Related requirements

⚙️ Engineering Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ToDo
Development

No branches or pull requests

4 participants