java.lang.RuntimeException

Unable to unpack pywatchman-archive.zip

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web272

Stack trace

  • java.lang.RuntimeException: Unable to unpack pywatchman-archive.zip at com.facebook.buck.util.PackagedResource.unpack(PackagedResource.java:140) at com.facebook.buck.util.PackagedResource.access$000(PackagedResource.java:44) at com.facebook.buck.util.PackagedResource$1.get(PackagedResource.java:74) at com.facebook.buck.util.PackagedResource$1.get(PackagedResource.java:71) at com.google.common.base.Suppliers$MemoizingSupplier.get(Suppliers.java:131) at com.facebook.buck.util.PackagedResource.get(PackagedResource.java:81) at com.facebook.buck.json.BuckPythonProgram.newInstance(BuckPythonProgram.java:96) at com.facebook.buck.json.ProjectBuildFileParser.getPathToBuckPy(ProjectBuildFileParser.java:616) at com.facebook.buck.json.ProjectBuildFileParser.buildArgs(ProjectBuildFileParser.java:251) at com.facebook.buck.json.ProjectBuildFileParser.init(ProjectBuildFileParser.java:207) at com.facebook.buck.json.ProjectBuildFileParser.initIfNeeded(ProjectBuildFileParser.java:192) at com.facebook.buck.json.ProjectBuildFileParser.getAllRulesInternal(ProjectBuildFileParser.java:353) at com.facebook.buck.json.ProjectBuildFileParser.getAllRulesAndMetaRules(ProjectBuildFileParser.java:342) at com.facebook.buck.parser.ProjectBuildFileParserPool$1.apply(ProjectBuildFileParserPool.java:117) at com.facebook.buck.parser.ProjectBuildFileParserPool$1.apply(ProjectBuildFileParserPool.java:107) at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1442) at com.google.common.util.concurrent.Futures$AsyncChainingFuture.doTransform(Futures.java:1433) at com.google.common.util.concurrent.Futures$AbstractChainingFuture.run(Futures.java:1408) at com.google.common.util.concurrent.Futures$2$1.run(Futures.java:1177) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744) Caused by: java.nio.file.NoSuchFileException: /tmp/junit-temp-path545007687376792998/buck-out/res/com.facebook.buck.json.BuckPythonProgram/pywatchman/pywatchman/__init__.py at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:214) at java.nio.file.Files.newByteChannel(Files.java:315) at com.facebook.buck.io.ProjectFilesystem.newUnbufferedFileOutputStream(ProjectFilesystem.java:832) at com.facebook.buck.io.ProjectFilesystem.newFileOutputStream(ProjectFilesystem.java:824) at com.facebook.buck.zip.Unzip.extractZipFile(Unzip.java:97) at com.facebook.buck.util.PackagedResource.unpack(PackagedResource.java:125) ... 21 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

zsambokizsamboki
Once,
rsprangemeijerrsprangemeijer
3 times, last one
jokesterjokester
Once,
batwalrus76batwalrus76
160 times, last one
LukaLuka
2 times, last one
38 more bugmates