Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Cannot start with Open in Gitpod #1

@mkmik

Description

@mkmik

Bug description

Cannot start a jetbrains cli template

Steps to reproduce

Clicked on open in Gitpod in the github.com/gitpod-io/template-jetbrains-clion repo

Expected behavior

No response

Example repository

https://github.com/gitpod-io/template-jetbrains-clion

Anything else?

 HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
sudo docker pull registry.jetbrains.team/p/prj/containers/projector-clion

} && {
sudo mkdir -p .jetbrains; sudo touch .jetbrains/.gitkeep; sudo chown -R 1000:1000 .jetbrains
sudo docker run --rm -p 8887:8887 -v /workspace/template-jetbrains-clion:/home/projector-user -it registry.jetbrains.team/p/prj/containers/projector-clion

}
gitpod /workspace/template-jetbrains-clion $  HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> sudo docker pull registry.jetbrains.team/p/prj/containers/projector-clion
> 
> } && {
> sudo mkdir -p .jetbrains; sudo touch .jetbrains/.gitkeep; sudo chown -R 1000:1000 .jetbrains
> sudo docker run --rm -p 8887:8887 -v /workspace/template-jetbrains-clion:/home/projector-user -it registry.jetbrains.team/p/prj/containers/projector-clion
> 
> }
Using default tag: latest
latest: Pulling from p/prj/containers/projector-clion
5e7b6b7bd506: Pull complete 
9f1944b481b3: Pull complete 
02a0fbce8885: Pull complete 
264bb26106fe: Pull complete 
f06870cf2eaf: Pull complete 
Digest: sha256:79935d7cf2910c301fb6b80750c8e3c4b92d9b358dea97433d3d2198a94386f0
Status: Downloaded newer image for registry.jetbrains.team/p/prj/containers/projector-clion:latest
registry.jetbrains.team/p/prj/containers/projector-clion:latest
+ cd /projector/ide/bin
+ ./ide-projector-launcher.sh
Found IDE: clion
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
[DEBUG] :: IdeState :: Starting attempts to Init ProjectorClassLoader
[DEBUG] :: IdeState :: Starting attempts to attach IJ injector agent
[DEBUG] :: IdeState :: Starting attempts to initialize IDEA: fix AA and disable smooth scrolling (at start)
[DEBUG] :: IdeState :: Starting attempts to Getting IDE colors
[DEBUG] :: ProjectorServer :: Daemon thread starts
[DEBUG] :: IdeState :: Starting attempts to search for editors
[INFO] :: WebsocketServer :: ProjectorServer is starting on host 0.0.0.0/0.0.0.0 and port 8887
[INFO] :: HttpWsServerBuilder :: WebSocket SSL is disabled
[INFO] :: HttpWsServer :: Server started on host 0.0.0.0/0.0.0.0 and port 8887
[DEBUG] :: IdeState :: "Init ProjectorClassLoader" is done

Invalid Config Directory
The IDE cannot create the directory.
Possible reason: parent directory is read-only or the user lacks necessary permissions.

If you have modified the 'idea.config.path' property, please make sure it is correct,
otherwise, please re-install the IDE.

-----
Location: /home/projector-user/.config/JetBrains/CLion2020.3
java.nio.file.AccessDeniedException: /home/projector-user/.config/JetBrains
/home/projector-user/.cache/JetBrains/CLion2020.3/lastProjectFrameInfo
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/projector/ide/projector-server/lib/slf4j-simple-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/projector/ide/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
ERROR: java.nio.file.AccessDeniedException: /home/projector-user/.cache/JetBrains
java.io.UncheckedIOException: java.nio.file.AccessDeniedException: /home/projector-user/.cache/JetBrains
        at org.jetbrains.mvstore.MVStore$Builder.truncateAndOpen(MVStore.java:4025)
        at org.jetbrains.mvstore.MVStore$Builder.openOrNewOnIoError(MVStore.java:4015)
        at com.intellij.ui.svg.SvgCacheManager.<init>(SvgCacheManager.java:59)
        at com.intellij.util.SVGLoader.<clinit>(SVGLoader.java:86)
        at com.intellij.util.ImageLoader.loadByDescriptor(ImageLoader.java:252)
        at com.intellij.util.ImageLoader.load(ImageLoader.java:224)
        at com.intellij.openapi.util.IconLoader$ResolvedImageDataResolver.loadImage(IconLoader.java:1150)
        at com.intellij.openapi.util.IconLoader$CachedImageIcon.loadImage(IconLoader.java:1017)
        at com.intellij.openapi.util.IconLoader$ScaledIconCache.getOrScaleIcon(IconLoader.java:1087)
        at com.intellij.openapi.util.IconLoader$CachedImageIcon.scale(IconLoader.java:932)
        at com.intellij.util.IconUtil.scale(IconUtil.java:522)
        at com.intellij.ui.AppUIUtil.scaleIconToSize(AppUIUtil.java:179)
        at com.intellij.ui.AppUIUtil.loadApplicationIcon(AppUIUtil.java:171)
        at com.intellij.ui.AppUIUtil.loadApplicationIconImage(AppUIUtil.java:150)
        at com.intellij.ui.AppUIUtil.updateWindowIcon(AppUIUtil.java:76)
        at com.intellij.idea.StartupUtil.updateFrameClassAndWindowIcon(StartupUtil.java:410)
        at java.base/java.util.concurrent.CompletableFuture$UniRun.tryFire(CompletableFuture.java:783)
        at java.base/java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
        at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
        at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.nio.file.AccessDeniedException: /home/projector-user/.cache/JetBrains
        at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
        at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
        at java.base/sun.nio.fs.UnixFileSystemProvider.checkAccess(UnixFileSystemProvider.java:313)
        at java.base/java.nio.file.Files.createDirectories(Files.java:762)
        at org.jetbrains.mvstore.FileStore.<init>(FileStore.java:87)
        at org.jetbrains.mvstore.MVStore$Builder.createFileStore(MVStore.java:4031)
        at org.jetbrains.mvstore.MVStore$Builder.truncateAndOpen(MVStore.java:4021)
        ... 24 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions