You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have experienced one issue in running dab compliance on the client device which connects after wifi failure .
I have added few log in dab_client.py to check
Testing on message Lock : <unlocked _thread.lock object at 0x7f17fd8172a0> Self : <dab_client.DabClient object at 0x7f17fd817310> Client: <paho.mqtt.client.Client object at 0x7f17fd8170a0>
Lock is False
Reponse {'status': 200}
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
rc = self._loop(timeout)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1164, in _loop
rc = self.loop_read()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1556, in loop_read
rc = self._packet_read()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
rc = self._packet_handle()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3033, in _packet_handle
return self._handle_publish()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3327, in _handle_publish
self._handle_on_message(message)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
on_message(self, self._userdata, message)
File "/media/pkumar/SSD/DAB/latest_dab/dab-compliance-suite/dab_client.py", line 20, in __on_message
self.__lock.release()
RuntimeError: release unlocked lock
App started?(Y/N)
As for log traces I found self.__lock.release() is called mulitple times
Hi ,
I have experienced one issue in running dab compliance on the client device which connects after wifi failure .
I have added few log in dab_client.py to check
Testing on message Lock : <unlocked _thread.lock object at 0x7f17fd8172a0> Self : <dab_client.DabClient object at 0x7f17fd817310> Client: <paho.mqtt.client.Client object at 0x7f17fd8170a0>
Lock is False
Reponse {'status': 200}
Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3591, in _thread_main
self.loop_forever(retry_first_connection=True)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1756, in loop_forever
rc = self._loop(timeout)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1164, in _loop
rc = self.loop_read()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1556, in loop_read
rc = self._packet_read()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2439, in _packet_read
rc = self._packet_handle()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3033, in _packet_handle
return self._handle_publish()
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3327, in _handle_publish
self._handle_on_message(message)
File "/home/pkumar/.local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3570, in _handle_on_message
on_message(self, self._userdata, message)
File "/media/pkumar/SSD/DAB/latest_dab/dab-compliance-suite/dab_client.py", line 20, in __on_message
self.__lock.release()
RuntimeError: release unlocked lock
App started?(Y/N)
As for log traces I found self.__lock.release() is called mulitple times
Is this a known issue from DAB suite or Paho Mqtt client library ?
I have tried like this ,but it spawn another issue in Dab Compliance
if(self.__lock.locked()):
self.__lock.release()
The text was updated successfully, but these errors were encountered: