-
Notifications
You must be signed in to change notification settings - Fork 445
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
Possible race condition in zip creation? #23
Comments
Yeah. If something was touching files in the directory where we were zipping, that might happen.... Any ideas on what was going on the same time this task was running? |
As far as I'm aware, nothing. |
Maybe I'm doing something wrong, but I'm reliably having this problem when trying to use the universal packager in a subproject. Minimal repro has the following directory structure,
with this Build.scala file:
running universal:packageBin in the subproject fails:
|
What OS are you using? I'll have to try it on something non-ubuntu.... |
I'm on OSX 10.9 |
FWIW, I suffered from the same problem with "This archives contains unclosed entries." when running play dist. It turned out that it happened because of broken symlink in my dist directory. |
I eventually figured this out, that the mappings aren't being resolved against the base directory of the subproject, rather against the base directory of the containing project, so where
was generating this error,
works. Seems in general that the packager errors out this way if the mapped input file doesn't exist. Which is logical, but the failure isn't informative of that. |
Wow, great find! Ill see if I can improve the erroring there. |
Closing this one as resolved with #83 |
I got the following exception when doing a clean dist:
I couldn't reproduce it, so I don't know what to think, maybe a race condition?
The text was updated successfully, but these errors were encountered: