blinkstick-python icon indicating copy to clipboard operation
blinkstick-python copied to clipboard

Error in command line tool and linux issues

Open StefanUlbrich opened this issue 4 years ago • 6 comments

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

StefanUlbrich avatar Nov 22 '20 16:11 StefanUlbrich

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

7samurai avatar Dec 20 '20 09:12 7samurai

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.

PureTryOut avatar May 04 '22 11:05 PureTryOut

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

mgutierrezp avatar Aug 01 '22 15:08 mgutierrezp

@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 avatar May 04 '23 09:05 PureTryOut

@PureTryOut Absolutelty! Top priority :)

arvydas avatar May 04 '23 11:05 arvydas

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!

geerlingguy avatar Jul 21 '23 23:07 geerlingguy