-
Notifications
You must be signed in to change notification settings - Fork 8
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
Fix permissions instructions #38
Conversation
One subtle issue is that when printing the exception, line breaks were being inserted according to the terminal width. To avoid this, I broke the command into short lines. The error now reads: ``` UsbDeviceError: You do not have sufficient access to the device. You probably want to add the a udev rule in /etc/udev/rules.d with the following command: echo 'ACTION=="add",'\ 'SUBSYSTEMS=="usb",'\ 'ATTRS{idVendor}=="0922",'\ 'ATTRS{idProduct}=="1001",'\ 'MODE="0666"' \ | sudo tee /etc/udev/rules.d/91-labelle-0922-1001.rules Next, refresh udev with: sudo udevadm control --reload-rules sudo udevadm trigger --attr-match=idVendor="0922" Finally, turn your device off and back on again to activate the new permissions. If this still does not resolve the problem, you might need to reboot. In case rebooting is necessary, please report this at <labelle-org#6>. We are still trying to figure out a simple procedure which works for everyone. In case you still cannot connect, or if you have any information or ideas, please post them at that link. ```
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
@tomers, would you like to cut a patch release for this? |
@maresb, I tried creating a new release, and failed: https://github.com/labelle-org/labelle/actions/runs/8914282659 Please advise how to resolve the relase issue. |
Hi @tomers, I think I see the issue. You tagged the release as That corresponds to the error message: You could try editing the release and changing the tag to Just in case you run into trouble with "Generate release notes" after deleting the current release, I've copied it below for safety: This is mainly a maintenance relase, with no new-features. What's ChangedMaintenance
Full Changelog: v1.2.1...1.2.2 |
sudo udevadm control --reload-rules | ||
sudo udevadm trigger --attr-match=idVendor="0922" | ||
sudo udevadm control --reload-rules | ||
sudo udevadm trigger --attr-match=idVendor="0922" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is sudo udevadm trigger
not sufficient?
This fixes the issue pointed out in #4 (comment)