!dWFZuHvkEZxYDopEzK:matrix.org

tooling

5211 Members
Let's use this to discuss all Nim tooling. For example Nimble, Atlas, and various editor integrations. Relayed to #nimble on libera.chat and #tooling in our Discord18 Servers

Load older messages


SenderMessageTime
23 Apr 2024
@_discord_991234934113046548:t2bot.ioaqeelyn joined the room.18:57:29
@_discord_852636332512772106:t2bot.iotypevs changed their profile picture.20:45:11
24 Apr 2024
@_discord_1122220277619769406:t2bot.iomaria_0516 changed their profile picture.01:27:16
@_discord_907928165547122700:t2bot.iothatdevnerd joined the room.09:50:49
@_discord_619474349845643275:t2bot.io_ot changed their profile picture.10:21:38
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Yep looks like Nimsuggest consistently segfaults, and it never even reaches beyond 2GB in memory 19:17:55
@_discord_524288464422830095:t2bot.ioRobyn [She/Her]
>> SIGSEGV: Illegal storage access. (Attempt to read from nil?)
WRN Server stopped.                            projectFile=/home/chronos/Projects/Napkins/src/napkins.nim
INF Starting nimsuggest                        root=/home/chronos/Projects/Napkins/src/napkins.nim timeout=120000 path=nimsuggest fullPath=/home/chronos/.nim/nimsuggest/nimsuggest workingDir=/home/chronos/Projects/Napkins
DBG Parsing nimsuggest capability              capability=con
DBG Server socket closed                       command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call cancelled before sending error        command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call was cancelled before sending the result command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG CPU Time                                   benchmark="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82" time=0.138 command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Stopping nimsuggest for                    root=/home/chronos/Projects/Napkins/src/napkins.nim
DBG Error occurred within RPC                  methodName=textDocument/completion err="Server crashed/socket closed."
[Error - 8:16:42 PM] Request textDocument/completion failed.
  Message: textDocument/completion raised an exception: Server crashed/socket closed.
  Code: -32000 
19:18:02
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Really not sure on what to do 19:22:01
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Compiling Nimsuggest with debugging enabled now 19:25:10
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] * Compiling Nimsuggest with -d:debug enabled now 19:25:18
@_discord_524288464422830095:t2bot.ioRobyn [She/Her]
>> SIGILL: Illegal operation.
WRN Server stopped.                            projectFile=/home/chronos/Projects/Napkins/src/napkins.nim
INF Starting nimsuggest                        root=/home/chronos/Projects/Napkins/src/napkins.nim timeout=120000 path=nimsuggest fullPath=/home/chronos/.nim/nimsuggest/nimsuggest workingDir=/home/chronos/Projects/Napkins
DBG Parsing nimsuggest capability              capability=con
DBG Server socket closed                       command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call cancelled before sending error        command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Call was cancelled before sending the result command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG CPU Time                                   benchmark="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82" time=0.606 command="sug \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":157:82"
DBG Nimsuggest is not working, returning empty result... command="outline \"/home/chronos/Projects/Napkins/src/napkinspkg/parser.nim\";\"/tmp/nimlangserver/000000007ED48A42.nim\":0:0"
DBG Stopping nimsuggest for                    root=/home/chronos/Projects/Napkins/src/napkins.nim
DBG Error occurred within RPC                  methodName=textDocument/completion err="Server crashed/socket closed."
DBG Router: sending response                   method=textDocument/documentSymbol id=12
[Error - 8:27:12 PM] Request textDocument/completion failed.
  Message: textDocument/completion raised an exception: Server crashed/socket closed.
  Code: -32000
19:27:53
@_discord_256520101015060480:t2bot.ioieltan changed their profile picture.20:01:48
@_discord_140987468076941312:t2bot.iomustacheman joined the room.20:04:48
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] I really am annoyed at this, it's causing me to lose desire to actually program 21:18:16
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] I'm not sure why this is causing issues either 21:18:39
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Weird thing I just noticed, this crashes at the end of a line when modifying it but not in the middle of a line that was crashing? 21:22:27
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Nvm ignore that 21:22:48
@elegantbeef:matrix.orgElegantbeef what does ./nimsuggest -v report? 21:23:31
@_discord_524288464422830095:t2bot.ioRobyn [She/Her]
Nim Compiler Version 2.0.4 [Linux: amd64]
Compiled at 2024-04-24
Copyright (c) 2006-2023 by Andreas Rumpf

git hash: 57ad8911c74829ba9f33f66f3ad29283cf45b3b7
active boot switches: --gc:markAndSweep
21:24:40
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] This is on the Nim 2.0.4 branch 21:24:47
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Oh wait what were those commands I was told to run? 21:24:56
@elegantbeef:matrix.orgElegantbeef ./nimsuggest your.nim then chk 1, modify the file then run chk 1 again 21:25:39
@_discord_524288464422830095:t2bot.ioRobyn [She/Her]
> chk 1
chk     skUnknown               Hint    ???     0       -1      ">> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0

> chk 1
chk     skUnknown               Hint    ???     0       -1      ">>> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0
21:27:11
@elegantbeef:matrix.orgElegantbeef Or is it chk 0 😄 21:27:52
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Testing lol 21:28:15
@_discord_524288464422830095:t2bot.ioRobyn [She/Her]
> chk 0
chk     skUnknown               Hint    ???     0       -1      ">> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0

> chk 0
chk     skUnknown               Hint    ???     0       -1      ">>> (toplevel): import(dirty): /home/chronos/Projects/Napkins/src/napkins.nim [Processing]"0
21:28:38
@elegantbeef:matrix.orgElegantbeefWell if it does not crash nimsuggest it seems like a nimlangserver issue21:29:04
@elegantbeef:matrix.orgElegantbeefBuild that debug and try that21:29:10
@_discord_524288464422830095:t2bot.ioRobyn [She/Her] Alright! 21:29:43
25 Apr 2024
@_discord_1013034673338851338:t2bot.iograymonica joined the room.02:20:46

There are no newer messages yet.


Back to Room ListRoom Version: 6