Skip to content

Skip directories that raise EINVAL during traversal#41

Open
sean-morris wants to merge 1 commit into
2i2c-org:mainfrom
sean-morris:handle-einval-unix-socket
Open

Skip directories that raise EINVAL during traversal#41
sean-morris wants to merge 1 commit into
2i2c-org:mainfrom
sean-morris:handle-einval-unix-socket

Conversation

@sean-morris

Copy link
Copy Markdown

Fixes #40

@sean-morris

Copy link
Copy Markdown
Author

@yuvipanda I ran into this while dealing with the GoogleOauth conversion -- when I ran the deployer to deploy sou it hung. sou uses codeserver extensively and I then starting looking to see what other exporters were crash looping.

self_statinfo = os.stat(path)

# Get absolute path of all children of directory
children = [

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this was moved into the existing try rather than a new try added?

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 this pull request may close these issues.

Exporter crashes (uncaught OSError/EINVAL) on directories containing a unix socket over NFS

2 participants