Closed kb1lqc closed 6 years ago
Interesting! It appears that this error doesn't exist anymore. Possibly fixed it with the unit test fixes in #45. When running faradayio-cli
as a non-sudo user the program exits as expected printing just error code.
(.venv) bryce@bryce-ubuntu:~/Documents/git/faradayio$ faradayio-cli KB1LQC 1
Executing faradayio-cli version 0.0.1
[Errno 1] Operation not permitted
TUN brought down...
This is being performed in the faradayio-cli
project per https://github.com/FaradayRF/faradayio-cli/issues/15. Closing this ticket.
This still exists. Just caught this when releasing the faradayio-cli==0.0.1
code:
bryce@bryce-ubuntu:~/Documents/git/faradayio-cli$ .venv/bin/faradayio-cli KB1LQC 1
Executing faradayio-cli version 0.0.1
Warning! faradayio-cli must be run with sudo privileges!
[Errno 1] Operation not permitted
Exception ignored in: <bound method TunnelServer.__del__ of <faradayio.faraday.TunnelServer object at 0x7f85bc6440b8>>
Traceback (most recent call last):
File "/home/bryce/Documents/git/faradayio-cli/.venv/lib/python3.5/site-packages/faradayio/faraday.py", line 114, in __del__
self._tun.down()
AttributeError: 'TunnelServer' object has no attribute '_tun'
Hmm odd I can't reproduce this now. Closing until I reproduce it and then I must immediately investigate.
When running the
faradayio-cli
program testing https://github.com/FaradayRF/faradayio-cli/issues/8 it was discovered that there is anAttributeError
when the user does not usesudo
. This should be caught per the error message below.