❯ python3 fzfs.py -a MACADDR -m /home/user/fzmount
Traceback (most recent call last):
File "/home/user/src/fzfs/fzfs.py", line 63, in <module>
main()
File "/home/user/src/fzfs/fzfs.py", line 42, in main
if not os.path.exists(args.serial_device):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen genericpath>", line 19, in exists
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
I tried the following to troubleshoot a bit
import serial
import serial.tools.list_ports
import serial_ble
bluetooth = serial_ble.BLESerial(MACADDR, '19ed82ae-ed21-4c9d-4145-228e61fe0000', '19ed82ae-ed21-4c9d-4145-228e62fe0000')
print(bluetooth)
which yielded the following
Traceback (most recent call last):
File "/home/user/src/fzfs/t.py", line 5, in <module>
print(bluetooth)
File "/home/user/.virtualenvs/fzfs/lib/python3.11/site-packages/serial/serialutil.py", line 532, in __repr__
'rtscts={p.rtscts!r}, dsrdtr={p.dsrdtr!r})'.format(
^^^^^^^
AttributeError: 'BLESerial' object has no attribute 'is_open'. Did you mean: 'isOpen'?
Using the cable with my FZ works fine.
Please let me know if there's anything I can try to help debug this.
I tried the following to troubleshoot a bit
which yielded the following
Using the cable with my FZ works fine.
Please let me know if there's anything I can try to help debug this.