Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chsarpier freezes Rider #926

Closed
ChristianSauer opened this issue Jul 13, 2023 · 36 comments · Fixed by #940
Closed

Chsarpier freezes Rider #926

ChristianSauer opened this issue Jul 13, 2023 · 36 comments · Fixed by #940
Labels
area:rider type:bug Something isn't working
Milestone

Comments

@ChristianSauer
Copy link

When I refactor Code, Csharpier freezes the UI sometimes.
Unfortunately it's impossible to reproduce reliably.
It mostly happens when I reformat code and the code is broken for a moment.

Can I find logs somewhere?

Usually killing the Csharpier Task via Taskmanager and then reenabling the Plugin unfreezes the Ui.

@belav
Copy link
Owner

belav commented Jul 14, 2023

I believe I ran into issues like this early on but I thought they were fixed. Hopefully the logs will give some more information.
Instructions for getting to them are https://github.com/belav/csharpier/tree/main/Src/CSharpier.Rider#troubleshooting
You'll want to enable debug logging first, and restart rider.

@ShawnTheBeachy
Copy link
Contributor

Same issue here, at least once per day. Sometimes more. I'll try to collect logs.

@belav
Copy link
Owner

belav commented Aug 9, 2023

I confirmed yesterday that when Rider was frozen, killing CSharpier unfroze it. I didn't see anything in the logs though.

I have had occasional freezes in the last few weeks that were probably the same thing, but forgot about this and wasn't looking for it. I may need to add some more debug logging to narrow down the problem. I believe when it happened yesterday I was saving a file that wasn't able to be compiled yet (missing a } or something similar)

@belav belav added type:bug Something isn't working area:rider labels Aug 9, 2023
@nzjoel1234
Copy link

nzjoel1234 commented Aug 17, 2023

I have seen this issue quite a lot over the last 12 months. I think it happens more when I am working on code containing Expression<Func<...> this may not be accurate but it seems like it to me.

@ShawnTheBeachy
Copy link
Contributor

ShawnTheBeachy commented Aug 22, 2023

I've hit this issue 3 times in 3 hours so far this morning. I'm not sure if it's related, but it looks like a few minutes after I start Rider a second dotnet-csharpier process is spawned. Perhaps the two processes are hanging each other up? Or maybe this is expected behavior 🤷

image

@belav
Copy link
Owner

belav commented Aug 23, 2023

So I realized tonight that the VS plugin has a similar issue, where it csharpier would freeze if another plugin happened to run at the same time. I implemented basically the same code from #890 into the rider plugin, and did some testing where I forced csharpier to freeze and ensured it restarts successfully.

So even not being able to reproduce the problem I believe that 1.3.9 will prevent the freezes (or at least keep them to just 3 seconds). Jetbrains does have to approve plugins, which may take a day or two before it is available.

@ShawnTheBeachy
Copy link
Contributor

ShawnTheBeachy commented Aug 23, 2023

Looks like it's working! Updated the plugin and just got a freeze, but it unfroze again within a few seconds.

EDIT: While working in some problem files, I've gotten roughly 10 freezes so far today. Each time it unfroze again without issue.

@belav
Copy link
Owner

belav commented Aug 24, 2023

Looks like it's working! Updated the plugin and just got a freeze, but it unfroze again within a few seconds.

EDIT: While working in some problem files, I've gotten roughly 10 freezes so far today. Each time it unfroze again without issue.

Is it possible to share one of those files? It would seem odd that specific files would cause the problem if they promptly start working later. Ideally I'd like to figure out the cause, because if it is happening 10 times a day that can still be annoying.

Another option would be for you to try running the plugin locally in debug via intellij. If you can debug the code when it occurs maybe it is possible to understand why it occurs.

@ShawnTheBeachy
Copy link
Contributor

Unfortunately those files are no longer in the state they were in that caused the hangs. If I get another file that does it, I'll send you a copy.

@belav
Copy link
Owner

belav commented Aug 25, 2023

If it seems to be the same files, it could be that there is a certain sequence of characters that is causing the issue. The plugin streams the file contents to the actual csharpier process, which then writes it back out formatted on std out. With some special characters as delimiters. It is on the list to redo this using something like protobuf + named pipes, but it was good enough for a first pass. I was also hoping that native AOT would become viable. The csharpier process stays running because starting it up is slow compared to the actual formatting of code. I tested out an AOT version of csharpier, and it formatted fast enough to not require leaving it running. As far as I know it isn't possible yet to distribute a dotnet tool.

shocklateboy92 pushed a commit that referenced this issue Aug 27, 2023
…start it. (#940)

* Only wait 3 seconds for csharpier to format, otherwise kill it and restart it.

closes #926

* Better desc for plugin on jetbrains site

* adding note about deprecation so it can be fixed later
@ShawnTheBeachy
Copy link
Contributor

ShawnTheBeachy commented Aug 30, 2023

@belav I have a file which I'm in the middle of refactoring and is freezing up on me frequently. There's no way I've found to reliably make it freeze, but it's happening pretty often. How shall I send you the file?

EDIT: Actually, I did find a way to make it freeze every time.

@belav
Copy link
Owner

belav commented Sep 1, 2023

@ShawnTheBeachy I don't suppose it is in a public repo? You can also just attach it to a comment, may have to zip it first.

@belav belav reopened this Sep 1, 2023
@ShawnTheBeachy
Copy link
Contributor

It's not public, no. I've uploaded a copy with the only change being to substitute "CorpName" for the company name in the file.
The way I was able to reproduce it reliably was to use Rider's "Convert to '?:' operator" context action on line 70, then position my cursor on line 69 (blank) and hit save. If I hit save without moving my cursor from line 70, it did not freeze. I'm not sure if line 69 was crucial to the freeze, or if just putting my cursor on any line other than 70 would have done it.

ProblemFile.zip

@belav
Copy link
Owner

belav commented Sep 8, 2023

@ShawnTheBeachy I was able to recreate this just by changing some text on line 71, I was worried I would have to go down the route of getting the file compile-able to use the "Convert to '?:' operator". I can produce it reliably so I'm hoping I can track down a proper fix. Thanks for sharing it!

@belav belav added this to the 0.26.0 milestone Sep 8, 2023
@belav
Copy link
Owner

belav commented Sep 10, 2023

The problem ended up being that the csharpier process was writing compilation errors to stderror. Nothing in the rider plugin was reading the error stream, so eventually it would hang. I was able to reproduce it with that file because without having the rest of the classes in the using statements, there were 26 compilations errors. Every other time I formatted it the error stream filled up and hung. The seemingly randomness of seeing it makes a lot more sense now.

I uploaded version 1.3.10 of the plugin, which will be available in a couple of days.

@lemaku
Copy link

lemaku commented Sep 19, 2023

I am using 1.3.10 of the plugin on MacOS 13.4 and Rider 2023.2. I am still running into the problem, where CSharpier causes Rider to freeze. Furthermore, when I try to format a file it fails and Rider provides me with the following stacktrace in the IDE internal errors window:

java.io.IOException: Stream closed
	at java.base/java.lang.ProcessBuilder$NullOutputStream.write(ProcessBuilder.java:445)
	at java.base/java.io.OutputStream.write(OutputStream.java:162)
	at java.base/java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:81)
	at java.base/java.io.BufferedOutputStream.flush(BufferedOutputStream.java:142)
	at java.base/sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:320)
	at java.base/sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:160)
	at java.base/java.io.OutputStreamWriter.flush(OutputStreamWriter.java:248)
	at com.intellij.csharpier.CSharpierProcessPipeMultipleFiles.lambda$formatFile$0(CSharpierProcessPipeMultipleFiles.java:60)
	at java.base/java.lang.Thread.run(Thread.java:833)

@belav
Copy link
Owner

belav commented Sep 27, 2023

@lemaku I ended up trying to code a fix before getting more info and probably should have started with getting more info, but either way I have some auto retry logic built in https://github.com/belav/csharpier/releases/tag/rider-1.3.11-beta1, which may help.

Some questions

@lemaku
Copy link

lemaku commented Oct 10, 2023

@belav Sorry for the late response. I ended up sticking to a different tool, but wanted to follow up on your questions:

  • Yes, it was happening for every file
  • No, it has not worked for me - although I can only talk about the specific version I mentioned earlier
  • I looked into the logs, but couldn't find anything that is useful in any way - sorry

@viniciuschiele
Copy link

viniciuschiele commented Nov 7, 2023

@belav I've just upgraded csharpier from v0.25.0 to v0.26.0 and Rider is frozen every time I save a file, rolling it back to v0.25.0 works just fine.

I also noticed that after installing the new version and restarting Rider, Rider requested access to a Network volume on my Mac (I don't recall exactly what was the message)

I'm using dotnet tool restore and dotnet-tools.json to install csharpier.

Mac: 14.0
Plugin: 1.3.10
Rider: 2023.2.3

Rider logs:

2023-11-07 10:01:53,453 [    911]   INFO - #c.i.d.DebugLogManager - Set DEBUG for the following categories: #com.intellij.csharpier.CSharpierLogger, com.intellij.csharpier.CSharpierLogger
2023-11-07 10:02:01,643 [   9101]   FINE - #c.i.c.CSharpierLogger - Ensure there is a csharpier process for /xxxxxxx/MyProject/src/Application/Wizards/Requests
2023-11-07 10:02:01,644 [   9102]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxxx/MyProject/src/Application/Wizards/Requests/.config/dotnet-tools.json
2023-11-07 10:02:01,644 [   9102]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxxx/MyProject/src/Application/Wizards/.config/dotnet-tools.json
2023-11-07 10:02:01,689 [   9147]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxxx/MyProject/src/Application/.config/dotnet-tools.json
2023-11-07 10:02:01,689 [   9147]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxxx/MyProject/src/.config/dotnet-tools.json
2023-11-07 10:02:01,689 [   9147]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxxx/MyProject/.config/dotnet-tools.json
2023-11-07 10:02:01,691 [   9149]   FINE - #c.i.c.CSharpierLogger - Found version 0.26.0 in /xxxxxxx/MyProject/.config/dotnet-tools.json
2023-11-07 10:02:01,698 [   9156]   FINE - #c.i.c.CSharpierLogger - Running /xxxxxxx/.cache/csharpier/0.26.0/dotnet-csharpier --version in /xxxxxxx/.cache/csharpier/0.26.0
2023-11-07 10:02:02,057 [   9515]   FINE - #c.i.c.CSharpierLogger - dotnet csharpier --version output: 0.26.0+70db9c7bf96bf143942bfa4c75efbf54aa3a0484
2023-11-07 10:02:02,147 [   9605]   FINE - #c.i.c.CSharpierLogger - Running dotnet tool install csharpier --version 0.26.0 --tool-path /xxxxxxx/.cache/csharpier/0.26.0
2023-11-07 10:02:08,675 [  16133]   FINE - #c.i.c.CSharpierLogger - Adding new version 0.26.0 process for /xxxxxxx/MyProject/src/Application/Wizards/Requests
2023-11-07 10:02:08,685 [  16143]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:11,687 [  19145]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:11,700 [  19158]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:14,700 [  22158]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:14,708 [  22166]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:17,713 [  25171]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:17,717 [  25175]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:20,723 [  28181]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:20,731 [  28189]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:23,733 [  31191]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:23,738 [  31196]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:24,758 [  32216]   FINE - #c.i.c.CSharpierLogger - SaveDocumentAction for DocumentImpl[file:///xxxxxxx/MyProject/src/Application/Wizards/Requests/GetWizardHandler.cs]
2023-11-07 10:02:26,740 [  34198]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:26,744 [  34202]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:29,748 [  37206]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:29,753 [  37211]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:32,758 [  40216]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:32,762 [  40220]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:35,767 [  43225]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:35,772 [  43230]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:38,777 [  46235]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:38,782 [  46240]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:41,785 [  49243]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:41,790 [  49248]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:44,795 [  52253]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:44,799 [  52257]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:47,804 [  55262]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:47,810 [  55268]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:50,814 [  58272]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:50,820 [  58278]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:53,824 [  61282]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:53,829 [  61287]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:56,831 [  64289]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:56,836 [  64294]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:02:59,846 [  67304]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:02:59,851 [  67309]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-07 10:03:03,546 [  71004]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-07 10:03:03,552 [  71010]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format```

Thanks

@belav
Copy link
Owner

belav commented Nov 7, 2023

@viniciuschiele I didn't recreate this exactly, but that could be because I am running on windows. With windows it is not reformatting files, and the dotnet-csharpier process appears to be failing to start with the following. I found this in the event viewer in windows, not sure what the mac equivalent would be.

Path: C:\Users\bela\AppData\Local\CSharpier\0.26.0\dotnet-csharpier.exe
Message: A fatal error was encountered. The library 'hostpolicy.dll' required to execute the application was not found in 'C:\Program Files\dotnet\'.
Failed to run as a self-contained app.
  - The application was run as a self-contained app because 'C:\Users\bela\AppData\Local\CSharpier\0.26.0\.store\csharpier\0.26.0\csharpier\0.26.0\tools\net8.0\any\dotnet-csharpier.runtimeconfig.json' was not found.
  - If this should be a framework-dependent app, add the 'C:\Users\bela\AppData\Local\CSharpier\0.26.0\.store\csharpier\0.26.0\csharpier\0.26.0\tools\net8.0\any\dotnet-csharpier.runtimeconfig.json' file and specify the appropriate framework.

@belav
Copy link
Owner

belav commented Nov 7, 2023

actually, that appeared to be a failed install of the 0.26.0 version. wiping out my C:\Users\bela\AppData\Local\CSharpier\0.26.0\ folder after closing rider, and restarting fixed that problem for me.

You can see if doing the same for /xxxxxxx/.cache/csharpier/0.26.0 works.

Otherwise I was thinking the problem could be related to the new editorconfig support. Do you have any editorconfig files in your solution? What about any .csharpierrc files?

@riandrake
Copy link

Hi, I'm experiencing the issue exactly as @viniciuschiele describes - also Mac, also the Network volume prompt.

I can confirm that deleting my local .editorconfig stopped Rider from freezing.

This is my first attempt at getting CSharpier working in our project, so I can't say anything about previous versions. But it froze 100% of the time I saved a file in Rider until I deleted the editor config.

@belav
Copy link
Owner

belav commented Nov 9, 2023

@riandrake if your editorconfig had duplicated sections, then I do have a fix coming out shortly. See #989 (comment)

@viniciuschiele
Copy link

viniciuschiele commented Nov 9, 2023

I'm not using .editorconfig, I only have .csharpierrc.yaml

.csharpierrc.yaml contains only one line: printWidth: 120

I deleted the folder ~/.cache/csharpier and tried version 0.26.1, it didn't work for me.

@belav Rider freezes when I type anything in a .cs file.

@belav
Copy link
Owner

belav commented Nov 9, 2023

@viniciuschiele if you try a new project with the same .csharpierrc.yaml do you get the same issue?
Do you know if the csharpier process is crashing when this happens? Right now rider assumes it is hung after waiting a few seconds for a response, but if it is crashing immediately then it must be throwing some kind of an exception.

The reason it freezes on typing is because behind the scenes the plugin tries to ensure csharpier is ready to format a file when you do hit save. When I added the logic to detect a hung csharpier I neglected to add a bail condition, so it gets stuck in a loop right now.

I created #995 yesterday to try to improve the situation when the csharpier process is crashing. And I have a few other issues on the 0.26.0 milestone around improvements to the extensions that I'm hoping to get to next. I'll be out of town for a long weekend starting tonight so you may be stuck on 0.25.0 for a bit.

@viniciuschiele
Copy link

@belav I tried a new project with/without .csharpierrc.yaml, same issue.

The process dotnet-csharpier keeps crashing every few seconds.

@jstaro
Copy link

jstaro commented Nov 15, 2023

FWIW, people using macOS on our team encountered this same issue on v0.26.1, using .editorconfig. It works fine on Windows 11, though.

@MonstraG
Copy link

Just updated from 0.25.0 to 0.26.2, my logs are full of

2023-11-16 09:49:55,079 [  88663]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-16 09:49:58,082 [  91666]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-16 09:50:01,085 [  94669]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-16 09:50:04,087 [  97671]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-16 09:50:07,090 [ 100674]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-16 09:50:10,093 [ 103677]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.

@belav
Copy link
Owner

belav commented Nov 19, 2023

I believe there are two possible causes for the issues with freezing, both of which appeared on an older install of windows I switched to because I was having trouble compiling the rider extension on my fresh install.

  1. When the plugin installs csharpier to the custom location, sometimes that install doesn't complete correctly. I have some code that tries to detect this and reinstall it, but I ran into a different type of install failure
  2. If someone has an older preview version of net8 installed, but not at least the version of net8 used to build csharpier, then csharpier will fail to run. It appears that from a custom location it always tries to use the latest dotnet sdk, and I'm not sure if there is a good way to get it to respect a global.json if there is one in the project.

As a resolution

  1. Close IDEs
  2. Try running C:\Users\[UserName]\AppData\Local\CSharpier\[CSharpierVersion]\dotnet-csharpier --version or $Home/.cache/csharpier/[CSharpierVersion]/dotnet-csharpier --version. CSharpierVersion may contain a git hash.
  3. If that fails because of a missing net8 sdk install that
  4. If that fails in another way wipe out the folder
  5. Run dotnet tool install csharpier --version [CSharpierVersion] --tool-path [PathFromAbove] - where [PathFromAbove] does not include dotnet-csharpier
  6. Check step 1 again

I'm modifiying all of the extensions to detect these conditions and supply an error message that will allow users to resolve the problem.

@MonstraG
Copy link

If I don't forget, I'll try that, but for additional info: I'm on linux and I did not update to .Net 8 yet, still on .net 7

@viniciuschiele
Copy link

I also don't have dotnet8 installed.

I did all the steps above.

~/.cache/csharpier/0.26.2/dotnet-csharpier --version didn't fail, it returns 0.26.2+d01362adf9f5163f0bda787a0e60888f12922fb9.

Anyway, I wiped out the folder ~/.cache/csharpier and installed it again by running dotnet tool install csharpier --version 0.26.2 --tool-path ~/.cache/csharpier/0.26.2.

The issue still persists.

@belav
Copy link
Owner

belav commented Nov 20, 2023

I didn't have time to fully test this but the new 1.5.0-beta2 version will do a better job of logging and reporting failures starting CSharpier. Also if you do get the popup with a read more link, I didn't get a chance to finish up that troubleshooting page.

@viniciuschiele I'm curious if this will show the reason why the plugin is unable to run CSharpier for you.

@viniciuschiele
Copy link

@belav I wasn't aware of the plugin beta versions.

I tried 1.5.0-beta2 and 1.3.11-beta1, both versions fix the issue, Rider no longer freezes.

I rolled back to version 1.3.10 just to be sure and the issue came back.

@viniciuschiele
Copy link

These are the logs from version 1.5.0-beta2, I can still see the log CSharpier process appears to be hung, restarting it. but Rider doesn't freeze and the formatting just works fine.

2023-11-21 10:00:05,377 [    846]   INFO - #c.i.d.DebugLogManager - Set DEBUG for the following categories: #com.intellij.csharpier.CSharpierLogger, com.intellij.csharpier.CSharpierLogger
2023-11-21 10:00:14,355 [   9824]   FINE - #c.i.c.CSharpierLogger - Ensure there is a csharpier process for /xxxxxx/src/MyApi/Controllers
2023-11-21 10:00:14,356 [   9825]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxx/src/MyApi/Controllers/.config/dotnet-tools.json
2023-11-21 10:00:14,408 [   9877]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxx/src/MyApi/.config/dotnet-tools.json
2023-11-21 10:00:14,409 [   9878]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxx/src/.config/dotnet-tools.json
2023-11-21 10:00:14,409 [   9878]   FINE - #c.i.c.CSharpierLogger - Looking for /xxxxxx/.config/dotnet-tools.json
2023-11-21 10:00:14,410 [   9879]   FINE - #c.i.c.CSharpierLogger - Found version 0.26.2 in /xxxxxx/.config/dotnet-tools.json
2023-11-21 10:00:14,419 [   9888]   FINE - #c.i.c.CSharpierLogger - Running /Users/vinicius/.cache/csharpier/0.26.2/dotnet-csharpier --version in /Users/vinicius/.cache/csharpier/0.26.2
2023-11-21 10:00:14,820 [  10289]   FINE - #c.i.c.CSharpierLogger - dotnet csharpier --version output: 0.26.2+d01362adf9f5163f0bda787a0e60888f12922fb9
2023-11-21 10:00:14,820 [  10289]   FINE - #c.i.c.CSharpierLogger - CSharpier at /Users/vinicius/.cache/csharpier/0.26.2 already exists
2023-11-21 10:00:14,820 [  10289]   FINE - #c.i.c.CSharpierLogger - Adding new version 0.26.2 process for /xxxxxx/src/MyApi/Controllers
2023-11-21 10:00:14,828 [  10297]   FINE - #c.i.c.CSharpierLogger - Warm CSharpier with initial format
2023-11-21 10:00:17,830 [  13299]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-21 10:00:20,842 [  16311]   WARN - #c.i.c.CSharpierLogger - CSharpier process appears to be hung, restarting it.
2023-11-21 10:00:30,462 [  25931]   FINE - #c.i.c.CSharpierLogger - Ensure there is a csharpier process for /xxxxxx/src/MyApi/Controllers
2023-11-21 10:00:31,863 [  27332]   FINE - #c.i.c.CSharpierLogger - SaveDocumentAction for DocumentImpl[file:///xxxxxx/src/MyApi/Controllers/TokenController.cs]
2023-11-21 10:00:31,864 [  27333]   INFO - #c.i.c.CSharpierLogger - Formatting started for /xxxxxx/src/MyApi/Controllers/TokenController.cs.
2023-11-21 10:00:32,269 [  27738]   INFO - #c.i.c.CSharpierLogger - Formatted in 404ms

belav added a commit that referenced this issue Nov 21, 2023
belav added a commit that referenced this issue Nov 26, 2023
belav added a commit that referenced this issue Nov 28, 2023
…ier (#1032)

* Working on rider issues

#926

* Updating doc

* formatting files

* some cleanup

* limit to compatible versions
@belav belav modified the milestones: 0.26.3, 0.26.4 Nov 29, 2023
@belav
Copy link
Owner

belav commented Dec 2, 2023

I released 1.5.0 last week which I believe has resoled this issue.

@belav belav closed this as completed Dec 2, 2023
@viniciuschiele
Copy link

Yes, it is working now. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:rider type:bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

9 participants