Trying to set up kotlin-python on a new computer b...
# python-contributors
s
Trying to set up kotlin-python on a new computer but having the following error:
Copy code
> Task :compiler:resolution:compileKotlin
e: error while writing /home/servb/IdeaProjects/kotlin-python/compiler/resolution/build/classes/kotlin/main/org/jetbrains/kotlin/resolve/calls/components/CollectionTypeVariableUsagesInfo$isContainedInInvariantOrContravariantPositionsWithDependencies$isContainedAnyDependentTypeInReturnType$1$1.class (Permission denied)
Any ideas what the problem is? Probably too long path but then I'm wondering why it's worked before...
p
Welcome back! :) Hmm, permission denied... Can you check permissions in the relevant directory?
🙏 1
Maybe something went wrong during cloning, I'd try re-cloning
👀 1
s
Looks like ecryptfs is the problem: https://stackoverflow.com/a/49759124...
👍 1
p
Let me know once it works
s
Well, I've just switched to an OS without ecryptfs and compiled and tested the project successfully. JFTR, on this 16-thread mobile CPU, tests take 22 minutes, 3 times slower than on my desktop 24-thread CPU 😞 Will think what to do, probably will avoid using this laptop. Anyway, now I'm in again. Will review remaining PRs and then decide what to do!
đŸ’Ș 1
p
I had this crazy idea to ask JetBrains to sponsor cloud machines for development, through Gatway and IntelliJ. AFAIK they get suspended in case of no use so the cost would be minimal. WDYT? :)
s
That's an interesting idea but I haven't heard of such practices and I'm unsure who to ask. I'll ask our admins
👍 1
p
I thought about going through the community manager (@Alina Dolgikh [JB]), as a part of supporting open source community around Kotlin, but of course please try your path as well
👍 2