开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

FIX setDaemon() is deprecated


 

Hi:
Received this message:
/usr/bin/python3.10 /home/dratsrepeater/D-Rats/d-rats_repeater.py -C
/home/dratsrepeater/D-Rats/d-rats_repeater.py:426: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
? self.repeat_thread.setDaemon(True)

Looking at Google got a clue. I replaced as shows below.

Line 426 d-rats_repeater.py?
self.repeat_thread.Daemon=True

Here deprecation warning now gone. Please verify.

73'

Edfel
KP4AJ


 

On 7/31/2023 10:19 AM, Edfel Rivera wrote:
Hi:
Received this message:
/usr/bin/python3.10 /home/dratsrepeater/D-Rats/d-rats_repeater.py -C
/home/dratsrepeater/D-Rats/d-rats_repeater.py:426: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
self.repeat_thread.setDaemon(True)
If you had looked at the ticket queue link that I posted earlier:



And put setDaemon in the filter, it would show that it is both a known issue and it is fixed in the master branch.

A new release was not made as this is a minor console log noise bug.

73,
-John