Git Product home page Git Product logo

template-jetbrains-clion's Issues

Cannot start with Open in Gitpod

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

Can not open up the remote IDE

Bug description

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/CLion2021.2
java.nio.file.AccessDeniedException: /home/projector-user/.config/JetBrains

Steps to reproduce

Simply changed it to use the default gitpod template and changed the name of the repo.

Expected behavior

Hopefully CLion opens.

Example repository

No response

Anything else?

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.