!VduNnCmIzFzrSqbgFs:matrix.org

scalameta/vscode-users

463 Members
Discord bridge for scalameta/vscode-users4 Servers

Load older messages


SenderMessageTime
23 May 2024
@_discord_740839976169898074:t2bot.ioazaad1789 Iam facing the same issue 06:53:14
@_discord_740839976169898074:t2bot.ioazaad1789 changed their profile picture.06:53:14
@_discord_392428121342869534:t2bot.ioTomasz Godzik If you can put the code somewhere I can try and take a look. But otherwise my guess is that the scala files are expected somewhere else than where the file is 07:30:43
@_discord_392428121342869534:t2bot.ioTomasz Godzik You should be able to see that in the doctor 07:30:50
@_discord_392428121342869534:t2bot.ioTomasz Godzik Clicking on the targets 07:30:55
@_discord_392428121342869534:t2bot.ioTomasz Godzik Or generate a zip report in the metals view 07:31:11
@_discord_740839976169898074:t2bot.ioazaad1789 is it possible to connect with us in online meet so that the error will be solved, and it will be of a great help 08:28:39
@_discord_392428121342869534:t2bot.ioTomasz Godzik Please report an issue with as much information as possible. I am afraid I do not have time for online debugging currently 08:34:36
@_discord_392428121342869534:t2bot.ioTomasz Godzik Sorry about that 08:34:39
@_discord_740839976169898074:t2bot.ioazaad1789 we are using SpinalHDL and installed it using the online documentation. We are getting a issue while executing the example project given in the scala website, where I need to get the Verilog file as a result.
one issue was that it shows that there is no target detected
the other issue was with the line" import spinal.core._ " which is giving an error that there is no object spinal but i have installed everything needed.
08:42:48
@_discord_573451347895123983:t2bot.ioarthurmcgibbon Looks like you've opened the folder /home/sai in VSCode instead of /home/sai/MySpinalProject 10:25:43
@_discord_392428121342869534:t2bot.ioTomasz Godzik Ach, good catch! 10:26:25
@_discord_573451347895123983:t2bot.ioarthurmcgibbon Can you paste the logs again 11:40:50
@_discord_843896430917320714:t2bot.ioim_bharadwajjimage.png
Download image.png
11:41:51
@_discord_843896430917320714:t2bot.ioim_bharadwajj changed their display name from boomboom9929 to im_bharadwajj.11:41:51
@_discord_573451347895123983:t2bot.ioarthurmcgibbon You're using SBT? And you've imported the build? 12:23:42
@_discord_683010390145368169:t2bot.iospamegg1 It says no build target found. What is in your build.sbt file? 12:39:41
@_discord_160092331708514304:t2bot.io_tibor_ joined the room.14:02:29
@_discord_160092331708514304:t2bot.io_tibor_ I am doing the getting started guide on the scala website, but when installing the metals plugin. I get the following error:

Metals version: 1.3.1
Using coursier located at /home/tibor/.local/share/coursier/bin/coursier
Found java executable under /usr/bin/java that resolves to /usr/lib/jvm/java-19-openjdk-amd64/bin/java
/usr/lib/jvm/java-19-openjdk-amd64/bin/java -version:
openjdk version "19.0.2" 2023-01-17
/usr/lib/jvm/java-19-openjdk-amd64/bin/java -version:
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)
Using Java Home: /usr/lib/jvm/java-19-openjdk-amd64
**Error: Could not find or load main class scala.meta.metals.Main**
Caused by: java.lang.ClassNotFoundException: scala.meta.metals.Main
[Error - 4:00:53 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 4:00:53 PM] Connection to server got closed. Server will restart.
true
14:02:29
@_discord_160092331708514304:t2bot.io_tibor_ changed their display name from _discord_160092331708514304 to _tibor_.14:02:31
@_discord_160092331708514304:t2bot.io_tibor_ * I am doing the getting started guide on the scala website, but when installing the metals plugin. I get the following error:

Metals version: 1.3.1
Using coursier located at /home/tibor/.local/share/coursier/bin/coursier
Found java executable under /usr/bin/java that resolves to /usr/lib/jvm/java-19-openjdk-amd64/bin/java
/usr/lib/jvm/java-19-openjdk-amd64/bin/java -version:
openjdk version "19.0.2" 2023-01-17
/usr/lib/jvm/java-19-openjdk-amd64/bin/java -version:
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)
Using Java Home: /usr/lib/jvm/java-19-openjdk-amd64
Error: Could not find or load main class scala.meta.metals.Main
Caused by: java.lang.ClassNotFoundException: scala.meta.metals.Main
[Error - 4:00:53 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 4:00:53 PM] Connection to server got closed. Server will restart.
true
14:02:43
@_discord_160092331708514304:t2bot.io_tibor_ * I am doing the getting started guide on the scala website, but when installing the metals plugin. I get the following error:

Error: Could not find or load main class scala.meta.metals.Main

Metals version: 1.3.1
Using coursier located at /home/tibor/.local/share/coursier/bin/coursier
Found java executable under /usr/bin/java that resolves to /usr/lib/jvm/java-19-openjdk-amd64/bin/java
/usr/lib/jvm/java-19-openjdk-amd64/bin/java -version:
openjdk version "19.0.2" 2023-01-17
/usr/lib/jvm/java-19-openjdk-amd64/bin/java -version:
OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)
Using Java Home: /usr/lib/jvm/java-19-openjdk-amd64
Error: Could not find or load main class scala.meta.metals.Main
Caused by: java.lang.ClassNotFoundException: scala.meta.metals.Main
[Error - 4:00:53 PM] Server initialization failed.
  Message: Pending response rejected since connection got disposed
  Code: -32097 
[Info  - 4:00:53 PM] Connection to server got closed. Server will restart.
true


is this a known issue. I see some issues around, but am unsure if they are related.
14:03:09
@_discord_392428121342869534:t2bot.ioTomasz Godzik Not sure what is happening, but I am planny to add some more debug info. Might possible that you need to update coursier 14:18:16
@_discord_160092331708514304:t2bot.io_tibor_ But I just intalled it. I just got started. Is there an update already? 14:50:03
@_discord_392428121342869534:t2bot.ioTomasz Godzik Ach, then probably it's ok 14:51:17
@_discord_392428121342869534:t2bot.ioTomasz Godzik You can change the version used by metals in the drop-down to 21 to see if that helps 14:51:46
@_discord_392428121342869534:t2bot.ioTomasz Godzik We never tested with 19 14:51:53
@_discord_160092331708514304:t2bot.io_tibor_image.png
Download image.png
15:04:53
@_discord_160092331708514304:t2bot.io_tibor_ You mean the metals plugin version itself? or something else? 15:04:58
@_discord_160092331708514304:t2bot.io_tibor_ version 1.21 works 15:21:26

Show newer messages


Back to Room ListRoom Version: 9