Hi there, I am developing a mobile solution using BLE. Actually I use a sniffer based in IC nRF51822 and Wireshark + nrf sniffer as a tool for traffic capture. Sometimes, the capture works sucessfully, but frequently have a exception in python script used behind Wireshark.
Below, I show the console verbose when run Wireshark on linux:
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
File "/usr/lib/x86_64-linux-gnu/wireshark/extcap/SnifferAPI/Logger.py", line 183, in run
File "/usr/lib/x86_64-linux-gnu/wireshark/extcap/SnifferAPI/Logger.py", line 186, in doFlush
File "/usr/lib/python2.7/logging/__init__.py", line 849, in flush
File "/usr/lib/python2.7/logging/__init__.py", line 715, in acquire
File "/usr/lib/python2.7/threading.py", line 168, in acquire
: 'NoneType' object is not callable
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Sniffer: Adafruit Bluefruit LE Friend nRF51822.
System: Debian Stretch
Python 2.7.16
Wireshark 2.6.7
nRF Sniffer 2.0.0
At this point of capture, wireshark freezes and /dev/ttyUSBx disappears from filesystem.
Testing the same procedure on Windows presents the same behavior but no console verbose is possible to obtain.
I guess that a cause of this is a version of python (2.7.16) or pyserial-3.4.
Someone have the same situation? Or can suggest any diagnostic or procedure to test an solve this issue?
Regards,
Sergio Lopez