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

Something really wrong with send script? #44

Open
dachshund-digital opened this issue Apr 4, 2019 · 0 comments
Open

Something really wrong with send script? #44

dachshund-digital opened this issue Apr 4, 2019 · 0 comments

Comments

@dachshund-digital
Copy link

Something really wrong with send script, tried

python3 Send.py -p 1 -t 1 1111111

/usr/local/lib/python3.5/dist-packages/rpi_rf/rpi_rf.py:77: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.gpio, GPIO.OUT)
2019-04-04 19:57:37 - [INFO] Send: 1111111 [protocol: 1, pulselength: 1, length: default, repeat: 10]
Traceback (most recent call last):
File "Send.py", line 49, in
rfdevice.tx_code(args.code, args.protocol, args.pulselength, args.length)
TypeError: tx_code() takes from 2 to 4 positional arguments but 5 were given

Not only does send script not handle cleanup on error correctly, as noted with the warning above, but the send script fails completely. Please fix your code.

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

1 participant