syslog errors

14 views
Skip to first unread message

Michael Gardner

unread,
Feb 2, 2026, 3:26:57 PM (3 days ago) Feb 2
to DigiPi
I'm seeing these errors - how can a fresh install of digipi have syntax errors in the code?
mgg

Feb 02 20:19:40 digipi direwolf.tnc.sh[977]: + /home/pi/direwatch.py -o --save /run/direwatch.png --log /run/direwolf.log --title_text 'DigiPi TNC' --lat 40.9999 --lon -120.9999 --display st7789
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]: /home/pi/direwatch.py:403: SyntaxWarning: invalid escape sequence '\['
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]:   search = re.search("^\[\d\.*\d*\] (.*)", line)
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]: /home/pi/direwatch.py:418: SyntaxWarning: invalid escape sequence '\['
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]:   search = re.search("^\[\d\.*\d*\] ([a-zA-Z0-9-]*)", line)      # snag callsign from unsupported packet
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]: /home/pi/direwatch.py:520: SyntaxWarning: invalid escape sequence '\['
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]:   search = re.search("^\[\d\.*\d*\] (.*)", line)
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]: /home/pi/direwatch.py:542: SyntaxWarning: invalid escape sequence '\['
Feb 02 20:19:40 digipi direwolf.tnc.sh[977]:   search = re.search("^\[\d\.*\d*\] ([a-zA-Z0-9-]*)", line)
Feb 02 20:19:41 digipi direwolf.tnc.sh[925]: + sudo rfcomm --raw watch /dev/rfcomm0 1 socat -d -d tcp4:127.0.0.1:8001 /dev/rfcomm0

Craig

unread,
Feb 3, 2026, 10:07:29 AM (3 days ago) Feb 3
to Michael Gardner, DigiPi
Thanks for noticing Michael,  those are warnings, not errors indicating that syntax will
be deprecated in future versions of python.  That's my code, I'll adapt to their changes.

-craig
KM6LYW
--
You received this message because you are subscribed to the Google Groups "DigiPi" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digipi+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digipi/db82196b-cd34-4ca9-98d5-bde48b8059b5n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages