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

usb-ser-mon.py not found #3

Open
okyeron opened this issue Jul 28, 2018 · 3 comments
Open

usb-ser-mon.py not found #3

okyeron opened this issue Jul 28, 2018 · 3 comments

Comments

@okyeron
Copy link

okyeron commented Jul 28, 2018

I believe I followed the install directions but I'm not able to run usb-ser-mon.py

This is on Raspbian 4.14.24-v7

~/usb-ser-mon $ ./usb-ser-mon.py -l
bash: ./usb-ser-mon.py: No such file or directory
~/usb-ser-mon $ ls
LICENSE  Makefile  MANIFEST.in  README.md  setup.cfg  setup.py  tox.ini  usb_ser_mon
@dhylands
Copy link
Owner

Usb-ser-mon got packaged recently. You should find usb-ser-mon.py in the usb-ser-mon directory. So try ./usb-ser-mon/usb-ser-mon.py

@okyeron
Copy link
Author

okyeron commented Aug 1, 2018

Ok - except the directory as installed is ~/usb-ser-mon/usb_ser_mon and the file usb_ser_mon.py

Some big inconsistencies in dash vs underscore in the filenames (and readme)

@dhylands
Copy link
Owner

dhylands commented Aug 1, 2018

Sorry about the confusion. I tend to prefer using dashes in the filenames, but python doesn't like them. i.e. you can't import a python file with a dash in it. usb-ser-mon was one of my first big python projects and I had named it with dashes. The python files got renamed to use underscores so that they could be imported. I'll take another look at the docs and fix things up.

Thanks for bringing this to my attention.

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

2 participants