blinkstick-python
blinkstick-python copied to clipboard
Error in command line tool and linux issues
There is an unhandeld error when creating a udev rule. #72
Also,
- the script is is not executable when installed on linux, (
chmod u+x
) - It has windows line endings so that it cannot be executed on Ubuntu 20.04 (needed to correct that in vim)
I have no clue how to handle those two issues in git
I also ran into the issue with the line endings, with an fresh raspi /usr/bin/env: „python\r“:
Only the Pypi package has this issue (the git repo has the correct line-endings), but yes it uses Dos line-endings rather than Unix ones and can thus not be excuted on macOS and Linux. dos2unix
"fixes" the issue but ideally a new Pypi package gets uploaded with this fixed properly.
Hi. Adding to the above, pyusb must also be installed as a dependency
@arvydas just to make sure this gets seen, please make sure the pypi package has unix file endings when you tag a new release.
@PureTryOut Absolutelty! Top priority :)
Just ran into this today, it's been about 10 minutes of bumping into issues trying to get the pip package install working, I think I'll just clone the repo instead, hopefully that's easier!