Skip to content

.DS_Store causing iterdir to barf #82

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

Closed
grahamgilbert opened this issue Sep 25, 2020 · 0 comments · Fixed by #84
Closed

.DS_Store causing iterdir to barf #82

grahamgilbert opened this issue Sep 25, 2020 · 0 comments · Fixed by #84

Comments

@grahamgilbert
Copy link
Member

2020-09-24 17:02:07,137 DEBUG /usr/local/sal/external_scripts/Encryption/encryption.py ran successfuly.
Traceback (most recent call last):
  File "/usr/local/sal/bin/sal-submit", line 359, in <module>
    main()
  File "/usr/local/sal/bin/sal-submit", line 55, in main
    run_plugins(run_type)
  File "/usr/local/sal/bin/sal-submit", line 130, in run_plugins
    run_external_scripts(run_type)
  File "/usr/local/sal/bin/sal-submit", line 142, in run_external_scripts
    for script in folder.iterdir():
  File "/usr/local/sal/Python.framework/Versions/3.8/lib/python3.8/pathlib.py", line 1118, in iterdir
    for name in self._accessor.listdir(self):
NotADirectoryError: [Errno 20] Not a directory: '/usr/local/sal/external_scripts/.DS_Store'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant