-
-
Notifications
You must be signed in to change notification settings - Fork 7k
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
--verify with relative filename does not work #5836
Labels
Comments
facchinm
added
Type: Bug
Type: Regression
Something that used to work and now doesn't
labels
Jan 11, 2017
Can confirm that this is a problem in 1.8.0 and 1.8.1 on Debian Jessie and Ubuntu 16.04, that it breaks |
cmaglie
added a commit
to cmaglie/Arduino
that referenced
this issue
Jan 19, 2017
cmaglie
added a commit
to cmaglie/Arduino
that referenced
this issue
Jan 19, 2017
cmaglie
added a commit
that referenced
this issue
Jan 23, 2017
cmaglie
added a commit
that referenced
this issue
Jan 23, 2017
gyungdal
added a commit
to gyungdal/Flow-measurement
that referenced
this issue
May 25, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems that specifying a relative filename to the sketch does not work with
--verify
. I suspect this worked before and was broken in the recent refactor to remove GUI dependencies from the CLI invocation.To reproduce, just call arduino with a plain filename (it does not matter if the file/sketch exists or not), like:
Note that the above has the following patch applied, since the
--verify
handling code currently eats up exceptions without showing them (which also makes things fail without error when a full path to a non-existent sketch is passed). This should also be fixed.Furthermore, passing a full filename works:
Without
--verify
, a relative pathname works as expected and loads the sketch in the GUI without complaints:The text was updated successfully, but these errors were encountered: