-
-
Notifications
You must be signed in to change notification settings - Fork 431
Occasional "Unable to watch for file changes in this large workspace" warnings #39
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
Comments
Upstream issue: eclipse-theia/theia#9117 |
I also stumbled upon this very same error with Blink and other couple of examples opened. I was puzzled by the link, to another platform and apparently unrelated. |
I also have this error. Windows 10 |
Closed because unable to reproduce |
I reproduced this yesterday on the daily build 20220205 But again unclear of steps to reproduce. I believe I had two windows open and one sketch has lots of possible different |
Still happening when saving a temp sketch.
The problem is that the IDE2 could remain in a limbo state. The sketch was saved as expected: But IDE2 window fails to reload the URL to point to the new sketch location: I do not see any feasible solution for now but this: arduino-ide/arduino-ide-extension/src/browser/contributions/save-as-sketch.ts Lines 118 to 119 in 0d545be
|
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes arduino#39 Signed-off-by: Akos Kitta <[email protected]>
- From now on, NSFW service disposes after last reference is removed. No more 10sec delay. - Moved the temp workspace deletion to a startup task. - Can set initial task for the window from electron-main. - Removed the `browser-app`. Closes #39 Signed-off-by: Akos Kitta <[email protected]>
Hey, even in version 2.1.0 this error shows up on windows 11. |
Thank you for reporting it. Can you give us some details of what you did when this happened? |
Nothing Special, arduino ide was just open for 2 days and i was sleeping my laptop when i was about moving it to my work place. it happened exactly after the time i was wake my laptop from sleep. 3 different IDE windows was open and the message was shown in all three windows at same time. after i click on the instruction button and the VSCode explanation about how to solve the problem on linux shows up. to be more percise cause i think it might be helpful. three IDE windows had a sum of around 6000 lines of code and a total number of 10 different libraries. thats all! |
Helpful info. Thanks!
The notification you see is a false-positive warning and does not concern workspace size. eclipse-theia/theia#9117 I will keep an eye on this problem and will open a follow-up issue. Probably, the root cause is the OS sleep. |
I have been consistently encountering this error, I'm using v2.1.1, and on more than one occasion it has resulted in the blank screen (presumably related to the aforementioned temp directory problem) and this has resulted in my losing work. I'm not sure if its relevant, but it seems to be more frequent when I open a library example from the File menu. Additionally, the recent files list has not been updating itself like I would expect. I understand this is an upstream issue, and there's not currently much that can be done on this end, but I did want to express one concern: there are several instances where this error has been reported on the Arduino forums, and the usual response has been to cite the upstream issue and users are being told it does not impact usual functions. As I mentioned, I have lost work due to this problem, and I think it would be helpful if users are told how to avoid scenarios that might result in their working on a file that's being stored in a temp directory (like editing library examples), and--while it shouldn't be necessary, people are people--remind users to save sketches frequently. Hope the upstream issue is resolved soon. Many thanks to all the devs contributing to this project! |
I observed the same behavior today. Two out of four editors with examples opened directly from Why is this issue closed if the bug is not solved? EDIT: OS: 6.1.46-gentoo-x86_64 |
I occasionally get this warning from a new, bare minimum sketch:
There doesn't seem to be any pattern to when I get it. I have a nearly empty sketchbook with only one library installed.
The linked instructions are certainly nothing a beginner would enjoy being exposed to:
https://code.visualstudio.com/docs/setup/linux#_visual-studio-code-is-unable-to-watch-for-file-changes-in-this-large-workspace-error-enospc
It seems like this is a spurious warning and not a good user experience, especially for a beginner who won’t understand how to interpret it and may treat it as a “red herring” for completely unrelated problems they are having (example).
Arduino IDE version
Original report
Unknown
Last verified with
Operating system
Windows
Operating system version
10
Additional context
[ originally reported by @per1234 ]
The text was updated successfully, but these errors were encountered: