-
-
Notifications
You must be signed in to change notification settings - Fork 443
Arduino says sketch should be in subdirectory called ProffieOS, which it already is. #2268
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
Hi @profezzorn. Thanks for your report. I note the |
/net/ is in fact a normal directory in this case, it's not a magic NFS mount or anything. |
These are the files/folders under the ProffieOS directory with the problem: blades/ None of these seems to have "meaningful" names to me. |
The problem seems to be a file called |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
I have a similar problem with IDE 2.2.1 on Windows. In my case, I had to remove a sub-folder containing test sketches. It looks like the IDE is trying to recursively open sketches and complains if it finds extra INO files. Have you looked at your scripts directory for such things? It also seems to fail when there's a simlink in the directory. Note that neither of these issues arise when using the CLI. |
FWIW, On MacOS I see a similar problem when I had invalid softlinks in the project directory (the IDE 2.3.2 wanted to move To reproduce I can do:
in
showed an error message like:
so I guess some part of the code scans the directory and fails when a softlink points to 'nowwhere' and leads to a confusing error message. |
Describe the problem
I have a file called "ProffieOS.ino". It is in a directory called "ProffieOS".
I run the arduno 2.2.1 app image and regardless of how I try to open this ino file, it complains that it needs to be in a subdirectory called "ProffieOS", then offers to move the file, which would mess up all my include paths.
It seems unlikely that this would happen to everybody all the time, but I haven't found an easy way to figure out why Arduino thinks that my ProffieOS folder isn't named ProffieOS.
I think there must be a file inside my ProffieOS directory which is confusing Arduino, because when I download a fresh copy of ProffieOS Arduino seems to open it just fine. However, if that is the case, then Arduino should just say so.
To reproduce
arduino-ide_2.2.1_LInux_64bit.AppImage ProffieOS/ProffieOS.ino
Expected behavior
Arduino should recognize that the sketch is already in a directory with the right name.
Arduino IDE version
2.2.1
Operating system
Linux
Operating system version
Ubuntu 20.05.5 LTS
Additional context
The full path name for my ProffieOS folder is /net/cytocin/home/hubbe/hack/teensy/lightsaber/ProffieOS
Issue checklist
The text was updated successfully, but these errors were encountered: