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

Unable to create directory: './tmp/screenshots': File exists #95

Open
jwoertink opened this issue Oct 2, 2020 · 2 comments
Open

Unable to create directory: './tmp/screenshots': File exists #95

jwoertink opened this issue Oct 2, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@jwoertink
Copy link
Member

I'm running a test and spawned multiple Flows at the same time, and after the first one spawned, the rest started throwing this error:

Unable to create directory: './tmp/screenshots': File exists
@paulcsmith paulcsmith added the bug Something isn't working label Oct 21, 2020
@matthewmcgarvey
Copy link
Member

That error happens when attempting to make a directory with the same name as a file in that directory so it seems like you have a file with the name screenshots for some reason.

Another problem would be that we delete the screenshots directory before making it which could be causing this issue though I have no idea how

private def prepare_screenshot_directory
FileUtils.rm_rf(screenshot_directory)
FileUtils.mkdir_p(screenshot_directory)
end

@matthewmcgarvey
Copy link
Member

We have recently changed how we do screenshots so this might be fixed. Mainly we no longer delete the directly. da9c947

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants