Parent sketch directory not recognized when given relative path. Workaround.
- Dominant language
- Java
- Stars
- 14.6k
- Forks
- 7k
- PR merge metrics
- No merged PRs in 30d
Description
Path "/home/user/sketch/sketch.ino" is accepted. Path "./sketch.ino" results in an error, as the sketch is not recognized to reside in parent directory "sketch".
Translating all paths to absolute does work, as demonstrated by the linked script.
https://github.com/mirage335/arduinoUbiquitous/blob/master/_prog/core.sh#L109
Contributor guide
Research direction
Start by reproducing the difference between the absolute path "/home/user/sketch/sketch.ino" and the relative path "./sketch.ino", then inspect the sketch path handling in the Arduino IDE. Compare the behavior with the linked core.sh workaround; done means a relative sketch path is recognized in its parent directory without requiring path translation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100