`-m print` gives TypeError
scop opened this issue · 0 comments
scop commented
$ rflink --port /dev/ttyACM1 -m print
File "/home/scop/.pyenv/versions/python-rflink/bin/rflink", line 11, in <module>
load_entry_point('rflink', 'console_scripts', 'rflink')()
File "/home/scop/Documents/code/python-rflink/rflink/__main__.py", line 86, in main
transport, protocol = loop.run_until_complete(conn)
File "/home/scop/.pyenv/versions/3.8.0/lib/python3.8/asyncio/base_events.py", line 608, in run_until_complete
return future.result()
File "/home/scop/.pyenv/versions/3.8.0/lib/python3.8/asyncio/coroutines.py", line 124, in coro
res = func(*args, **kw)
File "/home/scop/.pyenv/versions/3.8.0/envs/python-rflink/lib/python3.8/site-packages/serial_asyncio/__init__.py", line 411, in create_serial_connection
protocol = protocol_factory()
File "/home/scop/Documents/code/python-rflink/rflink/protocol.py", line 108, in __init__
super().__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'event_callback'