Skip to content

After permission denied error on serial port, still says "uploading" and "done uploading" #2286

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

Open
3 tasks done
php4fan opened this issue Nov 19, 2023 · 2 comments
Open
3 tasks done
Labels
type: imperfection Perceived defect in any part of project

Comments

@php4fan
Copy link

php4fan commented Nov 19, 2023

Describe the problem

I have connected a Sparkfun ESP8266 Thing Dev board, which apparently is connected to /dev/ttyUSB0.

The documentation says you need to add yourself to the dialout group (and then log out and log in). I tried that, but I got an error saying the dialout group doesn't exist. In other forums I read you need to belong to the group tty, so I tried that and logged out and in.

Still, I get the permission denied error when uploading a sketch. But this report is not about the error per se, it's about the fact that I get the permission denied error in the console, and yet, after that, I also get a progress bar on the bottom right that says "Uploading" and lasts for several seconds, and after that, a balloon that says "Done uploading", with an "i" icon and no error sign, which looks exactly like it has successfully finished uploading. And the sketch definitely hasn't been uploaded.

To reproduce

Upload a sketch

Expected behavior

Either there is an error writing to the port or there isn't.

If there is an error (e.g. Permission Denied), then I should see the error message, and I should not see a message that says "Done uploading".

If I see a message at the very end that says "Done uploading", then it should mean that it has succesfully uploaded the sketch.

Arduino IDE version

2.2.1

Operating system

Linux

Operating system version

Manjaro Linux

Additional context

No response

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details
@php4fan php4fan added the type: imperfection Perceived defect in any part of project label Nov 19, 2023
@Nick-Norton
Copy link

Does the permission group for dialout exist for the Manjaro Distro (awesome of course).
For an Arch based distro, maybe sudo usermod -a -G uucp $USER might work?
I'm no IT professional, just a dumb user.

@php4fan
Copy link
Author

php4fan commented Nov 21, 2023

For an Arch based distro, maybe sudo usermod -a -G uucp $USER might work?

Indeed, that worked and should be added to the documentation.
However, as I said, this report is about the inconsistency between the permission error being shown and the popup still saying "uploading" and "upload done"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: imperfection Perceived defect in any part of project
Projects
None yet
Development

No branches or pull requests

2 participants