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 web38

  • via GitHub by Coneko
    ,
  • via GitHub by draenor
    ,
  • 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.DirectoryNotEmptyException: /tmp/junit-temp-path604876482490844403/buck-out/res/com.facebook.buck.json.BuckPythonProgram/pywatchman at sun.nio.fs.UnixFileSystemProvider.implDelete(UnixFileSystemProvider.java:242) at sun.nio.fs.AbstractFileSystemProvider.delete(AbstractFileSystemProvider.java:103) at java.nio.file.Files.delete(Files.java:1077) at com.facebook.buck.io.MoreFiles$3.postVisitDirectory(MoreFiles.java:193) at com.facebook.buck.io.MoreFiles$3.postVisitDirectory(MoreFiles.java:176) at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:224) at java.nio.file.FileTreeWalker.walk(FileTreeWalker.java:69) at java.nio.file.Files.walkFileTree(Files.java:2600) at java.nio.file.Files.walkFileTree(Files.java:2633) at com.facebook.buck.io.MoreFiles.deleteRecursivelyWithOptions(MoreFiles.java:201) at com.facebook.buck.io.MoreFiles.deleteRecursivelyIfExists(MoreFiles.java:104) at com.facebook.buck.io.ProjectFilesystem.deleteRecursivelyIfExists(ProjectFilesystem.java:740) at com.facebook.buck.util.PackagedResource.unpack(PackagedResource.java:116) ... 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

    davidvanlaatumdavidvanlaatum
    Once,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    1 more bugmates