Skip to content
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

Error in command line tool and linux issues #73

Open
StefanUlbrich opened this issue Nov 22, 2020 · 6 comments
Open

Error in command line tool and linux issues #73

StefanUlbrich opened this issue Nov 22, 2020 · 6 comments

Comments

@StefanUlbrich
Copy link

StefanUlbrich commented Nov 22, 2020

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

@7samurai
Copy link

I also ran into the issue with the line endings, with an fresh raspi
/usr/bin/env: „python\r“:

@PureTryOut
Copy link
Contributor

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.

@mgutierrezp
Copy link

Hi. Adding to the above, pyusb must also be installed as a dependency

@PureTryOut
Copy link
Contributor

@arvydas just to make sure this gets seen, please make sure the pypi package has unix file endings when you tag a new release.

@arvydas
Copy link
Owner

arvydas commented May 4, 2023

@PureTryOut Absolutelty! Top priority :)

@geerlingguy
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants