-
Notifications
You must be signed in to change notification settings - Fork 51
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
Freezes since version 2.0 on Windows #284
Comments
Thanks for the report. I could not reproduce this issue on my machine. Can you provide a log file (you need to pass the |
Below is the output using texlab 2.2 with -vvvv option. The last message is generate approximately at a rate of 30000 messages per 30 seconds. Please note that the file opened is a different latex file than in the original post mentioned. The output of version 1.10 is normal and texlab works as expected unsing this version.
|
Thanks for the log file. Can you try removing the exclamation mark from the path and see if it works? There seems to be an error related with URL encoding on our side. Removing special characters from the path should be a workaround for now. |
I moved the .tex and the .aux to C:\Temp\tex\ but texlab 2.2 remained it's 100% CPU behaviour. Or were you talking about texlab.exe? Practically everything, including emacs and texlab.exe, is in "exclamation mark folders". |
Your information implied to me that the exclamation mark in a folder could be a problem in general. I changed that so these folders , including emacs, texlab and the texfile, now start with an underscore, I hope this is better. But even with that change and a reboot the problem remains. I'll stay on 1.10 until the problem is resolved. |
I have run into the same bug. Windows version: Windows 10 Home 2004 (19041.630) lsp-mode and flycheck Config: (use-package lsp-mode
:commands (lsp lsp-deferred)
:init
(setq lsp-keymap-prefix "C-c l")
:custom
(lsp-enable-snippet nil)
)
(use-package lsp-ivy :commands lsp-ivy-workspace-symbol)
(use-package lsp-ui
:custom
(lsp-ui-sideline-show-diagnostics nil)
:hook
(lsp-mode . lsp-ui-mode))
(use-package flycheck)
(use-package flycheck-posframe
:hook (flycheck-mode . flycheck-posframe-mode))
(use-package auctex
:mode
("\\.tex$" . LaTeX-mode)
:hook
(LaTeX-mode . (lambda ()
(turn-on-reftex)
(LaTeX-math-mode)
(flycheck-mode)
(lsp-deferred)))
:custom
(font-latex-fontify-sectioning 1.0)
(font-latex-fontify-script nil)
(reftex-plug-into-AUCTeX t)
(reftex-enable-partial-scans t)) And the path to .tex file does not contain any special characters (like "C:\Users\hmikisato\Projects\some-document\some-docukent.tex") |
Sorry for the long delay. Can you try the latest version of texlab (3.1.0), please? In the meantime, we updated the workspace analysis algorithm, which (hopefully) resolves this issue. For some people, it seems to reduce the CPU usage: #400 (comment). |
Yes, it works with 3.1 for me, just like 1.10 did until now. Thanks for tracking down the issue. |
Could you check if something broke the windows built since 2.0?
As soon as I edit a tex file emacs freezes and texlab takes 100% cpu forever when using the current 2.2 version. My intuition told me try lower than 2.0 and bingo it was working. Tried 2.0 and 2.1, same as 2.2.
TexDistro is Miktex, latest version. Emacs is
GNU Emacs 27.0.91 (build 1, x86_64-w64-mingw32) of 2020-04-20
on latest Win10,this config:
and this test document:
The text was updated successfully, but these errors were encountered: